瀏覽代碼

fixed incorrect key combination for locking screen on macOS

Callum Oakley 9 年之前
父節點
當前提交
e4167c8c53
共有 2 個文件被更改,包括 5 次插入5 次删除
  1. 2 2
      keyboards/planck/keymaps/callum/keymap.c
  2. 3 3
      keyboards/planck/keymaps/callum/readme.md

+ 2 - 2
keyboards/planck/keymaps/callum/keymap.c

@@ -137,11 +137,11 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
     case LOCK:
       if (record->event.pressed) {
         register_code(KC_RSFT);
-        register_code(KC_RGUI);
+        register_code(KC_RCTL);
         register_code(KC_POWER);
       } else {
         unregister_code(KC_POWER);
-        unregister_code(KC_RGUI);
+        unregister_code(KC_RCTL);
         unregister_code(KC_RSFT);
       }
       return false;

File diff suppressed because it is too large
+ 3 - 3
keyboards/planck/keymaps/callum/readme.md