From 94eb44fd4a7642ce6cbbc76d55e7be91d2d1a4ee Mon Sep 17 00:00:00 2001 From: gamax92 Date: Sat, 31 May 2014 18:37:56 -0700 Subject: [PATCH] Fix link --- API-Keyboard.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/API-Keyboard.md b/API-Keyboard.md index e438112..3c39c69 100644 --- a/API-Keyboard.md +++ b/API-Keyboard.md @@ -1,6 +1,6 @@ This API allows you to refer to key codes by name, using the `keyboard.keys` table. This is a two-directional table, for example, the value of `keyboard.keys.numpad0` is `0x52`, and the value of `keyboard.keys[0x52]` is the string `numpad0`. -Please see [the Lua file containing the API's implementation](https://github.com/MightyPirates/OpenComputers/blob/master/src/main/resources/assets/opencomputers/lua/rom/lib/keyboard.lua) for the list of available names. +Please see [the Lua file containing the API's implementation](https://github.com/MightyPirates/OpenComputers/blob/master/src/main/resources/assets/opencomputers/loot/OpenOS/lib/keyboard.lua) for the list of available names. Additionally it registers event listeners to keep track of the state of individual keys. This internal state can be queried using the following functions: - `keyboard.isAltDown(): boolean`