Support comma and period in keybinds.

This commit is contained in:
ccd0 2015-06-20 21:25:30 -07:00
parent f45a55f46a
commit 625e469f8c

View File

@ -214,6 +214,10 @@ Keybinds =
'Right' 'Right'
when 40 when 40
'Down' 'Down'
when 188
','
when 190
'.'
else else
if 48 <= kc <= 57 or 65 <= kc <= 90 # 0-9, A-Z if 48 <= kc <= 57 or 65 <= kc <= 90 # 0-9, A-Z
String.fromCharCode(kc).toLowerCase() String.fromCharCode(kc).toLowerCase()