BackupGGCode / logkeys

a GNU/Linux keylogger that works!
Other
0 stars 0 forks source link

Support for Brazilian Portuguese (pt_BR) keys "/?" and <KP,> #93

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Using version 0.1.1b-svn (commit 5ef6b0dcb9e38e6137ad1579d624ec12107c56c3 from 
git), I noticed that current meymap file format is unable to support 2 keys 
from Brazilian Portuguese keyboards (pt_BR, sometimes also refered as "ABNT")

Key 59:
- between ";:" and right shift
- chars "/" (normal) and "?" (shifted)
- the same chars from US keyboard, but under a different keycode
- shows in log as <E-59>
- It can be seen in the suggested microsoft site

Key 79:
- In numeric keypad, last column, between "-" and "Enter", at right of <KP6>
- same char as US <KP.>, but different keycode
- shows in log as <E-79>
- Since we use comma as decimal separator, our char for keycode <KP.> (the key 
between <KP0> and KP_Enter>, also used for DEL when Numlock os off) is actually 
a comma.
- So we have: <KP.> is a comma, and the period is keycode 79

I also attached an improved keymap for pt_BR keyboards. It fixes some isues, 
but not the ones above.

Original issue reported on code.google.com by rodrigo....@gmail.com on 8 Aug 2012 at 3:07

Attachments: