UNPKG

rkeys

Version:

A platform for creating tablet/HTML5 virtual-keyboard apps to send keystrokes to remote X11

58 lines (52 loc) 1.23 kB
# symbols '&': XK_ampersand "'": XK_apostrophe '^': XK_asciicircum '~': XK_asciitilde '@': XK_at '*': XK_asterisk '\': XK_backslash '|': XK_bar '{': XK_braceleft '}': XK_braceright '[': XK_bracketleft ']': XK_bracketright ':': XK_colon ',': XK_comma '$': XK_dollar '=': XK_equal '!': XK_exclam '>': XK_greater '<': XK_less '-': XK_minus '#': XK_numbersign '(': XK_parenleft ')': XK_parenright '%': XK_percent '.': XK_period '+': XK_plus '?': XK_question '"': XK_quotedbl '`': XK_quoteleft '/': XK_slash ';': XK_semicolon ' ': XK_space '_': XK_underscore # modifier prefix aliases, e.g. 'S+C+F4' expands to 'Shift_L+Control_L+F4' A+: alias Alt_L+ C+: alias Control_L+ S+: alias Shift_L+ # button button: button $0 # layout switcher layout: [ broadcast layout $0, broadcast layout default ] # type a character sequence with overridable TYPE-DELAY type: livescript (_.map params.0, -> switch it |','=>\comma |' '=>\space |_=>it).join ',0TYPE-DELAY,' TYPE-DELAY: alias 5 # delay between keystrokes in milliseconds # sound effect aliases SFX-BLIP : alias ./sfx/blip.wav SFX-CHIRP: alias ./sfx/chirp.wav SFX-DROID: alias ./sfx/droid.wav SFX-NOISE: alias ./sfx/noise.wav SFX-TICK : alias ./sfx/tick.wav SFX-TOCK : alias ./sfx/tock.wav