Yubico Forum

...visit our web-store at store.yubico.com
It is currently Tue Jan 30, 2018 2:54 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 12 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: Re: [BUG] keyboard error
PostPosted: Thu Nov 21, 2013 8:24 am 
Offline

Joined: Sun Nov 17, 2013 11:43 am
Posts: 8
The personalisation-tool is written in C++, right? Sorry, but my C++-Skills suck :D

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


Top
 Profile  
Reply with quote  

Share On:

Share on Facebook FacebookShare on Twitter TwitterShare on Tumblr TumblrShare on Google+ Google+

 Post subject: Re: [BUG] keyboard error
PostPosted: Thu Nov 21, 2013 10:23 am 
Offline
Site Admin
Site Admin

Joined: Thu Apr 19, 2012 1:45 pm
Posts: 148
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


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 12 posts ]  Go to page Previous  1, 2

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group