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
SDL_GetKeyboardNameForID and SDL_GetMouseNameForID don't work very well to differentiate devices.
On Windows, everything is HID Keyboard Device (same as shown in the Device Manager).
On MacOS there is always only a single unnamed keyboard/mouse (although I have both the internal laptop keyboard/trackpad and 2 USB keyboards + 1 USB mouse)
Names should probably be changed to include some sort of differentiator (manufacturer, unique id, product id), and MacOS properly list connected devices.
Windows:
MacOS:
The text was updated successfully, but these errors were encountered:
TheMode
changed the title
Generic Keyboard/Mouse names
SDL3: Generic Keyboard/Mouse names
Feb 18, 2025
SDL_GetKeyboardNameForID
andSDL_GetMouseNameForID
don't work very well to differentiate devices.On Windows, everything is
HID Keyboard Device
(same as shown in the Device Manager).On MacOS there is always only a single unnamed keyboard/mouse (although I have both the internal laptop keyboard/trackpad and 2 USB keyboards + 1 USB mouse)
Names should probably be changed to include some sort of differentiator (manufacturer, unique id, product id), and MacOS properly list connected devices.
Windows:

MacOS:

The text was updated successfully, but these errors were encountered: