spacehuhn / wifi_ducky

Upload, save and run keystroke injection payloads with an ESP8266 + ATMEGA32U4
MIT License
1.28k stars 294 forks source link

Is KEY_RIGHT_GUI same as Ducky-script "MENU" ? #38

Closed supersjimmie closed 7 years ago

supersjimmie commented 7 years ago

I see MENU in ducky scripts, but that seems to be unhandled in your arduino_wifi_duck.ino I think that MENU is the KEY_RIGHT_GUI, am I right? If so, then adding this line should fix that: else if (b.equals("MENU")) Keyboard.press(KEY_RIGHT_GUI);

supersjimmie commented 7 years ago

I discovered that menu isn't the right-gui key. I found a short thread on this: http://forum.arduino.cc/index.php?topic=245533.0 Adding #define KEY_MENU 0xED to the top, and adding this to the list: else if (b.equals("MENU")) Keyboard.press(KEY_RIGHT_GUI); Should do the trick.