TrinketHidCombo.h - How to type a ^ character

Hi all!

I was playing with a Digispark (Attiny85) board to create a dongle to type an unusual long password:

TrinketHidCombo.write("************************^");

All worked fine but the last character of the password is a ^ symbol as described above.

The problem is that it isn't typing this character. I use two keyboard layouts. In the US English with deadkeys, if a type a space after the Digispark typing, I get the ^ symbol, but in other layouts I have wherever is with shift + 6.

Is there anyway to send the raw ^ symbol instead of a keypress?

Thank you!

Hello my friend, you can copy the entire password and then paste it

TrinketHidCombo.write(char(94));

Hi, friend! Thanks for the reply, but that is exactly what I did.

Hi! Thanks for the reply. Tried that and the result was exactly the same. I don't understand why it simulates the pressing of shift + 6.

No. A USB keyboard only sends key presses. The library on your Arduino translates '^' to Shift-6.

What keypress on your keyboard layout produces a '^'?

OK, that makes sense...

So I'm afraid I can't use it to type this password. I use both layouts, US English with dead keys and Brazilian Portuguese ABNT2, so the ^ symbol position is different. In ABTN2 keyboards its shift + ~. The key is right to Ç.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.