Yubico Forum https://forum.yubico.com/ |
|
[BUG] keyboard error https://forum.yubico.com/viewtopic.php?f=30&t=1006 |
Page 2 of 2 |
Author: | ifci [ Thu Nov 21, 2013 8:24 am ] |
Post subject: | Re: [BUG] keyboard error |
The personalisation-tool is written in C++, right? Sorry, but my C++-Skills suck I'm doing some research right now. Here's what I've found so far. I will edit this post as soon as my ideas are ready and have survived the reality-check Here Someone askes how to extract KBD-Layouts (in C#) and gets the answer that has done it and has a big documentation about it. Here we have some C++-Reference for KBD-Input classes. Possibly another way is, to extract the data from a DB and DLL-Files, more here. Article: Scan Codes Demystified Windows Layout Editor |
Author: | Klas [ Thu Nov 21, 2013 10:23 am ] |
Post subject: | Re: [BUG] keyboard error |
Yeah, one of the issues is to keep the tool completely cross-platform (windows, osx, linux, bsds...) There seems to exist an API in qt to get keyboard layout (http://qt-project.org/doc/qt-4.8/qappli ... nputLocale) so this could be used to detect what layout the user is currently using. The "issue" then would be to keep lists of relevant layouts for mapping characters <-> scancodes and have a good way to show the user what layout we think and maybe select between different.. /klas |
Page 2 of 2 | All times are UTC + 1 hour |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |