GithubHelp home page GithubHelp logo

OSX System Keys about qmk_firmware HOT 13 CLOSED

qmk avatar qmk commented on May 22, 2024
OSX System Keys

from qmk_firmware.

Comments (13)

jackhumbert avatar jackhumbert commented on May 22, 2024 6

Some are supported!

KC_SLCK - Brightness up
KC_PAUS - Brightness down

from qmk_firmware.

romanzolotarev avatar romanzolotarev commented on May 22, 2024 3

At first KC_PAUS and KC_SLCK didn't work for me neither, but after un-pluging and pluging the USB cable it started working.

I have tried this with ErgoDox EZ on OS X 10.11.3 (15D21).

from qmk_firmware.

jeffsmohan avatar jeffsmohan commented on May 22, 2024 1

@wez I definitely see those shortcuts set by default in System Preferences > Keyboard > Shortcuts > Display. However, they don't seem to work as advertised for me. Even when I set them to easier-to-press shortcuts (like Cmd+5) and hit the shortcut directly on my laptop's built-in keyboard, it doesn't trigger screen brightness. Perhaps it's just something off about my system...

from qmk_firmware.

wez avatar wez commented on May 22, 2024

Any idea if F14/F15 (also mentioned in that thread) will control the screen brightness in Windows 10, or what the keycodes to do that on Windows 10 might be?

from qmk_firmware.

jackhumbert avatar jackhumbert commented on May 22, 2024

I'm not familiar with Windows machines, but something like that may be possible with Autohotkey!

from qmk_firmware.

wez avatar wez commented on May 22, 2024

Was hoping for something native, but glad you pointed me to Autohotkey, thanks!

from qmk_firmware.

jeffsmohan avatar jeffsmohan commented on May 22, 2024

Thanks so much for the help! Unfortunately, I've tried using those keycodes and they don't seem to be working for me. Have others had success with KC_SLCK and KC_PAUS? (I'm on OSX 10.11.2.) Or is it something off with my code? (I have no experience with C... https://github.com/jeffschenck/qmk_firmware/blob/61a3ac0/keyboard/ergodox_ez/keymaps/jeffschenck/keymap.c#L185)

Any additional direction would be much appreciated! Otherwise, I can go back to mapping those keys to KC_F13 and KC_F14, then using BetterTouchTool to map those to brightness adjustments. It'd be great to have it cleanly contained in the keyboard, though. :)

from qmk_firmware.

wez avatar wez commented on May 22, 2024

F14/F15 worked to control the brightness both on my macbook and on my apple display when connected

from qmk_firmware.

ezuk avatar ezuk commented on May 22, 2024

Thank you for following up here, @romanzolotarev! Too few people take the time to note when stuff works - super helpful. :)

from qmk_firmware.

romanzolotarev avatar romanzolotarev commented on May 22, 2024

@ezuk Here is my layout #205 :)
Note: I'm using KC_F14 and KC_F15 to control display brightness on OS X, because F14/F15 is concise, but KC_PAUS and KC_SLCK also work.

from qmk_firmware.

ezuk avatar ezuk commented on May 22, 2024

Awesome! Saw the Readme, too :)

from qmk_firmware.

romanzolotarev avatar romanzolotarev commented on May 22, 2024

Folks, here is a possible solution #207. Could you please check?

from qmk_firmware.

moubry avatar moubry commented on May 22, 2024

@jackhumbert’s solution worked for me, however it’s backwards (at least for me on Mojave) — KC_SLCK is bright down and KC_PAUS is brightness up.

from qmk_firmware.

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.