aboutsummaryrefslogtreecommitdiff
path: root/data/constants
diff options
context:
space:
mode:
authorNick Brassel <[email protected]>2024-08-27 10:52:23 +1000
committerGitHub <[email protected]>2024-08-27 10:52:23 +1000
commit70cbf08b673c2cc59e603503e834ac460040ecc1 (patch)
tree3843e6c36e6564a1a6842cc15adc276cd29ce0d2 /data/constants
parentecf725b356e999799f30f0fcaa9e0848cc3163ca (diff)
downloadqmk_firmware-70cbf08b673c2cc59e603503e834ac460040ecc1.tar.gz
qmk_firmware-70cbf08b673c2cc59e603503e834ac460040ecc1.zip
Add new connection keycodes for Bluetooth, 2.4GHz. (#24251)
Diffstat (limited to 'data/constants')
-rw-r--r--data/constants/keycodes/keycodes_0.0.5_connection.hjson109
-rw-r--r--data/constants/keycodes/keycodes_0.0.5_quantum.hjson7
2 files changed, 116 insertions, 0 deletions
diff --git a/data/constants/keycodes/keycodes_0.0.5_connection.hjson b/data/constants/keycodes/keycodes_0.0.5_connection.hjson
new file mode 100644
index 0000000000..9a1a750f1a
--- /dev/null
+++ b/data/constants/keycodes/keycodes_0.0.5_connection.hjson
@@ -0,0 +1,109 @@
+{
+ "ranges": {
+ "0x7780/0x003F": {
+ "define": "QK_CONNECTION"
+ }
+ }
+ "keycodes": {
+ "0x7780": {
+ "group": "connection",
+ "key": "QK_OUTPUT_NEXT",
+ "aliases": [
+ "OU_NEXT",
+ "OU_AUTO"
+ ]
+ },
+ "0x7781": {
+ "group": "connection",
+ "key": "QK_OUTPUT_PREV",
+ "aliases": [
+ "OU_PREV"
+ ]
+ },
+ "0x7782": {
+ "group": "connection",
+ "key": "QK_OUTPUT_NONE",
+ "aliases": [
+ "OU_NONE"
+ ]
+ },
+ "0x7783": {
+ "group": "connection",
+ "key": "QK_OUTPUT_USB",
+ "aliases": [
+ "OU_USB"
+ ]
+ },
+ "0x7784": {
+ "group": "connection",
+ "key": "QK_OUTPUT_2P4GHZ",
+ "aliases": [
+ "OU_2P4G"
+ ]
+ },
+ "0x7785": {
+ "group": "connection",
+ "key": "QK_OUTPUT_BLUETOOTH",
+ "aliases": [
+ "OU_BT"
+ ]
+ },
+
+ "0x7790": {
+ "group": "connection",
+ "key": "QK_BLUETOOTH_PROFILE_NEXT",
+ "aliases": [
+ "BT_NEXT"
+ ]
+ },
+ "0x7791": {
+ "group": "connection",
+ "key": "QK_BLUETOOTH_PROFILE_PREV",
+ "aliases": [
+ "BT_PREV"
+ ]
+ },
+ "0x7792": {
+ "group": "connection",
+ "key": "QK_BLUETOOTH_UNPAIR",
+ "aliases": [
+ "BT_UNPR"
+ ]
+ }
+ "0x7793": {
+ "group": "connection",
+ "key": "QK_BLUETOOTH_PROFILE1",
+ "aliases": [
+ "BT_PRF1"
+ ]
+ },
+ "0x7794": {
+ "group": "connection",
+ "key": "QK_BLUETOOTH_PROFILE2",
+ "aliases": [
+ "BT_PRF2"
+ ]
+ },
+ "0x7795": {
+ "group": "connection",
+ "key": "QK_BLUETOOTH_PROFILE3",
+ "aliases": [
+ "BT_PRF3"
+ ]
+ },
+ "0x7796": {
+ "group": "connection",
+ "key": "QK_BLUETOOTH_PROFILE4",
+ "aliases": [
+ "BT_PRF4"
+ ]
+ },
+ "0x7797": {
+ "group": "connection",
+ "key": "QK_BLUETOOTH_PROFILE5",
+ "aliases": [
+ "BT_PRF5"
+ ]
+ },
+ }
+}
diff --git a/data/constants/keycodes/keycodes_0.0.5_quantum.hjson b/data/constants/keycodes/keycodes_0.0.5_quantum.hjson
new file mode 100644
index 0000000000..814cd66a5b
--- /dev/null
+++ b/data/constants/keycodes/keycodes_0.0.5_quantum.hjson
@@ -0,0 +1,7 @@
+{
+ "keycodes": {
+ "0x7C20": "!delete!", // old QK_OUTPUT_AUTO
+ "0x7C21": "!delete!", // old QK_OUTPUT_USB
+ "0x7C22": "!delete!", // old QK_OUTPUT_BLUETOOTH
+ }
+}