Summary: | [wishlist] API to use keyboard-specific XkbOptions | ||
---|---|---|---|
Product: | Wayland | Reporter: | Vasilij Schneidermann <mail> |
Component: | libinput | Assignee: | Wayland bug list <wayland-bugs> |
Status: | RESOLVED WONTFIX | QA Contact: | |
Severity: | enhancement | ||
Priority: | medium | CC: | peter.hutterer |
Version: | 1.5.0 | ||
Hardware: | x86-64 (AMD64) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Vasilij Schneidermann
2016-10-10 14:50:20 UTC
Hi, the library you are looking for to programmatically configure is xkbcommon, http://xkbcommon.org/ . Each compositor has it's own way of configuring things. If you really need two completely separate keyboard configurations, it might be necessary to assign the keyboard devices to two different 'wl_seat' objects. That way they become independent. see Pekka's answer, libinput sits below xkb and merely forwards the keycodes, independent of any layout that may be applied later. The layout configuration is the task of the compositor, not something we do/can/want to control from within libinput |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.