Forum Rule: Always post complete source code & details to reproduce any issue!
-
-
Senior Member+
Sorry hopefully someone who has done this already can better answer. Wonder what this one does?
#define KEY_NON_US_NUM ( 50 | 0xF000 )
But again not sure.
-
Thank you :-)
That works fine.
Last edited by gi1mic; 08-16-2020 at 09:04 PM.
-
Do you know the ASCII or unicode value for #? Can you just send that value when the key is pressed?
Just looked it up. It appears that "British pound" is 00A3 and # is 0023 hexidecimal in unicode.
Hope that helps.
-
0xA3 and 0x23 to be pedantic...
That allows copy and pasting without forgetting the base, well in many languages at least.
-
Senior Member+

Originally Posted by
OhioJim
Do you know the ASCII or unicode value for #? Can you just send that value when the key is pressed?
Just looked it up. It appears that "British pound" is 00A3 and # is 0023 hexidecimal in unicode.
Hope that helps.
Again I am no expert, but I have worked at it from the other side, in adding the ability for keyboards to be plugged into the USB Host of T3.6 and T4.x
What I remember is the keyboards will output some KeyCode that your software will interpret depending on things like country code or keyboard layout to convert the keycode(s) into the appropriate value that your application will see.
-

Originally Posted by
MarkT
0xA3 and 0x23 to be pedantic...

That allows copy and pasting without forgetting the base, well in many languages at least.
Except Unicode is 16 bits, so it is 0x00A3 and 0x0023.
A single byte is not big enough to handle all the special characters and symbols used in different languages.
See the Wikipedia Article on it.
-
Well, yes, that might be worth making explicit too...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules