[ipxe-devel] #define KEYBOARD_MAP fi does not work
Joakim Tjernlund
Joakim.Tjernlund at infinera.com
Wed Feb 7 08:04:17 UTC 2018
On Thu, 1970-01-01 at 00:00 +0000, Michael Brown wrote:
> CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.
>
>
> On 06/02/18 08:28, Joakim Tjernlund wrote:
> > I want Swedish keyboard and added #define KEYBOARD_MAP fi
> > to my build(fi is the same layout as Swedish) but my keyboard is
> > still US(on my Lenovo Thinkpad 470s laptop)
>
> To which header file did you add this #define?
config/local/general.h
>
> The keyboard mapping is unfortunately imperfect since it's done on the
> basis of translating the ASCII characters returned by the BIOS: i.e. the
> BIOS first applies a US keymap and we then have to mangle the result
> into the closest possible approximation of the desired keymap.
>
> You can see the characters that iPXE is capable of translating in
> hci/keymap/keymap_fi.c. Is it failing to translate these characters
> (e.g. does Shift-7 fail to translate from '&' to '/')?
Yes, it is still &
>
> Thanks,
>
> Michael
More information about the ipxe-devel
mailing list