summaryrefslogtreecommitdiff
path: root/obt/keyboard.h
AgeCommit message (Collapse)Author
2012-09-30Use the KeyCode to directly find the modifier mask. (Fix bug 5173)Dana Jansens
We were finding the KeySym first, and then converting back to a modifier mask. But KeySym on a key's release can differ from on its press, and we don't need them to determine the modmask from the keycode. [setxkbmap -option "grp:shifts_toggle"] turns Shift_L into XK_ISO_Prev_Group on key release, and Shift_R into XK_ISO_Next_Group.
2010-02-19get the modifier mask for a modifier key that is pressed/released more ↵Dana Jansens
accurately, using the table we built already for other purposes
2010-02-11make control keys work in menus/dialogs/etc with the new obt code, using ↵Dana Jansens
XLookup stuff
2010-02-11make obt translate keypress events to a valid utf8 character (note this ↵Dana Jansens
makes openbox not compile)
2010-02-11add interface in obt to create an Input Context for a windowDana Jansens
2009-12-16Merge branch 'backport' into workDana Jansens
Conflicts: obt/keyboard.c obt/keyboard.h openbox/event.c openbox/menuframe.c openbox/moveresize.c openbox/openbox.c openbox/screen.c
2008-02-15() -> (void) also in .h files, and fix a place that gave arguments when it ↵Mikael Magnusson
shouldn't have.
2008-01-20make the obt library branch compile again with all the changes merged in ↵Dana Jansens
from backport
2008-01-20change openbox to use the libotk's keyboard.[ch] stuff instead of the old ↵Dana Jansens
modkeys.[ch] and some of translate.[ch]
2008-01-20add keyboard.[ch] to libobt. these are for tracking modifier keys, and ↵Dana Jansens
translating to/from keycodes/keysyms/modmasks (also include a new obt/internal.h for putting functions that are not public)