module Ydokey
Extended Modules
Defined in:
ydokey.crConstant Summary
-
CODES_FILE =
"/usr/include/linux/input-event-codes.h"
-
Input event codes
-
KEY_REGEX =
/#define KEY_(?<key>\w+)\s+(?<keycode>(0[xX])?[0-9a-fA-F]+).*/
-
See `/usr/include/linux/input-event-codes.h' for available key codes (KEY_*)
-
KEYS_MAP =
{"alt" => "leftalt", "ctrl" => "leftctrl", "control" => "leftctrl", "meta" => "leftmeta", "super" => "leftmeta", "shift" => "leftshift", "return" => "enter"}
-
NAME =
"ydokey"
-
VERSION =
"0.4.2"
Instance Method Summary
- #codes_file
- #key_mappings : Hash(String, Int32)
- #list_keys : Array(String)
- #to_key_codes(input : String) : String