From 0ea21d900724cc45c757e5fc428e0202bc556998 Mon Sep 17 00:00:00 2001 From: Robert Beekman Date: Thu, 5 Jan 2017 11:42:50 +0100 Subject: [PATCH] Updated Keyboard (markdown) --- Keyboard.md | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/Keyboard.md b/Keyboard.md index 38f2327..626f1a6 100644 --- a/Keyboard.md +++ b/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