Determining XKeysyms



I'm currently working on allowing Dasher to write text to arbitrary 
windows. The accessibility library's implemented methods for doing this 
seem to require me to know either the keycode or keysym of the character 
concerned. The problem is that users may have customised alphabets 
containing arbitrary characters, and expecting them to determine the 
keysym name themselves seems excessive. Is there a trivial (or, at 
least, not hideously awkward) method of going from, say, " to 
XK_quotedbl?

Thanks,
-- 
Matthew Garrett | mjg59 srcf ucam org



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]