grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

keyboard_layouts proof of concept


From: Carles Pina i Estany
Subject: keyboard_layouts proof of concept
Date: Sun, 17 Jan 2010 01:33:01 +0000
User-agent: Mutt/1.5.20 (2009-06-14)

Hi,

I've done a test, mainly to get more feedback from you.

Find it attached.

What it does:
a) It defines a new Kernel symbol to be used from at_keyboard.c and from
the new module keyboard_layouts.

b) When the new module "wants" it changes the active keyboard_layouts.

Big question:
* How to deal with USB keyboards? One option would be to add a middle
layer who receive some Grub key code and layouts are based on this
level. I have not looked into it yet

(doing some tests I renamed somethiing in the USB module, this is just a
test to avoid some clashes before)

If the proof of concept approach is the correct one I would define and
export a structure who would have the keymap and keymap_shift, instead
of having to export one variable per thing. Plus will be more scalable
for dead keys.

When this looks fine, my idea is to use the output of ckbcomp to prepare
the files that will be in /boot/grub/layouts and that Grub (the new
module) will read easily. Something like grub-mklayouts. 

I will think and implement other fancy things that we would need, like
changing between keyboards easily. I just want to go step by step and
maybe have something for trunk soon.

Now (only for some time) and tomorrow I'll be on the IRC, so feel free
to comment here (better for archiving) or there (better for questions
and answers).

Thanks,

-- 
Carles Pina i Estany
        http://pinux.info

Attachment: keyboard_layouts.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]