keypad input for xlib