[PATCH v3 06/10] kdrive: add options to set default XKB properties
Laércio de Sousa
laerciosousa at sme-mogidascruzes.sp.gov.br
Tue Dec 8 04:56:21 PST 2015
2015-12-04 15:41 GMT-02:00 Daniel Stone <daniel at fooishbar.org>:
> No, you can't. But, for full bonus doing-it-properly points, you'd
> want to get the XKB keymap in full (not the butchered core version)
> from the host server, and then supply that directly at init time, via
> an extra argument to InitKeyboardDeviceStruct(), or a new
> InitKeyboardDeviceStructWithKeymap(), or something.
>
Thank you all for the feedback!
I've just submitted a patch for Xephyr. I'm using another approach: change
kinput.c to call kdrive keyboard driver Init() *after*
InitKeyboardDeviceStruct(), so I can apply mapping changes within
EphyrKeyboardInit(), as I wanted.
I've tested the patch with my Dvorak Simplified Keyboard, and it works
pretty well.
Please take a look here:
https://patchwork.freedesktop.org/patch/67342/
Kind regards,
--
*Laércio de Sousa*
*Orientador de Informática*
*Escola Municipal "Professor Eulálio Gruppi"*
*Rua Ismael da Silva Mello, 559, Mogi Moderno*
*Mogi das Cruzes - SPCEP 08717-390*
Telefone: (11) 4726-8313
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg-devel/attachments/20151208/dfd55d45/attachment.html>
More information about the xorg-devel
mailing list