Neokey Trinkey Non ASCII Characters

CircuitPython on hardware including Adafruit's boards, and CircuitPython libraries using Blinka on host computers.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
acaguy
 
Posts: 5
Joined: Sat Jul 24, 2021 3:18 pm

Neokey Trinkey Non ASCII Characters

Post by acaguy »

I am trying to use NeoKey Trinkey to enter an em dash when pressed. When I try and use the code in the tutorial for CircuitPython I get an error that it is a non-ASCII character. Is there a workaround or another way to code the key to enter an Em Dash?: Please help.

User avatar
tannewt
 
Posts: 3298
Joined: Thu Oct 06, 2016 8:48 pm

Re: Neokey Trinkey Non ASCII Characters

Post by tannewt »

You may need to get a bit lower level than trying to send a string. We don't have enough ram to store how to type every unicode character. You'll want to mimic pressing the keys that you would type to get an em dash. (I don't know what they are.)

User avatar
acaguy
 
Posts: 5
Joined: Sat Jul 24, 2021 3:18 pm

Re: Neokey Trinkey Non ASCII Characters

Post by acaguy »

tannewt wrote:You may need to get a bit lower level than trying to send a string. We don't have enough ram to store how to type every unicode character. You'll want to mimic pressing the keys that you would type to get an em dash. (I don't know what they are.)

Thanks!

Locked
Please be positive and constructive with your questions and comments.

Return to “Adafruit CircuitPython”