Character + and -
Closed this issue · 2 comments
Hello,
I want to control GoogleEarth with MakeyMakey and wanted to change the Firmware for example like:
settings.h
KEY_UP_ARROW, // up arrow pad
KEY_DOWN_ARROW, // down arrow pad
KEY_LEFT_ARROW, // left arrow pad
KEY_RIGHT_ARROW, // right arrow pad
'+', // space button pad
'-', // click button pad
Letters, etc. work fine but i have only problems with + and -.
Thanks,
Alex
The problem, most likely, is that GoogleEarth is expecting the plus-key keypress and not actually sending a plus sign.
I think you should check this post:
http://forum.arduino.cc/index.php?topic=179548.0
Basically, it says that instead of '+' you should use the number 223 and instead of the '-', the number 222.
223 and 222 are keycodes that represent the + and - signs in the numpad, so those should work to control Google Earth or any other program that is looking for a keypress and not the input of a plus-sign.
Hi,
Perfect. Not with 222 and 223 it works.
Great thanks!
Alex