Skip to content

Commit 1389ecc

Browse files
committed
Fix some known bugs.
1 parent ddd97c6 commit 1389ecc

4 files changed

Lines changed: 6 additions & 7 deletions

File tree

keyboards/nuphy/air75_v2/ansi/info.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"usb":{
55
"vid": "0x19F5",
66
"pid": "0x3245",
7-
"device_version": "0.0.1",
7+
"device_version": "0.0.2",
88
"no_startup_check": true
99
},
1010
"features": {
@@ -92,7 +92,6 @@
9292

9393
{"matrix": [1, 16], "x": 150, "y": 10, "flags": 4},
9494
{"matrix": [1, 13], "x": 130, "y": 10, "flags": 4},
95-
{"matrix": [1, 13], "x": 130, "y": 10, "flags": 4},
9695
{"matrix": [1, 12], "x": 120, "y": 10, "flags": 4},
9796
{"matrix": [1, 11], "x": 110, "y": 10, "flags": 4},
9897
{"matrix": [1, 10], "x": 100, "y": 10, "flags": 4},

keyboards/nuphy/air75_v2/ansi/keymaps/via/keymap.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
2121

2222
// layer Mac
2323
[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,
24+
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,
2525
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,
2626
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,
2727
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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
c# NuPhy Air75 V2
22

33
*NuPhy Air75 V2 is a standard 84 key keyboard.*
4-
![NuPhy Air75 V2](https://i.imgur.com/D3XVyl3h.jpeg)
4+
![NuPhy Air75 V2](https://bit.ly/486pSkN)
55

66
* Keyboard Maintainer: [nuphy](https://github.com/nuphy-src)
77
* Hardware Supported: NuPhy Air75 V2 PCB

keyboards/nuphy/air75_v2/ansi/rf.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -181,10 +181,10 @@ void uart_send_report_func(void)
181181
memcpy(bytekb_report_buf, keyboard_report->raw, 8);
182182
uart_send_report(CMD_RPT_BYTE_KB, bytekb_report_buf, 8);
183183
}
184-
else if ((dev_info.sys_sw_state == SYS_SW_WIN) && (memcmp(bitkb_report_buf, &keyboard_report->nkro.mods, 16))) {
184+
else if ((dev_info.sys_sw_state == SYS_SW_WIN) && (memcmp(bitkb_report_buf, &keyboard_report->nkro.mods, KEYBOARD_REPORT_BITS+1))) {
185185
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);
186+
uart_auto_nkey_send(bitkb_report_buf, &keyboard_report->nkro.mods, KEYBOARD_REPORT_BITS+1);
187+
memcpy(&bitkb_report_buf[0], &keyboard_report->nkro.mods, KEYBOARD_REPORT_BITS+1);
188188
}
189189
else if (timer_elapsed32(interval_timer) > 100) {
190190
interval_timer = timer_read32();

0 commit comments

Comments
 (0)