Jump to content

[Question] Eject key identifier

Recommended Posts

You would need to sniff the button press from a USB keyboard using the developer IOUSB package from apple, to find the genuine code.

to eject from command line:

hdiutil eject <device>

Rumor has it the code could be "0x11"

Try adding "EJECT = 0x11" to keyboard.properties, and patching the ducky encoder source code.

If you want to try generating a simple inject.bin the binary file would look like the following in a hex editor (hex fiend should be in mac ports)

11 00
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

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