# Key assignments for one-handed numberpad keyboard. # # This file is placed in the public domain by Evan Hall, 2004. # ehall at freeshell dot org # # The upper four modes, ShiftL ShiftR CtrlL CtrlR, are generally not used. # We use some of them here, so we can multiply the number of key combinations # available on a numberpad. # # Many of the keys defined in here (Shift+anything, for example), don't # work as they should on the keypad alone, but you can usually test them # if you want to. # # The qwerty-layout included below doesn't seem to allow Ctrl+Alt+Fkey # combinations (and probably others). I don't know why, I guess. include "qwerty-layout" strings as usual keymaps 0-1, 16-17, 32-33, 64 # Here come the new modifiers: KP_0, KP_Decimal, KP_Enter. keycode 96 = ShiftL keycode 83 = ShiftR keycode 82 = CtrlL # keycode NUM = plain shift shiftl shiftl+shift shiftr shiftr+shift ctrll keycode 98 = SShift SShift SCtrl SCtrl SAlt SAlt Caps_Lock keycode 55 = period comma apostrophe quotedbl colon semicolon equal keycode 74 = BackSpace BackSpace Remove Remove Escape Escape Insert keycode 78 = space space Return Return Tab Tab underscore keycode 71 = +o +O +c +C +k +K ampersand keycode 72 = +e +N +f +F +j +J parenleft keycode 73 = +r +E +d +D +v +V parenright keycode 75 = +a +H +y +Y +z +Z dollar keycode 76 = +s +A +u +U +g +G percent keycode 77 = +t +T +l +L +b +B asciicircum keycode 79 = +h +S +q +Q +x +X exclam keycode 80 = +i +I +m +M +w +W at keycode 81 = +n +R +p +P question slash numbersign