dukweeno / localekeyboard.js Goto Github PK
View Code? Open in Web Editor NEWModified Keyboard arduino lib to permit using different locale
License: MIT License
Modified Keyboard arduino lib to permit using different locale
License: MIT License
There is an index, but we need somebody to make a real page ;D
Deleted unsecure link
Hello,
All Alt Gr symbols doesn't work.
Example: Alt Gr + 4 = $
but in this code:
Alt Gr + 4 = 4
im having trouble making slovenian keyboard locale....i allmost got everything working except the alt-gr keys.
The software I've made generates a Keyboard.cpp according to our locale chosen.
This is the main idea: https://www.youtube.com/watch?v=gxE7GKLcC2w
Fin keyboard is missing backslash (\)
I want to install this into my Arduino app in mac, so i can upload a payload into a badusb ATMEGA32U4 with spanish keyboard layout.
These characters don't work, and i don't know hot to fix it. I though that i should document it here.
While adding Swedish, I noticed that listLocale is... a bit weird. It's not really in any order, and they use locale codes which messes a bit with things since keyboard layouts don't follow locale codes exactly.
The languages right now are:
United States us
United Kingdom uk
Germany gr
French fr
Belgium be *
Spain es
Finland su
Czech Republic cz
Denmark dk
Portugal po
Turkey tr
Italy it
Sweden sv
* I'm not sure about Belgian Keyboards. In the PR this is specified as Belgian dot (I find Belgian Period when googling about, so I guess that's the same), and then there's Belgian Comma, but according to the IBM paper I got all this from (http://www.borgendale.com/keyboard.pdf) there's just one Belgian layout. Very confusing. Perhaps @KevinDenys can shed some light on this?
Also, sample is listed as a language - I'm not sure if this is a debugging thing and supposed to be like that or not.
My suggestion is to rename them all to the correct keyboard layout names, remove sample from listLocale and adding a part in the wiki about what keyboard layout codes there are or something.
Another thing would be to do some kind of alphabetically sorting (but still keeping English on top), but then I guess they need to be presented better too - i.e. Finland rather than su.
If it's possible to use spaces in the .lang file names maybe the country names would be even better. United States.lang and United States in listLocale.
What do you think @nuRRL?
The @ key is not printing on the be_BE keyboard.
I used this line of code: Keyboard.print(F("@"));
Which doesn't work.
Ctrl + Alt + 2 does give me an @ but not via duckyscript.
hello, that's an great job, on DuckyDuino, my name is Leo from Rio de Janeiro, i'm looking for an way to get my keyboard right, since we here in Brazil type in an ABNT2 keyboard, there is some extra keys, like Ç...
the index.HTML doesnt work, i got some scan codes for ABNT2 that i've found Googling around, i'm just not 100% of sure if its the right ones...
Please, help me creating pt-BR Keyboard for my Ducky !!
I would love to help by providing a german keyboard layout but I have no idea how to do that.
A tutorial on how to create or to modify layouts and also on how to use any of the stuff on this rep would be nice.
@Borja-Garduno Here we are, we'll fix this locale :D
Hello,
there's a bug the german keyboard. If I want to let it type a backslash() it types a & instead.
pls fix xD
ConTRoniiX
Hello, I created the keyboard.cpp file according to the documentation, I wrote the code and after uploading to arduino (arduino micro - leonardo) I am not having success using punctuation, accentuation as required by the Portuguese language of Brazil.
I wonder if anyone else has or has had this problem or if someone could give me an aid in correcting this.
Ex:. :; ^~ `'{ [ } ]
Does not work correctly, incidentally, does not work, leaving spaces blank or simply empty.
How i can modify ES_es keyboard to es_lat??
Hello!
I´m trying to make a locale for swiss keyboard layout but I'm not able to do it. Can someone here pls help me? :)
We need somebody to end this file and to test the lib.
Hi!
I'm trying to make a locale for a French-Canadian keyboard and I'm having a bit of trouble figuring things out.
I've spent most of the afternoon modifying code-updating-trying-redo from start....
We have a lot important characters that use the AltGr key. Like @~[]{}´ and others that need to type a key followed by a space like ^
I noticed that the _altGrMap is needed but can't figure out that the number between [ ] is.
@d4n5h Please help -
fr_FR
powershell.exe -Command "Start-Process cmd -Verb RunAs"
turns into
powershell.exe §Command "Start§Process cmd §Verb RunAs"
Hi, I have some issues with the characters that need the combination of shift+altgr+(for example)è.
For example instead the brace it write only "è".
Thanks for the help.
While I was testing my layout I found out that not every character is tested by the string in the wiki.
This string contains all 95 character from the sample.lang:
!"#$%&'()*+,-./0123456789:;<=>?ABCDEFGHIJKLMNOPQRSTUVWXYZ[]^`_abcdefghijklmnopqrstuvwxyz{|}~ @
EDIT
GitHub is messing around with my string so here is a .txt file containing the string.
string.txt
Hello!
I´m trying to make a locale for Swedish keyboard layout but I´m having problem with these keys: \, ^, ` and ~. I´m very noob at this so a little bit of help should be good.
I have the Arduino Leonardo (atmega32u4) when this runs, it does not print these characters ~ < > \ .
I tried changing hex codes on the keyboard.cpp but it did not solve the issue.
Hello,
I didn't get an answer on my last Issue, so I thought i should repost it.
Bugs I found for the german keyboard:
\ is instead ß. I write it like this: ALT GR + ß
@ is instead q. I write it like this: ALT GR + Q
[ is instead 8 and ] is instead 9. I write them like this: SHIFT + 8 and SHIFT + 9
| is instead <. I write it like this: ALT GR + <
I hope you can fix it. I found a way to get around the first error (not using the backslash), but the other ones are unreplacable.
ConTRoniiX
If I try to print an backslash my arduino prints an "ß"
Does anybody got an idear ?
There are many errors with symbols in the danish locale file.
This is all the numbers and symbols at the numbers - "1234567890+´"
This is shift + numbers - "!"#¤%&/()=?"
This is alt + gr + 23457890´ - "@£$€{[]}|"
This is the symbol left for 1 - "½"
This is shift + the symbol left for 1 - "§"
This is all the letters from qaz and to the right. (you also don't have æøå)
"qwertyuiopå" + "¨" <-- this have to get pressed twice or with a following space.
"asdfghjklæø'"
"<zxcvbnm,.-"
With shift on the key left for z - ">"
With alt + gr on the key left for z - ""
With shift on the key right for m - ";"
With shift on the key two right for m - ":"
With shift on the key three right for m - "_"
With shift on the key right for ø - "*"
With shift on the key right for å - "^" (have to be pressed twice or with a following space)
With alt + gr on the key right for å - "~" (have to be pressed twice or with a following space)
I will make one for the norwegian layout, but i need to know how, lol. Any special apps or software i need to help me out?
We need somebody with a spanish keyboard to fill the file with correct ascii map.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.