send Keycode SHIFT+ARROW

Post your questions and help other users.

Moderator: Martin

User avatar
Martin
Posts: 4408
Joined: 09 Nov 2012 14:23

Re: send Keycode SHIFT+ARROW

Post by Martin » 06 May 2019 20:41

I'll add a new function getSelection that returns the start and end position of the current selection in the next build. Hope this helps.

anuraag
Posts: 280
Joined: 24 Jan 2015 02:06

Re: send Keycode SHIFT+ARROW

Post by anuraag » 07 May 2019 03:30

Getting position of cursor will help in this case. I will like to select text before or after cursor. Thats what shift+dpad will do.

@Desmanto where can i find keyevent logs?

User avatar
Desmanto
Posts: 2144
Joined: 21 Jul 2017 17:50

Re: send Keycode SHIFT+ARROW

Post by Desmanto » 08 May 2019 18:07

I installed keyevent display from playstore : https://play.google.com/store/apps/deta ... entdisplay
Then press the key or use bluetooth keyboard or Control UI to press the key.
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), Resurrection Remix Official 7.0.2 20190829, Pie 9.0, Rooted.

User avatar
Martin
Posts: 4408
Joined: 09 Nov 2012 14:23

Re: send Keycode SHIFT+ARROW

Post by Martin » 08 May 2019 19:15

I've found a way to generate the key events in a better way and it seems that DPAD_RIGHT+SHIFT+CTRL works now the same way that it works with a BT keyboard.
Please let me know if it also works for you when you try the latest EAP build that will be published soon.

anuraag
Posts: 280
Joined: 24 Jan 2015 02:06

Re: send Keycode SHIFT+ARROW

Post by anuraag » 08 May 2019 22:26

Works now
DPAD_LEFT+SHIFT
DPAD_LEFT+SHIFT+CTRL
DPAD_DOWN+SHIFT

Post Reply