[MOD] Xposed Additions mod: More versatile buttons

gerhardo

Senior Member
Aug 23, 2013
294
91
0
Forget hidden part. Read again what you said and mapped Windows button to 'something'. Now everythings working fine!:p
Please try the 3.4.1.4 update and report how it works. Should be working without the need to configure keys.

The previous handling was not preserving the original key events why the meta state could be lost.
The original code made some attempts for that, but the events were lost. I modified this handling, even if it probably means that my changes will be harder to merge to the original.
The initial changes was fine, but the code was too messy so I rewrote the handling again, took quite some time...

If the changes work fine for other users, I will post in the original thread again, these changes probably addresses most of the problems with unwanted changes that the module introduces.
 
  • Like
Reactions: bjrmd

Spere

Senior Member
Aug 7, 2013
465
165
63
Please try the 3.4.1.4 update and report how it works. Should be working without the need to configure keys.

The previous handling was not preserving the original key events why the meta state could be lost.
The original code made some attempts for that, but the events were lost. I modified this handling, even if it probably means that my changes will be harder to merge to the original.
The initial changes was fine, but the code was too messy so I rewrote the handling again, took quite some time...

If the changes work fine for other users, I will post in the original thread again, these changes probably addresses most of the problems with unwanted changes that the module introduces.
I will check it at christmas holidays when ever I got time.

Okay @gerhardo. I installed this new update and so far this module is working like a dream. I can't notice anykind of delay while typing with my BT keyboard, but all my shortcuts/combos are working just fine.

Thank you a thousand times, again.

I'll come back here if I find any bug, but so far so good.
 
Last edited:

gerhardo

Senior Member
Aug 23, 2013
294
91
0
Gerhardo, what does it mean "Extend license unlimited, as Pro license are not available" ?
This is a private build of the source from dk_zero-cool with many changes. The Pro features was previously extended month by month to try my changes out before they hopefully were merged.
The latest builds has extended the license indefinitely.
 
  • Like
Reactions: bjrmd and gorast358

gorast358

Senior Member
Mar 19, 2011
86
8
0
Where is option "Check Unconfigured Primary Key" ? And , can i disable vibrate when i do double click ? Also i have 2 virtual buttons : back and menu i didn't change them but they do not vibrate any more .
I have lg g pro with android 4.1.2 .
Thank you for the mod .
 
Last edited:

gerhardo

Senior Member
Aug 23, 2013
294
91
0
Where is option "Check Unconfigured Primary Key" ? And , can i disable vibrate when i do double click ? Also i have 2 virtual buttons : back and menu , they does not vibrate any more .
I have android 4.1.2 .
Thank you for the mod .
In 3.4.1.3, you had to use that option if you had a key only in combi operations, say Home-Vol+ but not Home only.
This configuration is not needed (or available) since 3.4.1.4

My mod tries to keep default handling in some more situations than the original module.
A few situations remain, will try to change that too. The handling is too complicated already, but next build handles one more situation.
Hopefully it handles the virtual keys better.

There is no extra haptic feedback for double tap. This mod adds feedback at longpress and long-long press compared to the original module, all at key down. This can be disabled, but not in GUI (long-long is hard to control otherwise).
 

gorast358

Senior Member
Mar 19, 2011
86
8
0
Ok. The bottons are not virtual they on the phone itself.
And the feadback on them worked in original mod
(But had another problems).
I have lg g pro with android 4.1.2.
And no, the latest version 2014-12-29 3.4.1.8 not helping.
 
Last edited:

gerhardo

Senior Member
Aug 23, 2013
294
91
0
And no, the latest version 2014-12-29 3.4.1.8 not helping.
Are the keys mapped?
The change in 3.4.1.8 could have made a difference for unmapped keys. Same there?
3.1.4.9 should not be different than 3.4.1.8.
If the problem occurs without any configuration for the keys, I hope there is a workaround, this is what I want to get away from.
If it occurs to mapped keys you more or less need the device and the source code.

However, can you please use 3.4.1.9, enable debug in the app and take a full logcat?
(I need the configuration too)
(Both mapped/unmapped, if that was a difference.)
 

TigerSoul925

Senior Member
Apr 15, 2010
200
28
0
I'm having some severe issues with this version of the mod. The things I've set to happen on long presses aren't happening. Instead other things happen. I've set recent app to long press multitask and long press back to menu. When I long press the buttons I get everything from google now, search-button and S-finder. What the heck? ;) Never got to test the wake-lag due to the issues.
 

gerhardo

Senior Member
Aug 23, 2013
294
91
0
I'm having some severe issues with this version of the mod. The things I've set to happen on long presses aren't happening. Instead other things happen. I've set recent app to long press multitask and long press back to menu. When I long press the buttons I get everything from google now, search-button and S-finder. What the heck? ;) Never got to test the wake-lag due to the issues.
The launching of functions is the same as in the standard module.
One thing that is different though is that if you map a key to long press and hold long-long, you get the long press for the mapped key.
The standard action for long press menu is search, I have no idea why the search actions are cycled.
Why do you map multitask to recent apps, is there a difference in appearance?
I have heard Long press recent apps is Menu by default on Note 4.
 

TigerSoul925

Senior Member
Apr 15, 2010
200
28
0
The launching of functions is the same as in the standard module.
One thing that is different though is that if you map a key to long press and hold long-long, you get the long press for the mapped key.
The standard action for long press menu is search, I have no idea why the search actions are cycled.
Why do you map multitask to recent apps, is there a difference in appearance?
I have heard Long press recent apps is Menu by default on Note 4.
Default for long recent is menu on note 4 indeed. What I was looking for was making long recent become last app and instead move menu to long back. Weird part is, I have never been able to get search by long pressing anything before this mod :)
 

gerhardo

Senior Member
Aug 23, 2013
294
91
0
Released 3.5.0.1, based on the official 3.5.0, to add Lollipop compatibility.
(I had converted mostly myself, but adapted to the original module.)

Not ever interesting for Umeox x201 as Umeox very likely will not release Lollipop for x201, but the mod has other users.
 

vasilis_

Senior Member
Jan 5, 2015
187
8
0
So how can I make this happen?Any mini step2step guide for this one?My english are so bad that I cant make this throught the settings menu :(
 

gerhardo

Senior Member
Aug 23, 2013
294
91
0
So how can I make this happen?Any mini step2step guide for this one?My english are so bad that I cant make this throught the settings menu :(
* Enable module as usual for Xposed
* Open GUI for this app
* Select Buttons
* Add new Key
* Select the HW key, OK
* Select the key in the list
* Add new Condition; Screen On/Off normally
* Select the Condition
* Enable click/longpress combination
* Select key, action, shortcut to map to the key combination

Note that the kernel needs support to wake up from keys, so wakeup from volume may not work.
Something like Tasker or Llama can be used for the wakeup/sleep shortcuts. Test at least sleep shortcut from the launcher.
 

xtam

Senior Member
Jan 19, 2011
865
101
0
How can i map Settings -> Accessibilit -> Display -> Color Inversion action?
so i could quickly invert and revert colors in g900f marshmallow with key shortcut?
 

gerhardo

Senior Member
Aug 23, 2013
294
91
0
If you are to use MM, you need to use the official app, not my mod. When my Omate broke and my patches were not accepted, I stopped maintaining the mod.

You can call Shortcuts an programs from buttons, similar to shortcuts on the home screen.
For specific actions like this, you normally need a specific app that implements access (sometimes root is required).
 
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone