Giter Site home page Giter Site logo

Eject key on Mac about tmk_keyboard HOT 4 CLOSED

tmk avatar tmk commented on August 15, 2024
Eject key on Mac

from tmk_keyboard.

Comments (4)

tmk avatar tmk commented on August 15, 2024

Xev shows on Ubuntu for 'Stop/Eject - 0xCC of Consumer Page 0x08':

    root 0x6b0, subw 0x0, time 1113870379, (-190,203), root:(1881,1194),
    state 0x10, keycode 248 (keysym 0x0, NoSymbol), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyRelease event, serial 38, synthetic NO, window 0x5a00001,
    root 0x6b0, subw 0x0, time 1113870489, (-190,203), root:(1881,1194),
    state 0x10, keycode 248 (keysym 0x0, NoSymbol), same_screen YES,
    XLookupString gives 0 bytes:
    XFilterEvent returns: False

for 'Eject 0xB8 of Consumer Page 0x08':

KeyPress event, serial 37, synthetic NO, window 0x5c00001,
    root 0x6b0, subw 0x0, time 1114072490, (-432,119), root:(1639,1110),
    state 0x10, keycode 169 (keysym 0x1008ff2c, XF86Eject), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyRelease event, serial 37, synthetic NO, window 0x5c00001,
    root 0x6b0, subw 0x0, time 1114072607, (-432,119), root:(1639,1110),
    state 0x10, keycode 169 (keysym 0x1008ff2c, XF86Eject), same_screen YES,
    XLookupString gives 0 bytes:
    XFilterEvent returns: False

for F20:

KeyPress event, serial 38, synthetic NO, window 0x5a00001,
    root 0x6b0, subw 0x0, time 1116492385, (-283,204), root:(1788,1195),
    state 0x10, keycode 198 (keysym 0x1008ffb2, XF86AudioMicMute), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyRelease event, serial 38, synthetic NO, window 0x5a00001,
    root 0x6b0, subw 0x0, time 1116492489, (-283,204), root:(1788,1195),
    state 0x10, keycode 198 (keysym 0x1008ffb2, XF86AudioMicMute), same_screen YES,
    XLookupString gives 0 bytes:
    XFilterEvent returns: False

Eject 0xB8 key makes disc drive tray open on ubuntu.

from tmk_keyboard.

tmk avatar tmk commented on August 15, 2024

Windows 10 does not seems to recognize both 0xB8 and 0xCC.

from tmk_keyboard.

tmk avatar tmk commented on August 15, 2024

Can we replace 0xCC with 0xB8 simply?

Yes, probably. There will be no big problem.

from tmk_keyboard.

tmk avatar tmk commented on August 15, 2024

Now, TMK KC_EJCT(and AC_EJCT) are 'Eject 0xB8 of Consumer Page 0x08' as same as Apple Magic Keyboard.

MacOS should recognize the key. Not tested yet.

Prebuilt firmwares other than hhkb project should be compiled but not yet.

from tmk_keyboard.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.