Julow / Unexpected-Keyboard

A lightweight virtual keyboard for developers.
GNU General Public License v3.0
1.25k stars 167 forks source link

Continuing to use v1.23.0 due to better spacebar line seeking implementation. #540

Closed Shpantze closed 4 months ago

Shpantze commented 4 months ago

Hey how's it going, I've had some issues with upgrades since 1.23 where the spacebar doesn't seem to allow moving back and forth through lines anymore in Acode (android app)... version 1.23 does work fine and I've been sticking with it, which is cool for me, but just thought I'd mention it for future versions.

sdrapha commented 4 months ago

I also like the old behavior better and I accomplish that with a custom layout

only including here the piece of code for the space key

<key width="4.6" key0="space" key5="left" key6="right" key7="switch_numeric" key8="switch_backward" slider= "true"/> 

*ignore the other extra keys, my layout is all the way unique from the default

With that, Acode will work just fine.

sdrapha commented 4 months ago

https://github.com/Julow/Unexpected-Keyboard/assets/25059996/0a121afb-1a83-40ad-b2ad-d852c152c58b

Spike-from-NH commented 4 months ago

I'm baffled. slider="true" is the key, but doesn't it function by generating left and right keystrokes as you move your finger horizontally? In fact, slider would seem to override key5 and key6.

You're saying Acode won't move from the end of one line to the start of the next line (nor back) with left and right keystrokes?

Julow commented 4 months ago

I think this is a bug in Acode. Related issue: https://github.com/deadlyjack/Acode/issues/907

A workaround is implemented in 2c52e94. Debug build: https://github.com/Julow/Unexpected-Keyboard/actions/runs/7770064675

sdrapha commented 4 months ago

Just to clarify my custom layout approach. The difference from the default layout is not the slider portion. The default layout has key5="cursor_left" then I changed it to key5="left" that is the older behavior with no new enhanced cursor navigating features.

Shpantze commented 4 months ago

I think this is a bug in Acode. Related issue: https://github.com/deadlyjack/Acode/issues/907

A workaround is implemented in 2c52e94. Debug build: https://github.com/Julow/Unexpected-Keyboard/actions/runs/7770064675

Great, thank you for your response!