Hi everyone

I'm running fvwm 2.5.8, XFree86 4.3.0, Debian unstable.

I have a 106 key keyboard. There are 3 keys(top row, to right of
function keys) which I wish to bind. There appears to be no entry in
/usr/include/X11/keysymdef.h for any of these keys. The keys have
symbols on them - my interpretation of them is that they represent
a 'No lock' key, a 'sleep' key (symbol of a moon) and an 'alarm'
key. 

Does anyone have any advice as to how would I go about getting the
Keyname of these keys(or creating ones) so I could then bind them to my
desired functions?

The output of xev for these keys gives the following(besides the
headings in single quotes) :

'No lock key'

KeyPress event, serial 29, synthetic NO, window 0x1800001,
    root 0x8d, subw 0x0, time 2218910772, (576,439), root:(583,472),
    state 0x0, keycode 222 (keysym 0x0, NoSymbol), same_screen YES,
    XLookupString gives 0 bytes:  ""

KeyRelease event, serial 29, synthetic NO, window 0x1800001,
    root 0x8d, subw 0x0, time 2218910861, (576,439), root:(583,472),
    state 0x0, keycode 222 (keysym 0x0, NoSymbol), same_screen YES,
    XLookupString gives 0 bytes:  ""

'Sleep key'

KeyPress event, serial 29, synthetic NO, window 0x1800001,
    root 0x8d, subw 0x0, time 2218916146, (576,439), root:(583,472),
    state 0x0, keycode 223 (keysym 0x0, NoSymbol), same_screen YES,
    XLookupString gives 0 bytes:  ""

KeyRelease event, serial 29, synthetic NO, window 0x1800001,
    root 0x8d, subw 0x0, time 2218916231, (576,439), root:(583,472),
    state 0x0, keycode 223 (keysym 0x0, NoSymbol), same_screen YES,
    XLookupString gives 0 bytes:  ""

'Alarm key'

KeyPress event, serial 29, synthetic NO, window 0x1800001,
    root 0x8d, subw 0x0, time 2218917875, (576,439), root:(583,472),
    state 0x0, keycode 227 (keysym 0x0, NoSymbol), same_screen YES,
    XLookupString gives 0 bytes:  ""

KeyRelease event, serial 29, synthetic NO, window 0x1800001,
    root 0x8d, subw 0x0, time 2218917931, (576,439), root:(583,472),
    state 0x0, keycode 227 (keysym 0x0, NoSymbol), same_screen YES,
    XLookupString gives 0 bytes:  ""

Thanks!
-- 
Stuart Logie
Programmer

UNIVERSAL COMPUTER SERVICES (PTY) LTD
A member of South Africa's largest retail software vendor, the UCS Group

Tel : (011) 712 1371   Cell : 082 902 5632
Fax : (011) 339 3421
Internet : http://ucs.co.za

"I am the Unconquerable Spirit."
               -- Poet Unknown
   
Powered by Debian GNU/Linux - testing/unstable

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to