forestgao / jota-text-editor

Automatically exported from code.google.com/p/jota-text-editor
0 stars 0 forks source link

Pipe character does not work on Transformer Prime #2

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The pipe chracter does not work on the Transformer Prime (german QWERTZ 
keyboard dock).

Steps to reproduce:
1. press and hold the "Alt Gr/Alt"-key
2. press "<>" key

=> no output

Original issue reported on code.google.com by mikeluto on 15 Jan 2012 at 12:20

GoogleCodeExporter commented 9 years ago
I don't have qwertz keyboard. 
So I don't have no idea about this.

Question
1. How about '@''μ' keys?
2. How about on another apps?
3. On Jota, press back key on the left cornaer of the screen. (Down arrow)
   Then type altgr+<>.

Original comment by jiro.a...@gmail.com on 15 Jan 2012 at 12:31

GoogleCodeExporter commented 9 years ago
1. @ does not work, and I don't have a μ-key
2. it works in other apps (Ted text editor for example)
3. when I press the back key it justs asks me if I want to save or not.

Original comment by mikeluto on 15 Jan 2012 at 9:28

GoogleCodeExporter commented 9 years ago
Thanks,

But Sorry, I have no idea about this.

System must make key-events.
But I can't understand why that Jota doesn't recieve.

Sorry.

Original comment by jiro.a...@gmail.com on 15 Jan 2012 at 9:42

GoogleCodeExporter commented 9 years ago

Original comment by jiro.a...@gmail.com on 15 Jan 2012 at 9:43

GoogleCodeExporter commented 9 years ago
can't you make a debug version which displays all the recvied events?

Original comment by mikeluto on 15 Jan 2012 at 9:45

GoogleCodeExporter commented 9 years ago
OK, I'll try it.

Before it, download 'KeyEvent Display' app from Android Market.
And take a log for "|" key event.

Original comment by jiro.a...@gmail.com on 15 Jan 2012 at 9:49

GoogleCodeExporter commented 9 years ago
^ KeyDown:      action=0 code=58 repeat=0 meta=34 scancode=100 mFlags=8 
label='' chars='null' number='' 
^ KeyDown:      action=0 code=59 repeat=0 meta=65 scancode=0 mFlags=0 
label='' chars='null' number='' 
^ KeyDown:      action=0 code=73 repeat=0 meta=65 scancode=0 mFlags=0 
label='\' chars='null' number='\' 
^ KeyUp:        action=1 code=73 repeat=0 meta=65 scancode=0 mFlags=0 
label='\' chars='null' number='\' 
^ KeyUp:        action=1 code=59 repeat=0 meta=0 scancode=0 mFlags=0 
label='' chars='null' number='' 
^ KeyUp:        action=1 code=58 repeat=0 meta=0 scancode=100 mFlags=8 
label='' chars='null' number='' 
-------------------------
^ KeyDown:      action=0 code=58 repeat=0 meta=34 scancode=100 mFlags=8 
label='' chars='null' number='' 
^ KeyDown:      action=0 code=59 repeat=0 meta=65 scancode=0 mFlags=0 
label='' chars='null' number='' 
^ KeyDown:      action=0 code=9 repeat=0 meta=65 scancode=0 mFlags=0 
label='2' chars='null' number='2' 
^ KeyUp:        action=1 code=9 repeat=0 meta=65 scancode=0 mFlags=0 
label='2' chars='null' number='2' 
^ KeyUp:        action=1 code=59 repeat=0 meta=0 scancode=0 mFlags=0 
label='' chars='null' number='' 
^ KeyUp:        action=1 code=58 repeat=0 meta=0 scancode=100 mFlags=8 
label='' chars='null' number='' 

the first is | and the 2nd is @

thanks!

Original comment by mikeluto on 15 Jan 2012 at 9:53

GoogleCodeExporter commented 9 years ago
Hmn,

It seems that keyboard driver emulates
'|'(Altgr+<>) => SHIFT+'\'
'@'(Altgr+Q)  => SHIFT+'2'

This is the layout of US-keyboard.

Why?

I'll consider it.
Give me a time.

Thanks,
Jiro

Original comment by jiro.a...@gmail.com on 15 Jan 2012 at 10:36

GoogleCodeExporter commented 9 years ago
My OS-language is english. My keyboard-layout is german (software and hardware).
Maybe thats the reason?

Original comment by mikeluto on 15 Jan 2012 at 10:39

GoogleCodeExporter commented 9 years ago
Maybe not.

Original comment by jiro.a...@gmail.com on 15 Jan 2012 at 10:42

GoogleCodeExporter commented 9 years ago
hmm, good luck then and thanks for your time! :)

Original comment by mikeluto on 15 Jan 2012 at 10:44

GoogleCodeExporter commented 9 years ago
Hi,

Try attached apk.
This is my version of key event logger.

Sample screenshot is the result below sequence with US keyboard.
a z | @ ctrl-a ctrl-c

Before logging, remember to dismiss IME.

Thanks,
Jiro

Original comment by jiro.a...@gmail.com on 15 Jan 2012 at 1:42

Attachments:

GoogleCodeExporter commented 9 years ago
I pressed "a z | @ ctrl-a ctrl-c", like you.
I hope it helps!

Original comment by mikeluto on 15 Jan 2012 at 1:57

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks,

Log was different. So somthing is wrong...
I can't understand...

Original comment by jiro.a...@gmail.com on 15 Jan 2012 at 2:38

GoogleCodeExporter commented 9 years ago
The characters show up unitl I press the next one

Original comment by mikeluto on 15 Jan 2012 at 3:01

GoogleCodeExporter commented 9 years ago
Hi,

I considered but I have no clue to solve this problem.

Behaviour of the KeyEvent class is differ from my honeycomb tab 
or aosp source.
I think that ASUS customized something.

I can't solve this.
Very sorry.

Original comment by jiro.a...@gmail.com on 16 Jan 2012 at 1:31

GoogleCodeExporter commented 9 years ago
Can't you just dedect the Transformer Prime and change the behavior?
I can supply you with any information you need..

Original comment by mikeluto on 16 Jan 2012 at 1:34

GoogleCodeExporter commented 9 years ago
If I had a real Tranformer Prime with QWERTZ keyboard, I can debug it.
But...

For now, I have no idea about this issue.
I gave up.

Sorry

Original comment by jiro.a...@gmail.com on 17 Jan 2012 at 12:22

GoogleCodeExporter commented 9 years ago

Original comment by jiro.a...@gmail.com on 7 Feb 2012 at 1:43