kailash-ratufa / hackerskeyboard

Automatically exported from code.google.com/p/hackerskeyboard
0 stars 0 forks source link

Support Polish alternate characters on hardware keyboard? #87

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Attach a hardware keyboard to a Galaxy Tab
2. Set the language to Polish in Hacker's Keyboard
3. On the hardware keyboard, press Alt + a,e,o,l,n,c,x,z

What is the expected output? What do you see instead?
Should get Polish letters (I'm unsure about the specific ones). The Tab shows a 
popup instead with selectable characters?
================

Note that I consider this to be a bit beyond the scope of the software 
keyboard, but I'll see if there's an easy fix for this. It may be possible to 
fix this via user-modifiable hardware key bindings (issue 84), but there may be 
an easier solution.

Apparently the "Polish Programmer Keyboard V2" got this working back in 2009 
for the G1 (Dream) phone's built-in hardware keyboard: 
https://market.android.com/details?id=com.example.inputmethod.popolsku

Original issue reported on code.google.com by Klaus.We...@gmail.com on 10 Oct 2011 at 5:53

GoogleCodeExporter commented 9 years ago
Found a thread about it: http://forum.xda-developers.com/showthread.php?t=515068

x21user wrote: "I used LatinIME from android git tree and modified so it does 
not use JNI (headache to install) and can be built under Eclipse. Then I added 
intercepting of hardware ALT and Shift to allow entering Polish characters."

Original comment by Klaus.We...@gmail.com on 10 Oct 2011 at 6:49

GoogleCodeExporter commented 9 years ago
From email: ALT + ... = ...
a = ą
e = ę
o = ó
s = ś
l = ł
z = ż
x = ź
c = ć
n = ń

example for A - Ą => 
http://dl.dropbox.com/u/26708812/Android/SC20111010-205825.png    from 0 to 3rd 
point - Right Alt + 'A'.

Original comment by Klaus.We...@gmail.com on 10 Oct 2011 at 8:03

GoogleCodeExporter commented 9 years ago
Can you modify the software part for Polish layout a bit? The most common 
Polish keyboard layout for full-sized computers is so-called Polish 
Programmer's. It's like US layout with these exceptions - RightAlt + key = 
other key:
a = ą
c = ć
e = ę
l = ł
n = ń
o = ó
s = ś
x = ź
z = ż

and capital letters:
A = Ą
C = Ć
L = Ł
N = Ń
O = Ó
S = Ś
X = Ź
Z = Ż

With the current Hacker's Keyboard layout it's kind of similar, as long-press 
results in an alternate character, with exception of ż and ź. ż is more 
common, so I'd like to ask you to make ż default for long-pressing 
z(eventually with ź as another alternative), and ź as default for 
long-pressing x; it would be also cool if in horizontal layout alt+key resulted 
in accented characters

Original comment by MSmia...@gmail.com on 13 Nov 2011 at 9:14

GoogleCodeExporter commented 9 years ago
See also issue 129, I've updated the long-press alternates for x and z.

Please try version 1.28rc5 (or later) from 
http://code.google.com/p/hackerskeyboard/downloads/list and let me know if that 
works as expected for you.

I'm looking into AltGr key support to make the character available that way.

Original comment by Klaus.We...@gmail.com on 21 Dec 2011 at 9:37

GoogleCodeExporter commented 9 years ago
It looks it's not working now, using latest version from Google Play (v1.33). 
Polish characters are OK using soft on-screen keyboard (these are the only 
choices available on-screen), but using hardware usb keyboard doesn't work for 
me. Neither left nor right alt. However, it works OK using right alt with 
"Polish Programmer Keyboard V2" mentioned here.

My hardware is Samsung Galaxy Note, Android ICS 4.0.3.

It looks strange anyway, seems to have different layout for hardware keyboard, 
look what alt+letter combination gives me:

alt+c = ç
ale+e = `
alt+s = β
alt+n = ~

Original comment by adam.czy...@gmail.com on 4 Jul 2012 at 6:04

GoogleCodeExporter commented 9 years ago
In my case, on my GT-p1000 now I get:
"#" instead od "ą" (alt+a),
"8" instead of "ź" (alt+x), 
"9" instead of "ć" (alt+c), 
"(" instead of "ó" (alt+o),
"'" instead of "ł" (alt+l),
"4" instead of "ś" (alt+s),
">" instead of "ń" (alt+n),
"2" instead of "ę" (alt+e)
Alt+z seems not to work at all, or yields "7" instead of "ż". 

What could be done about it?

Best regards,
Bartosz Malinowski

Original comment by barto...@gmail.com on 17 Jul 2012 at 4:46

GoogleCodeExporter commented 9 years ago
My systm seems to be gingerbread.
BM

Original comment by barto...@gmail.com on 17 Jul 2012 at 4:47