mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-12 11:56:30 +00:00
Updated Keyboard (markdown)
1 parent
e06b9c4f57
commit
0ea21d9007
1 file changed
+6
-12
+6
-12
@@ -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
|
||||||
|
|||||||
Reference in new issue
Block a user