Files
qmk_firmware/keyboards/keychron
rootiest df671b656b fix(q5_max): fix RAW_EPSIZE and via_command_kb hook conflict
Two build errors:

1. RAW_EPSIZE undeclared — usb_descriptor.h is not in scope when
   keymap.c is compiled through Keychron's build path. Replace all
   uses with HID_PACKET_SIZE (= 32), now defined in hid_protocol.h.

2. via_command_kb duplicate symbol — keychron_raw_hid.c already defines
   via_command_kb (non-weak) so we cannot redefine it in keymap.c.

Fix by adding a weak kc_raw_hid_rx_kb() extension hook to
keychron_raw_hid.c (following the same pattern as kc_rgb_matrix_rx).
kc_raw_hid_rx() now calls this hook from its default case instead of
returning false directly. The keymap overrides kc_raw_hid_rx_kb() to
handle our custom HID command range (0x40-0x7E).
2026-04-10 15:10:14 -04:00
..
2024-11-15 17:47:02 +08:00
2024-11-27 18:04:06 +08:00
2024-11-18 18:54:24 +08:00
2025-03-25 16:16:19 +08:00
2024-08-19 12:21:40 +08:00
2024-03-07 11:13:53 +08:00
2024-11-15 15:48:52 +08:00
2024-04-12 11:16:25 +08:00
2026-03-16 19:07:27 +08:00
2025-12-08 10:14:28 +08:00
2025-09-09 12:31:34 +08:00
2024-11-29 18:23:30 +08:00
2024-04-12 10:25:22 +08:00
2024-02-17 10:13:05 +08:00
2025-01-17 15:08:58 +08:00