Flowm / etherkey

Emulate a conventional USB keyboard with a scriptable, network capable microcontroller.
MIT License
133 stars 22 forks source link

Combined Modifiers Not Working #10

Open j-vaughn opened 5 months ago

j-vaughn commented 5 months ago

From both PuTTY and PySerial on Windows to a Windows target I was unable to send multiple modifiers in the format specified in the readme (^+t for CTRL+SHIFT+t). I played around with many different arrangements and ended up finding that for format ^T+ ended up working. I didn't get a chance to dig into your code to try and find a reason, but at least wanted to post this in case it helped someone else since there does seem to be a workaround.

For completeness: I used the instructions here for running your project on an Arduino based device rather than a Teensy.

Thanks, James

nummer30 commented 3 months ago

Hi James,

I finally found the time to try to reproduce your issue, but so far I haven't had any luck. Send ^+t as you described works for me, on Linux and Windows. But I'm using a Teensy.

I would assume the problem is a result from porting Etherkey to the Arduino Leonardo/ATmega32u4? Unfortunately I don't have such a device, so I can't try it.

Maybe @Sjord could try to reproduce it on the Arduino Leonardo, since he wrote the mentioned article.

j-vaughn commented 2 months ago

I suspected this was probably a result of porting to the ATmega. I appreciate you trying to reproduce! I'm not sure how many people are using the ported version, but I'd be curious if any of them experience the same issue. Thanks for your time and a great project!

waldher commented 2 months ago

I'm able to confirm this is happening on an Atmega32u4, following the same instructions that @j-vaughn linked.