We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 4347

Summary: [patch] Keyboard LEDs don't work on linux console
Product: SDL Reporter: Rainer Sabelka <saba>
Component: eventsAssignee: Sam Lantinga <slouken>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2 CC: sezeroz
Version: HG 2.0   
Hardware: x86_64   
OS: Linux   
Attachments: Patch for SDL_evdev_kbd.c to make the keyboard LEDs working

Description Rainer Sabelka 2018-10-31 14:50:19 UTC
Created attachment 3426 [details]
Patch for SDL_evdev_kbd.c to make the keyboard LEDs working

When using SLD2 on a Linux console with the KMS/DRM video backend and Linux evdev keyboard support, the caps lock, scroll lock, and num lock leds do not work.

The attached patch adds ioctls for setting the LED state in SDL_evdev_kbd.c
Comment 1 Sam Lantinga 2018-10-31 22:01:41 UTC
This is in, thanks!
https://hg.libsdl.org/SDL/rev/d9a16c76d8d1