This doesn't work because keyhandler() returns an int, and XK_* are keysyms. Not only that, but I'm pretty sure there is no keysym called XK_cent
I got that from X11/keysymdef.h
Once I get x5250 version 0.5 out the door (soon!) I'll start working on a hopefully simple keymapping feature. Preferably one that won't involve changing the source code!
As an Amazon Associate we earn from qualifying purchases.
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.