xfree86: os-support: drop obsolete Solaris specific LED defines
Historical legacy: the LED ID defines have/had different naming across various platforms - for better portability of the keyboard driver, those have been aliased to BSD's naming scheme. Meanwhile, lots of ancient platforms have been died or moved to other drivers (eg. Linux went to either evdev or libinput and not supported by the xf86-input-keyboard driver anymore). The only remaining possible consumer is Solaris. But it has it's own dedicated code (sun_kbd.c in xf86-input-keyboard), which already using the Solaris' naming. Therefore, there's no actual consumer of them left, so we can drop them. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1418>
This commit is contained in:
parent
052909ab9b
commit
0cb8a76a9f
|
@ -151,11 +151,6 @@ extern _X_HIDDEN char xf86SolarisFbDev[PATH_MAX];
|
||||||
#undef STRING
|
#undef STRING
|
||||||
#undef LEFTALT
|
#undef LEFTALT
|
||||||
#undef RIGHTALT
|
#undef RIGHTALT
|
||||||
|
|
||||||
#define LED_CAP LED_CAPS_LOCK
|
|
||||||
#define LED_NUM LED_NUM_LOCK
|
|
||||||
#define LED_SCR LED_SCROLL_LOCK
|
|
||||||
#define LED_COMP LED_COMPOSE
|
|
||||||
#endif /* __sun */
|
#endif /* __sun */
|
||||||
|
|
||||||
#if !defined(VT_ACKACQ)
|
#if !defined(VT_ACKACQ)
|
||||||
|
|
Loading…
Reference in New Issue