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

Re: Numeric Keypad in X



-----BEGIN PGP SIGNED MESSAGE-----

On Thu, Aug 02, 2001 at 01:12:13AM -0700, Brad Rhodes wrote:
> Nothing ever appeared in the xev window.

Just to clarify, xev dumps the X events to the stdout that
started the xev instance. Try running it from a shell to make sure
that your window manager isn't slurping this output up. eg:

$ xev     # window opens
Outer window is 0x5000001, inner window is 0x5000002
 
PropertyNotify event, serial 7, synthetic NO, window 0x5000001,
    atom 0x27 (WM_NAME), time 19466334, state PropertyNewValue
 
PropertyNotify event, serial 8, synthetic NO, window 0x5000001,
    atom 0x22 (WM_COMMAND), time 19466334, state PropertyNewValue

... and lots more - move mouse into xev window and start pressing
... keys

KeyPress event, serial 18, synthetic NO, window 0x5000001,
    root 0x2d, subw 0x5000002, time 19471264, (24,43), root:(620,753),
    state 0x0, keycode 41 (keysym 0x20, space), same_screen YES,
    XLookupString gives 1 characters:  " "
 
KeyRelease event, serial 18, synthetic NO, window 0x5000001,
    root 0x2d, subw 0x5000002, time 19471320, (24,43), root:(620,753),
    state 0x0, keycode 41 (keysym 0x20, space), same_screen YES,
    XLookupString gives 1 characters:  " "

... and there are the keycodes, keysyms and so on.

James

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3ia
Charset: noconv

iQBVAwUBO2jkZSX8mcqArqQRAQEnwAH9Gep7XWGovAiac2ykqg3iAU6mdDxa/aIv
c3Ga152IVD/JW1qyKg9HnJiBVYlPh6/VdHtzobHo75Fd844LX80b1w==
=LTHs
-----END PGP SIGNATURE-----



Reply to: