qmk / qmk_firmware

Open-source keyboard firmware for Atmel AVR and Arm USB families
https://qmk.fm
GNU General Public License v2.0
18.08k stars 38.87k forks source link

Can't chain LGUI(LCTL(LSFT(KC_4))) #2439

Closed me0wday closed 6 years ago

me0wday commented 6 years ago

Trying to create a screenshot key in mac however the chain "LGUI(LCTL(LSFT(KC_4)))" seems to work once after flashing and then never again. After the first time it simply returns a "4".

Any ideas?

TurboMech commented 6 years ago

I just created a shortcut inside of System Preferences > Keyboard > Shortcuts, then inputted whatever that key combination was into QMK.

me0wday commented 6 years ago

@TurboMech but what key combination is not taken and available to QMK? I thought Command Control Shift 4 was already a shortcut

drashna commented 6 years ago

Tried this on my ergodox, no issues with it. But on windows.

What keyboard are you using?

me0wday commented 6 years ago

I'm using a Clueboard, rev3 pcb

here is my keymap file https://gist.github.com/thinkv/105a5b33057f6d72f3fd17a992a97011

TurboMech commented 6 years ago

@thinkv I use LCTL(KC_S) and have that as a shortcut so in Mac it's just CTRL and S. That is my keypress for my F5 key on my 75%.

me0wday commented 6 years ago

@TurboMech something that simple will not work for me as I have a few vm's with seperate key codes, including windows (where ctrl+s is save) :(

TurboMech commented 6 years ago

Then make it something crazy like LCTRL(LALT(LGUI(S))) then change the shortcut in Mac

me0wday commented 6 years ago

That's what I have now and it's not working as per this issue @TurboMech

me0wday commented 6 years ago

Okay this is really weird. First time I press it, it uses Control + Command + Shift + 4 Every other time after it actually presses Control + Alt + Shift + 4

me0wday commented 6 years ago

I'm stupid, I changed the mapping on OSX and it messed things up, it did play funny though and clearly the mapping doesn't work at the level with OSX. Sorry all.