qmk / qmk_firmware

Open-source keyboard firmware for Atmel AVR and Arm USB families
https://qmk.fm
GNU General Public License v2.0
18.09k stars 38.89k forks source link

[Bug] wrong definition of digitizer endpoint #23849

Closed jhorology closed 4 months ago

jhorology commented 4 months ago

Describe the Bug

https://github.com/qmk/qmk_firmware/blob/fa6d23235bf429446250cd5212e209d5fbfdbac2/tmk_core/protocol/chibios/usb_endpoints.c#L63-L65

I think this is a mistake. It should be USB_ENDPOINT_IN_DIGITIZER instead of USB_ENDPOINT_IN_JOYSTICK, shouldn't it?

Keyboard Used

No response

Link to product page (if applicable)

No response

Operating System

No response

qmk doctor Output

No response

Is AutoHotKey / Karabiner installed

Other keyboard-related software installed

No response

Additional Context

No response

jhorology commented 4 months ago

And also 5th parameter of QMK_USB_ENDPOINT_IN() is missing.

KarlK90 commented 4 months ago

@jhorology thanks for reporting this error, I have opened #23854 to fix this.