You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
root@DietPi:~/prince# lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 005: ID 045e:028e Microsoft Corp. Xbox360 Controller
Bus 001 Device 006: ID 046d:c534 Logitech, Inc. Unifying Receiver
Bus 001 Device 004: ID 2341:8036 Arduino SA Leonardo (CDC ACM, HID)
Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
So, doing this makes the errors go away: env SDL_HIDAPI_IGNORE_DEVICES=0x046d/0x0000 prince
So I went and tried adding this in src/joystick/SDL_joystick.c inside SDL_bool SDL_ShouldIgnoreJoystick():
MAKE_VIDPID(0x046d, 0xc534), /* Logitech Unifying Receiver for K220 Keyboard and Mouse combo */
and also tried
MAKE_VIDPID(0x046d, 0x0000), /* Logitech Unifying Receiver for K220 Keyboard and Mouse combo */
...but the errors still appear.
Only SDL_HIDAPI_IGNORE_DEVICES=0x046d/0x0000 seems to work!
Any idea on how to correctly fix this?
Thanks!
The text was updated successfully, but these errors were encountered:
Hi there,
Recently I noticed that some errors are appearing on the TTY when running SDL2 programs:
Now, let's see.
lsusb reports this:
So, doing this makes the errors go away:
env SDL_HIDAPI_IGNORE_DEVICES=0x046d/0x0000 prince
So I went and tried adding this in
src/joystick/SDL_joystick.c
insideSDL_bool SDL_ShouldIgnoreJoystick()
:MAKE_VIDPID(0x046d, 0xc534), /* Logitech Unifying Receiver for K220 Keyboard and Mouse combo */
and also tried
MAKE_VIDPID(0x046d, 0x0000), /* Logitech Unifying Receiver for K220 Keyboard and Mouse combo */
...but the errors still appear.
Only
SDL_HIDAPI_IGNORE_DEVICES=0x046d/0x0000
seems to work!Any idea on how to correctly fix this?
Thanks!
The text was updated successfully, but these errors were encountered: