mirror of
https://github.com/Artemis-RGB/Artemis
synced 2025-12-13 05:48:35 +00:00
Updated Keyboard (markdown)
parent
e06b9c4f57
commit
0ea21d9007
18
Keyboard.md
18
Keyboard.md
@ -1,18 +1,12 @@
|
||||
The Keyboard variable lets you interact with the currently active keyboard.
|
||||
|
||||
## Properties
|
||||
### Name
|
||||
Returns the name of the keyboard.
|
||||
|
||||
#### Example:
|
||||
```lua
|
||||
print("Current keyboard: ".. Keyboard.Name);
|
||||
```
|
||||
|
||||
#### Result:
|
||||
```
|
||||
Current keyboard: K95 RGB
|
||||
```
|
||||
| Name | Type | Description | Get | Set |
|
||||
|--------|--------|-----------------------------------------------------------------------------------------------|-----|-----|
|
||||
| Name | string | Returns or sets the name of the current keyboard. | Yes | No |
|
||||
| Slug | string | Returns or sets the slug (clean name) of the current keyboard. | Yes | No |
|
||||
| Width | int | Returns the width of the current keyboard, each column represents a column of real-life keys. | Yes | No |
|
||||
| Height | int | Returns the height of the current keyboard, each row represents a row of real-life keys. | Yes | No |
|
||||
|
||||
## Functions
|
||||
### PressKeys
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user