jawaff / KinectController

Control your computer using your body. The KinectController turns the Kinect into a controller that allows configurable actions to be emulated when configurable gestures are triggered by the user.
0 stars 0 forks source link

The ButtonReactionConfig is filled with information from the config.gdef file. However, we're not converting those key ids into the integers that the Robot module requires. This is causing a casting exception whenever the ButtonReaction is executed by the EmulationController. #17

Closed jawaff closed 8 years ago

jawaff commented 8 years ago
jawaff commented 8 years ago

The Robot module uses fields defined within the java.awt.KeyEvent class in order to identify keyboard keys. We simply look up the fields by looking for a string value received from the config.gdef and this eventually gets us to the key id that's compatible with the Robot module..