[Lazarus] Keyboard info

Mark Morgan Lloyd markMLl.lazarus at telemetry.co.uk
Fri Feb 6 09:48:59 CET 2015

Marc Weustink wrote:

>>> setxkbmap -print
>>> or via program
>>> https://github.com/nonpop/xkblayout-state
>> Thanks, noted the program stuff which looks useful. I admit that I was 
>> rather expecting to be pointed brusquely at some existing LCL or FCL 
>> stuff... can I get e.g. current country from locale stuff, and where do
>> I find it?
> There isn't. The attached keyboard is in no way related to a locale. Even if you know the country, there may exist multiple layouts.
> it took me a lot of work to only extract the necessary info to generate the correct VK_ codes

Thanks Marc, noted. I've got something with custom mappings that I want 
to work properly with IBM and Sun keyboards for both UK and US layouts, 
but that's as far as I'm going.

Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]

More information about the Lazarus mailing list