For my new walking robot, I'm creating a personalized ARDUINO DUE - BASIC COMPILER/DEBUGGER GUI/IDE.
Starting with a text editor.
I use OpenScreen (...) graphic mode for this, so graphically everything is OK, except if I use the keyboard.
The keys ['], ["] and [^] are giving me wrong results ... all others are OK ?
I'm using COURIER NEW 8...12 pnt font for the IDE.
(See the debug file below.)
I use the following program (part of a big one)
Code: Select all
KeyboardMode (#PB_Keyboard_Qwerty | #PB_Keyboard_International)
...
ExamineKeyboard ()
Keyboard_Key = KeyboardInkey ()
Keyboard_Key_Value = Asc (Keyboard_Key)
If Asc (Keyboard_Key) > 0
Debug "KEY PUSHED : " + Asc (Keyboard_Key) + " <-> CHARACTER : " + Keyboard_Key
EndIf
I use PB 5.73 x64 on Win 10 home.
Thanks,
Marc