Jump to content

MacOS & local keyboard layout


S3t3c

Recommended Posts

Hi,

I spent quite some time fiddling around my BB, plugged on a Macbook with a french layout, I now understand setting DUCKY_LANG to "fr" is not enough, and that I probably have to define a specific language file, but I still get strange results.

IN CONFIG.TXT:

DUCKY_LANG fr

 

IN FR.JSON (there are lots more lines !):

"!":"00,00,25",
"=":"00,00,38",



IN PAYLOAD:

 

# ISO (European) Apple keyboard
ATTACKMODE HID VID_0x05ac PID_0x0273 STORAGE

LED ATTACK

RUN OSX textedit
Q ENTER
Q DELAY 500
Q TAB
Q TAB
Q TAB
Q TAB
Q TAB
Q TAB
Q SPACE
Q ENTER
Q STRING exclamation mark:!
Q ENTER
Q STRING equals sign:=
Q ENTER
Q STRING keycode 00,00,25:
Q KEYCODE 00,00,25
Q ENTER
Q STRING keycode 00,00,2e:
Q KEYCODE 00,00,2e
Q ENTER
Q STRING keycode 00,00,38:
Q KEYCODE 00,00,38
Q ENTER
Q STRING keycode 00,00,56:
Q KEYCODE 00,00,56


sync
LED FINISH

 

IN RESULTS :

Quote

Exclamation mark:=
Equals sign:-
Keycode 00,00,25:!
Keycode 00,00,2e:-
Keycode 00,00,38:=
Keycode 00,00,56:-

As you can see, the exclamation mark and equals sign are not correctly interpreted, despite the (apparently) correct translation table in fr.json.

Any idea?

Best regards,
S3t3c

Link to comment
Share on other sites

  • 3 weeks later...

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...