Following my post from the Coding Question forum:
http://www.purebasic.fr/english/viewtop ... 13&t=51755
I have it working on Windows, and, thanks to wilbert, I also have it working on Mac OSX now.
Now I'm trying to have it working on Linux as well
Any idea how would I detect keypress (I'm only interested in modifiers, mostly SHIFT actually, but..) on program launch ?
If I wait until I open a window and monitor the events, the keypress is long gone. I'd like to know, for instance, is the user has pressed the SHIFT key while double-clicking on a program to launch it.
(as for the 'why', I need this to detect if the user wants to run my application in 'edit' mode rather than in 'run' mode, it's a simple way for the user to choose instead of using arguments, etc..)
