2015-12-04 15:41 GMT-02:00 Daniel Stone <[email protected]>:

> 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
_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to