skyn3t Posted February 17, 2012 Share Posted February 17, 2012 I've modified the encoder to work for swedish keyboard layout. Source can be found at; http://pastebin.com/ckD1jdEN It does not support native chars like ÅÄÖ but full ascii and control keys are tested and working afaik. Quote Link to comment Share on other sites More sharing options...
no42 Posted February 17, 2012 Share Posted February 17, 2012 (edited) I've modified the encoder to work for swedish keyboard layout. Source can be found at; http://pastebin.com/ckD1jdEN It does not support native chars like ÅÄÖ but full ascii and control keys are tested and working afaik. How are ÅÄÖ normally generated? looking at my code they normally replace ['; or {@: but the hid codes may be different. Edited February 17, 2012 by midnitesnake Quote Link to comment Share on other sites More sharing options...
skyn3t Posted February 17, 2012 Author Share Posted February 17, 2012 How are ÅÄÖ normally generated? looking at my code they normally replace ['; or {@: but the hid codes may be different. 00 00 2F 00 å 00 00 33 00 ö 00 00 34 00 ä 02 00 2F 00 Å 02 00 33 00 Ö etc The scan codes are the same on keyboards they are just interpreted differently depending on the language setting. It would be no problem mapping them like you map your ['; or {@: but I just figured there was no point. Quote Link to comment Share on other sites More sharing options...
no42 Posted February 20, 2012 Share Posted February 20, 2012 00 00 2F 00 å 00 00 33 00 ö 00 00 34 00 ä 02 00 2F 00 Å 02 00 33 00 Ö etc The scan codes are the same on keyboards they are just interpreted differently depending on the language setting. It would be no problem mapping them like you map your ['; or {@: but I just figured there was no point. Guess it depends if you ever need to use them? I leave it to the community. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.