PaulStoffregen / PS2Keyboard

PS/2 Keyboard Library for Arduino
http://www.pjrc.com/teensy/td_libs_PS2Keyboard.html
152 stars 58 forks source link

italian keyboard AltGr fix #19

Open alejho opened 6 years ago

alejho commented 6 years ago

I fixed some errors in the italian keymap's behaviour (with AltGr pressed). As far I can understand from my hobbyist knowledge this library can convert in utf-8 (two) byte sequences the iso8859 code mapped on a given key. Each code is represented by a single byte, so codes bigger than 255 can't be handled by this library. For this reason some characters (see below) you can get in the Italian keyboard with AltGr aren't displayable.

ł€ŧ←↓→đŋħ“”

I think it could be possible to made some changes at the library to made displayable the missing characters but this doesn't really worth the overhead since this characters are really unusual (or better..they doesn't exist) in the italian alphabet. Ciao!