File tree Expand file tree Collapse file tree 6 files changed +5
-303
lines changed Expand file tree Collapse file tree 6 files changed +5
-303
lines changed Original file line number Diff line number Diff line change @@ -2,14 +2,7 @@ CC= sdcc
2
2
ASM = sdas8051
3
3
OBJCOPY = objcopy
4
4
PACKIHX = packihx
5
- # FLASHER = sinowealth-kb-tool write -p noodle
6
5
FLASHER = sinowealth-kb-tool write -p nuphy-air60
7
- # FLASHER = sinowealth-kb-tool write -p custom \
8
- # --flash_size 61440 \
9
- # --bootloader_size 4096 \
10
- # --page_size 2048 \
11
- # --vendor_id 0xdead \
12
- # --product_id 0xbeef
13
6
14
7
SRCDIR = src
15
8
OBJDIR = obj
@@ -25,8 +18,6 @@ CODE_SIZE ?= 0xf000 # 61440 bytes (leaving the remaining 4096 for bootloader)
25
18
26
19
SMK_VERSION ?= alpha
27
20
28
- # USB_VID ?= 0xdead
29
- # USB_PID ?= 0xbeef
30
21
# Ease backup & restore process by keeping same vid & pid as nuphy-air60
31
22
USB_VID ?= 0x05ac
32
23
USB_PID ?= 0x024f
Original file line number Diff line number Diff line change 5
5
/* send report */
6
6
void host_keyboard_send (report_keyboard_t * report )
7
7
{
8
- #if defined(NKRO_ENABLE ) && defined(NKRO_SHARED_EP )
9
-
10
- if (keyboard_protocol && keymap_config .nkro ) {
11
- /* The callers of this function assume that report->mods is where mods go in.
12
- * But report->nkro.mods can be at a different offset if core keyboard does not have a report ID.
13
- */
14
- report -> nkro .mods = report -> mods ;
15
- report -> nkro .report_id = REPORT_ID_NKRO ;
16
- } else
17
- #endif
18
- {
19
- #ifdef KEYBOARD_SHARED_EP
20
- report -> report_id = REPORT_ID_KEYBOARD ;
21
- #endif
22
- }
23
-
24
8
usb_send_report (report );
25
9
}
You can’t perform that action at this time.
0 commit comments