search for: xquerykeymap

Displaying 2 results from an estimated 2 matches for "xquerykeymap".

1997 Oct 06
0
xterm "secure console" insecure
...X program, so son''t be surprised if it looks very inexperienced.) What the program does is, it connects to the X display specified in the environment variable DISPLAY and reads the keybord status 100 times per second. Every time the keyboard status changes, it dumps the data returned by XQueryKeymap to its output. It does not try to figure out the actual keys depressed, but then it''s only supposed to be proof-of-concept. It works for me on RedHat 4.0, but as far as I know, nothing has been changed with regard to this problem in more recent versions of XFree86. I have not verified the...
2008 May 08
10
GetAsyncKeyState
I wrote an application in c++ which should return the GetAsyncKeyState(0x01). But I always get 0. If I click on the window of my app,I will get the right answer. GetAsyncKeyState should return systemwide clicks! The same things happens when I write a VB application. I found an app written in Delphi which uses the GetAsyncKeyState call and returns systemwide clicks. Can someone tell me whats the