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 - [patch] Keyboard LEDs don't work on linux console
Summary: [patch] Keyboard LEDs don't work on linux console
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: events (show other bugs)
Version: HG 2.0
Hardware: x86_64 Linux
: P2 normal
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-10-31 14:50 UTC by Rainer Sabelka
Modified: 2018-10-31 22:01 UTC (History)
1 user (show)

See Also:


Attachments
Patch for SDL_evdev_kbd.c to make the keyboard LEDs working (1.11 KB, text/x-csrc)
2018-10-31 14:50 UTC, Rainer Sabelka
Details

Note You need to log in before you can comment on or make changes to this bug.
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