View Full Version : Keyboard event problem
rkirmeier
June 21st, 2006, 04:20 PM
Simply trying to detect a keyboard input (spacebar in this case). I setup a command and learn the event (Event Device = Raw: Keyboard, Event String = 20000000). I can see the light in the bottom left turn yellow when I push the spacebar but the command does not trigger and nothing shows up in the logger. Tried the ctrl key and same results..
quixote
June 21st, 2006, 04:27 PM
did you add the keyboard and enable the keyboard plugin?
Go to tools -> add remote wizard
Ron
June 21st, 2006, 05:31 PM
Here is the easiest way to add an event.
1. Open the logger
2. Generate the event (e.g. press space bar)
3. Look at the logger, find the event.
4. Drag and Drop the event from the logger to the GML-tree on the right side.
That should work.
rkirmeier
June 22nd, 2006, 07:02 AM
did you add the keyboard and enable the keyboard plugin?
Go to tools -> add remote wizard
Ok, I did this and now there is a "Keyboard Mapping" device. One strang thing is there is also a "New" device and when I do a learn it shows the "New" device.
Seems that the "Raw: Keyboard" device now works since I did the add remote wizard for the keyboard. Funny thing is that when I learn the command it shows up as "Raw: Keyboard" Event Device and "20000000" Event String but when I test the event it shows up in the logger as "New" (Source) and "KEY SPACE <Up>" as Details.
Seems to be some inconsistancies here with Device Type and logging. Also why they show up as "New" instead of the "Keyboard Mapping" device beats me.
btw: "Keyboard Mapping" and "New" both showed up in the Device list after using the add remote wizard.. Looks like a bug..
Never-the-less...I have achived the results I was looking for..
Powered by vBulletin® Version 4.1.8 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.