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.
|
The Keyboard variable lets you interact with the currently active keyboard.
|
||||||
|
|
||||||
## Properties
|
## Properties
|
||||||
### Name
|
| Name | Type | Description | Get | Set |
|
||||||
Returns the name of the keyboard.
|
|--------|--------|-----------------------------------------------------------------------------------------------|-----|-----|
|
||||||
|
| Name | string | Returns or sets the name of the current keyboard. | Yes | No |
|
||||||
#### Example:
|
| Slug | string | Returns or sets the slug (clean name) of the current keyboard. | Yes | No |
|
||||||
```lua
|
| Width | int | Returns the width of the current keyboard, each column represents a column of real-life keys. | Yes | No |
|
||||||
print("Current keyboard: ".. Keyboard.Name);
|
| Height | int | Returns the height of the current keyboard, each row represents a row of real-life keys. | Yes | No |
|
||||||
```
|
|
||||||
|
|
||||||
#### Result:
|
|
||||||
```
|
|
||||||
Current keyboard: K95 RGB
|
|
||||||
```
|
|
||||||
|
|
||||||
## Functions
|
## Functions
|
||||||
### PressKeys
|
### PressKeys
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user