Hi,
in France we have ^ with a deadkey like you to type ô ê î â.
But we have a direct acces with alt_gr + 9.
Can you try that?
ASCII_5E = KEY_RIGHT_BRACE, MODIFIERKEY_SHIFT
Then in the payload something like that:
STRING ^a ^ ^o
Dnu
Hmm,
I'm not sure to have programmed the ^ character because in french it's a dead key (^ then space) so I haven't tested this case.
Have you an error or warning message during the encoding ?
Dnu
That's an interesting summary of the hard time you passed! It was so easy to dump the ducky with its limitations but you have done so good!
Thank you Snake.
:D
I do the same... then I coded an international encoder.
It's now easy to create a foreign keyboard layout.
Take a look at the properties files here: http://code.google.com/p/ducky-decode/source/browse/#svn%2Ftrunk%2FEncoder%2Fv2%2Fresources
Wikipedia has a great page with layouts: http://en.wikipedia.org/wiki/Keyboard_layout
You just have to map your ascii hexadecimal code on the qwerty layout.
http://www.asciitable.com/ for the ascii codes.
For example in french:
a -> ASCII_61 = KEY_Q
z -> ASCII_7A = KEY_W
e -> ASCII_65 = KEY_E
r -> ASCII_72 = KEY_R
t -> ASCII_74 = KEY_T
y -> ASCII_79 = KEY_Y
If a character is missing a warning is prompted:
Char not found:ASCII_72
Char not found:ASCII_70
Char not found:ASCII_6F
Dnucna
Hi jeffz and virus-84,
I'm very happy that it works for you !
I was sure belgian works because it's very close to french, but for swedish it's a good surprise :)
Thanks for the reply.
Dnu
That's weird...
In the code if the modifier is alone it types the key.
You can try "LEFT_GUI" or "RIGHT_GUI" to use directly the key.
In fact WINDOWS and GUI have the same code (It's to be compatible with the encoder v1).
if (instruction[0].equals("WINDOWS") || instruction[0].equals("GUI"))
Perhaps GUI GUI can do the trick.
I found a bug in strInstrToByte
if(instruction.equals("WINDOWS"))
return strInstrToByte("GUI");
Should be
if(instruction.equals("WINDOWS"))
return strInstrToByte("LEFT_GUI");
It's only activated when the instruction is CTRL WINDOWS for example. Not sure that it ever happens.
It seems to be for a Teensy. First version of the Ducky. http://www.pjrc.com/teensy/
You code the firmware in arduino.
Take a look at irongeek's website: http://www.irongeek.com/i.php?page=security/programmable-hid-usb-keystroke-dongle
For each modification you need to flash the teensy. That's why the new ducky has a SD card reader.