We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ddd97c6 commit 1389eccCopy full SHA for 1389ecc
4 files changed
keyboards/nuphy/air75_v2/ansi/info.json
@@ -4,7 +4,7 @@
4
"usb":{
5
"vid": "0x19F5",
6
"pid": "0x3245",
7
- "device_version": "0.0.1",
+ "device_version": "0.0.2",
8
"no_startup_check": true
9
},
10
"features": {
@@ -92,7 +92,6 @@
92
93
{"matrix": [1, 16], "x": 150, "y": 10, "flags": 4},
94
{"matrix": [1, 13], "x": 130, "y": 10, "flags": 4},
95
- {"matrix": [1, 13], "x": 130, "y": 10, "flags": 4},
96
{"matrix": [1, 12], "x": 120, "y": 10, "flags": 4},
97
{"matrix": [1, 11], "x": 110, "y": 10, "flags": 4},
98
{"matrix": [1, 10], "x": 100, "y": 10, "flags": 4},
keyboards/nuphy/air75_v2/ansi/keymaps/via/keymap.c
@@ -21,7 +21,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
21
22
// layer Mac
23
[0] = LAYOUT_ansi_84(
24
- KC_ESC, KC_BRID, KC_BRIU, MAC_TASK, MAC_SEARCH, MAC_VOICE, MAC_CONSOLE,KC_MPRV, KC_MPLY, KC_MNXT, KC_MUTE, KC_VOLD, KC_VOLU, MAC_PRTA, KC_INS, KC_DEL,
+ KC_ESC, KC_BRID, KC_BRIU, MAC_TASK, MAC_SEARCH, MAC_VOICE, MAC_DND, KC_MPRV, KC_MPLY, KC_MNXT, KC_MUTE, KC_VOLD, KC_VOLU, MAC_PRTA, KC_INS, KC_DEL,
25
KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_PGUP,
26
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_PGDN,
27
KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_HOME,
keyboards/nuphy/air75_v2/ansi/readme.md
@@ -1,7 +1,7 @@
1
c# NuPhy Air75 V2
2
3
*NuPhy Air75 V2 is a standard 84 key keyboard.*
-
+
* Keyboard Maintainer: [nuphy](https://github.com/nuphy-src)
* Hardware Supported: NuPhy Air75 V2 PCB
keyboards/nuphy/air75_v2/ansi/rf.c
@@ -181,10 +181,10 @@ void uart_send_report_func(void)
181
memcpy(bytekb_report_buf, keyboard_report->raw, 8);
182
uart_send_report(CMD_RPT_BYTE_KB, bytekb_report_buf, 8);
183
}
184
- else if ((dev_info.sys_sw_state == SYS_SW_WIN) && (memcmp(bitkb_report_buf, &keyboard_report->nkro.mods, 16))) {
+ else if ((dev_info.sys_sw_state == SYS_SW_WIN) && (memcmp(bitkb_report_buf, &keyboard_report->nkro.mods, KEYBOARD_REPORT_BITS+1))) {
185
no_act_time = 0;
186
- uart_auto_nkey_send(bitkb_report_buf, &keyboard_report->nkro.mods, 16);
187
- memcpy(&bitkb_report_buf[0], &keyboard_report->nkro.mods, 16);
+ uart_auto_nkey_send(bitkb_report_buf, &keyboard_report->nkro.mods, KEYBOARD_REPORT_BITS+1);
+ memcpy(&bitkb_report_buf[0], &keyboard_report->nkro.mods, KEYBOARD_REPORT_BITS+1);
188
189
else if (timer_elapsed32(interval_timer) > 100) {
190
interval_timer = timer_read32();
0 commit comments