Hi
I am using a US keyboard
I a timer a have (part of it as example)
If Keyboard.AsyncKeyDown(00) then
NotePlayer1.Instrument = 1
NotePlayer1.PlayNote(60, 100)
ElseIf Keyboard.AsyncKeyDown(26) then
NotePlayer1.Instrument = 1
NotePlayer1.PlayNote(60, 100)
ElseIf Keyboard.AsyncKeyDown(28) then
NotePlayer1.Instrument = 1
NotePlayer1.PlayNote(60, 100)
Else
//
end if
When I press “a” wich is keycode “00” if plays the middle C but
nothing happens when “j” and “k” is pressed according to the Xojo reference it is keycodes “26” and “28”
Pressing keys one by one I found that “7” and “8” will play the note.
Is it something I am doing or the table is wrong?
Where are these codes come from?
How can I print the keycode and the character in a textfield1 when I press a key?
Thanks for any help