forestgao / jota-text-editor

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

Cant use shortcuts on bluettooth keyboard #37

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
1 - I select a piece of text
2 - I click ctrl-C
3 - The text dissapears and the letter "c" appears instead of the highlighted 
word

Expected behavious would be to copy that text in the clipboard so I can paste 
it.

I checked the shortcut settings and under letter "C"the action is "copy".
Also I checked copy/pasting using the buttons provided on the bottom of the 
editor screen and they work fine which means there is an issue with the ctrl-C 
functionality.
I tried ctrl-A or Ctrl-V or ctrl-X and all got the same issue

What version of the product are you using? On what operating system?
Samsung note 2 with jelly bean 4.1.1
Jota text editor 0.2.29(79)
External blueetooth keyboard: matias.ca/onekeyboard

Please provide any additional information below.

Original issue reported on code.google.com by chrisva...@gmail.com on 27 Nov 2012 at 3:01

GoogleCodeExporter commented 9 years ago
Install the app "Key-Event Display" from Google play.
And take a log of ctrl-c.

Original comment by jiro.a...@gmail.com on 27 Nov 2012 at 3:21

GoogleCodeExporter commented 9 years ago
Hi
Please find print-screen requested. I pressed Ctrl filrst and then several 
tiomes "c".
Thanks for your help
Chris

Original comment by chrisva...@gmail.com on 3 Dec 2012 at 2:38

Attachments:

GoogleCodeExporter commented 9 years ago
I don't know why, but your 'ctrl-key' fired 'alt-key' event.
See Input Settings and check 'ALT-LEFT' or 'ALT-RIGHT'.

regards,
Jiro

Original comment by jiro.a...@gmail.com on 4 Dec 2012 at 1:48

GoogleCodeExporter commented 9 years ago
Hi Jiro
I checked both the left and right options, one after the other and both 
together and tested ctrl-c. Nothing different happened. I also tried to select 
the last checkbox in the "input settings" too. I also tried Jota+ and doesnt 
work there either (actually there I get a small popup with a letter similar to 
"c" and its all red). 
So you are saying that on my printscreen I press ctrl and the android picks up 
that I pick alt? Where do u see this on the prinscreen is it the "code=" or? 
What should I be expecting to see for a ctrl press?I can try all the buttons on 
my kebyoard until I see this code maybe?
Anything else you can advise?
Thank you again for your help Jiro - apreciate it!
Chris

Original comment by chrisva...@gmail.com on 6 Dec 2012 at 7:01

GoogleCodeExporter commented 9 years ago
Hi,

Ctrl key shuold be META=12288.

I don't know why your devices don't work.

Sorry,
Jiro

Original comment by jiro.a...@gmail.com on 7 Dec 2012 at 12:53

GoogleCodeExporter commented 9 years ago
Hi Jiro,
Is there any advice/tips that you can give me to point me to the right 
direction in order to debug this issue?
Anything is better than nothing:)
Thank you
Chris

Original comment by chrisva...@gmail.com on 8 Dec 2012 at 3:46

GoogleCodeExporter commented 9 years ago
Hi Jiro
I also bought another bluetooth keyboard and connected it to the phone to see 
what codes this generates and also connected a wired keyboard to the phone as 
well.

The first few clicks/lines on the printscreen are using the other  bluetooth 
keyboard and it does send correctly the "CTRL" code to the OS which is 
"META=12288". 
The last couple lines show what happens when I use the Matias One Keyboard and 
press "CTRL", the code to the OS is "META=196608"  (which is same code the 
other bluettooth keybaord creates when I press its "command" button). 
Also please note that the "CTRL" button and the "LEFT-ALT"button create the 
same code 196608 on the mattias keyboard.

Long story short, the Mattias One keyboard generates the wrong code 
(meta=196608 which should be the "command" button code instead of META=12288)  
when pressing the "CTRL" key.

I would really appreciate your help on this

Thanks
Chris 

Original comment by chrisva...@gmail.com on 11 Dec 2012 at 3:31

Attachments: