mirror of
https://github.com/qmk/qmk_firmware
synced 2025-01-04 22:13:04 +00:00
Compare commits
33 Commits
462a9e82a8
...
1e1cc59978
Author | SHA1 | Date | |
---|---|---|---|
|
1e1cc59978 | ||
|
d5a0424987 | ||
|
1e6eb5e35c | ||
|
57f89e5388 | ||
|
4d182ec117 | ||
|
53680fa6da | ||
|
3ca8651d2c | ||
|
fad7f83ce4 | ||
|
a80f527faf | ||
|
39ffd475f6 | ||
|
9fed1625c8 | ||
|
559cd8c4bc | ||
|
ad15e336de | ||
|
0027d4b408 | ||
|
90204f73fc | ||
|
179fda24b0 | ||
|
66c7638fdf | ||
|
061bbb5431 | ||
|
1fd2c0dd8f | ||
|
c769c2c644 | ||
|
bcc0cf9802 | ||
|
84d49f62f6 | ||
|
20cc8b0766 | ||
|
74bef5b463 | ||
|
02b20f0450 | ||
|
1d5571e3b1 | ||
|
e4541bf3f8 | ||
|
b7422cafb5 | ||
|
2859d3d115 | ||
|
df21f6d1f3 | ||
|
43ca630457 | ||
|
084a28b523 | ||
|
e1db7e4857 |
1
data/constants/keycodes/keycodes_0.0.7.hjson
Normal file
1
data/constants/keycodes/keycodes_0.0.7.hjson
Normal file
@ -0,0 +1 @@
|
||||
{}
|
12
data/constants/keycodes/keycodes_0.0.7_basic.hjson
Normal file
12
data/constants/keycodes/keycodes_0.0.7_basic.hjson
Normal file
@ -0,0 +1,12 @@
|
||||
{
|
||||
"keycodes": {
|
||||
"0x00C3": {
|
||||
"group": "media",
|
||||
"key": "KC_GLOBE",
|
||||
"label": "Apple Globe/Fn",
|
||||
"aliases": [
|
||||
"KC_GLB"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
@ -211,6 +211,7 @@ See also: [Basic Keycodes](keycodes_basic)
|
||||
|`KC_ASSISTANT` |`KC_ASST` |Launch Context-Aware Assistant |✔ | | |
|
||||
|`KC_MISSION_CONTROL` |`KC_MCTL` |Open Mission Control | |✔ | |
|
||||
|`KC_LAUNCHPAD` |`KC_LPAD` |Open Launchpad | |✔ | |
|
||||
|`KC_GLOBE` |`KC_GLB` |Apple Globe/Fn | |✔<sup>7</sup>| |
|
||||
|
||||
<sup>1. The Linux kernel HID driver recognizes [nearly all keycodes](https://github.com/torvalds/linux/blob/master/drivers/hid/hid-input.c), but the default bindings depend on the DE/WM.</sup><br/>
|
||||
<sup>2. Treated as F13-F15.</sup><br/>
|
||||
@ -218,6 +219,7 @@ See also: [Basic Keycodes](keycodes_basic)
|
||||
<sup>4. Holding Shift+Option allows for finer control of volume level.</sup><br/>
|
||||
<sup>5. Skips the entire track in iTunes when tapped, seeks within the current track when held.</sup><br/>
|
||||
<sup>6. WMP does not recognize the Rewind key, but both alter playback speed in VLC.</sup>
|
||||
<sup>7. Requires `KEYBOARD_SHARED_EP = yes` in `rules.mk` or `usb.shared_endpoint.keyboard=true` in `keyboard.json`. Globe+F-keys/arrow keys do not work.</sup>
|
||||
|
||||
## Quantum Keycodes {#quantum-keycodes}
|
||||
|
||||
|
@ -227,6 +227,7 @@ Some of these keycodes may behave differently depending on the OS. For example,
|
||||
|`KC_ASSISTANT` |`KC_ASST`|Launch Assistant |
|
||||
|`KC_MISSION_CONTROL` |`KC_MCTL`|Open Mission Control|
|
||||
|`KC_LAUNCHPAD` |`KC_LPAD`|Open Launchpad |
|
||||
|`KC_GLOBE` |`KC_GLB` |Apple Globe/Fn |
|
||||
|
||||
## Number Pad
|
||||
|
||||
|
@ -789,8 +789,8 @@ def _extract_led_config(info_data, keyboard):
|
||||
info_data[feature]['layout'] = ret
|
||||
except Exception as e:
|
||||
_log_warning(info_data, f'led_config: {file.name}: {e}')
|
||||
else:
|
||||
_log_warning(info_data, 'led_config: matrix size required to parse g_led_config')
|
||||
else:
|
||||
_log_warning(info_data, 'led_config: matrix size required to parse g_led_config')
|
||||
|
||||
if info_data[feature].get('layout', None) and not info_data[feature].get('led_count', None):
|
||||
info_data[feature]['led_count'] = len(info_data[feature]['layout'])
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright 2024 QMK
|
||||
// Copyright 2025 QMK
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
/*******************************************************************************
|
||||
@ -287,6 +287,7 @@ enum qk_keycode_defines {
|
||||
KC_ASSISTANT = 0x00C0,
|
||||
KC_MISSION_CONTROL = 0x00C1,
|
||||
KC_LAUNCHPAD = 0x00C2,
|
||||
KC_GLOBE = 0x00C3,
|
||||
QK_MOUSE_CURSOR_UP = 0x00CD,
|
||||
QK_MOUSE_CURSOR_DOWN = 0x00CE,
|
||||
QK_MOUSE_CURSOR_LEFT = 0x00CF,
|
||||
@ -943,6 +944,7 @@ enum qk_keycode_defines {
|
||||
KC_ASST = KC_ASSISTANT,
|
||||
KC_MCTL = KC_MISSION_CONTROL,
|
||||
KC_LPAD = KC_LAUNCHPAD,
|
||||
KC_GLB = KC_GLOBE,
|
||||
MS_UP = QK_MOUSE_CURSOR_UP,
|
||||
MS_DOWN = QK_MOUSE_CURSOR_DOWN,
|
||||
MS_LEFT = QK_MOUSE_CURSOR_LEFT,
|
||||
@ -1488,7 +1490,7 @@ enum qk_keycode_defines {
|
||||
#define IS_INTERNAL_KEYCODE(code) ((code) >= KC_NO && (code) <= KC_TRANSPARENT)
|
||||
#define IS_BASIC_KEYCODE(code) ((code) >= KC_A && (code) <= KC_EXSEL)
|
||||
#define IS_SYSTEM_KEYCODE(code) ((code) >= KC_SYSTEM_POWER && (code) <= KC_SYSTEM_WAKE)
|
||||
#define IS_CONSUMER_KEYCODE(code) ((code) >= KC_AUDIO_MUTE && (code) <= KC_LAUNCHPAD)
|
||||
#define IS_CONSUMER_KEYCODE(code) ((code) >= KC_AUDIO_MUTE && (code) <= KC_GLOBE)
|
||||
#define IS_MOUSE_KEYCODE(code) ((code) >= QK_MOUSE_CURSOR_UP && (code) <= QK_MOUSE_ACCELERATION_2)
|
||||
#define IS_MODIFIER_KEYCODE(code) ((code) >= KC_LEFT_CTRL && (code) <= KC_RIGHT_GUI)
|
||||
#define IS_SWAP_HANDS_KEYCODE(code) ((code) >= QK_SWAP_HANDS_TOGGLE && (code) <= QK_SWAP_HANDS_ONE_SHOT)
|
||||
@ -1514,7 +1516,7 @@ enum qk_keycode_defines {
|
||||
#define INTERNAL_KEYCODE_RANGE KC_NO ... KC_TRANSPARENT
|
||||
#define BASIC_KEYCODE_RANGE KC_A ... KC_EXSEL
|
||||
#define SYSTEM_KEYCODE_RANGE KC_SYSTEM_POWER ... KC_SYSTEM_WAKE
|
||||
#define CONSUMER_KEYCODE_RANGE KC_AUDIO_MUTE ... KC_LAUNCHPAD
|
||||
#define CONSUMER_KEYCODE_RANGE KC_AUDIO_MUTE ... KC_GLOBE
|
||||
#define MOUSE_KEYCODE_RANGE QK_MOUSE_CURSOR_UP ... QK_MOUSE_ACCELERATION_2
|
||||
#define MODIFIER_KEYCODE_RANGE KC_LEFT_CTRL ... KC_RIGHT_GUI
|
||||
#define SWAP_HANDS_KEYCODE_RANGE QK_SWAP_HANDS_TOGGLE ... QK_SWAP_HANDS_ONE_SHOT
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright 2024 QMK
|
||||
// Copyright 2025 QMK
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
/*******************************************************************************
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright 2024 QMK
|
||||
// Copyright 2025 QMK
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
/*******************************************************************************
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright 2024 QMK
|
||||
// Copyright 2025 QMK
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
/*******************************************************************************
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright 2024 QMK
|
||||
// Copyright 2025 QMK
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
/*******************************************************************************
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright 2024 QMK
|
||||
// Copyright 2025 QMK
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
/*******************************************************************************
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright 2024 QMK
|
||||
// Copyright 2025 QMK
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
/*******************************************************************************
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright 2024 QMK
|
||||
// Copyright 2025 QMK
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
/*******************************************************************************
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright 2024 QMK
|
||||
// Copyright 2025 QMK
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
/*******************************************************************************
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright 2024 QMK
|
||||
// Copyright 2025 QMK
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
/*******************************************************************************
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright 2024 QMK
|
||||
// Copyright 2025 QMK
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
/*******************************************************************************
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright 2024 QMK
|
||||
// Copyright 2025 QMK
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
/*******************************************************************************
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright 2024 QMK
|
||||
// Copyright 2025 QMK
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
/*******************************************************************************
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright 2024 QMK
|
||||
// Copyright 2025 QMK
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
/*******************************************************************************
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright 2024 QMK
|
||||
// Copyright 2025 QMK
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
/*******************************************************************************
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright 2024 QMK
|
||||
// Copyright 2025 QMK
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
/*******************************************************************************
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright 2024 QMK
|
||||
// Copyright 2025 QMK
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
/*******************************************************************************
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright 2024 QMK
|
||||
// Copyright 2025 QMK
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
/*******************************************************************************
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright 2024 QMK
|
||||
// Copyright 2025 QMK
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
/*******************************************************************************
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright 2024 QMK
|
||||
// Copyright 2025 QMK
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
/*******************************************************************************
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright 2024 QMK
|
||||
// Copyright 2025 QMK
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
/*******************************************************************************
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright 2024 QMK
|
||||
// Copyright 2025 QMK
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
/*******************************************************************************
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright 2024 QMK
|
||||
// Copyright 2025 QMK
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
/*******************************************************************************
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright 2024 QMK
|
||||
// Copyright 2025 QMK
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
/*******************************************************************************
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright 2024 QMK
|
||||
// Copyright 2025 QMK
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
/*******************************************************************************
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user