Jump to content

[Encoder] Swedish Keyboard Encoder


skyn3t

Recommended Posts

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 by midnitesnake
Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...