yashsingh1/xdaforums huggingface dataset:
[Xposed Framework Modules] dk_zero-cool:
I need an exact version that you are sure of. It's all that I have to base it on, since I cannot test anything myself. I don't have these devices.

Thanks, I will look at this tomorrow. I am not an expert in reading smali codes, so I need a clear head when going at it :)
[Xposed Framework Modules] siciliano777:
Sorry I'm an idiot today lol I'm pretty sure it was fine before 3.2.0.
[Xposed Framework Modules] dk_zero-cool:
Okay, I will try to assemble a test version for you tomorrow. I made a fix for one Note 3 ROM that I was afraid would break other Note 3's.
[Xposed Framework Modules] elevengu:
Here, try something. Set the long press delay to Normal and see if that fixes it. If so, try setting back to Short and see if you can make a really short click activate it (I can 100% if I try, but it's a bit inconvenient.)

Anyway, I'm pretty sure I've seen other people in this thread run into this. I worked around it myself, but I guess it's still worth pointing out. I don't know why, but the power button delay is (at least for some people) much shorter than the other keys. Someone earlier suggested the ability to set different delays for different keys, but that doesn't sound like a good solution.
[Xposed Framework Modules] abhi08638:
I have the exact same problem with my optimus 4x HD on beanstalk 4.4.2

Would you like me to send you mime as well?
[Xposed Framework Modules] ary12282:
Hi dk zero-cool

I have a little problem when using your Xposed Addition in "Cyrus t2017 chat" with qwerty keypad

Function for remapping button or add some nice feature working well

But It looks like the alt key and caps lock not working

When I use the ( alt key + w ) to change "w" to "1", it's still with "w"

Sorry for my poor english

Thank you in advance
[Xposed Framework Modules] Gia90:
I'm using SlimKat...but your xposed module used to work on this ROM some times ago..
[Xposed Framework Modules] paolo200:
Hi

The module works well on my galaxy note 3 with KK stock but it seems that remapping the buttons removes the ability to use the small virtual keys in the bottom which appear when one-hand windowed operation is enabled and the window is shrunk. Is there a solution or workaround for this? I really need that unique feature as my hands aren't that big and not always both free to use
[Xposed Framework Modules] siciliano777:
Thanks man, I appreciate it!

Yes, I was actually thinking this same exact thing yesterday - I set the long press delay to normal and the issue went away. It does seem for some odd reason that the power button delay is shorter than all the rest, but I figured I'd report it as a bug because I don't even have the power button configured within the app, so its behavior should remain default, no? Or does that option affect ALL buttons, regardless of whether or not they're setup within the app??

I would leave the long press delay as normal, but the back key actually has the opposite problem that the power button has lol (I forgot mention this to dk) the delay is LONGER than normal, and it drives me nuts. I have long press back set to display my recents, and it's noticeably slower than rest of the buttons. Regardless, it's still a lot better than not being able to configure the keys at all, so I'm very thankful for this app dk!

I do think a good solution (if even possible) would be to have the delay options configurable per button. That would solve both of my issues at once. :)
[Xposed Framework Modules] elevengu:
Xposed Additions takes over all buttons. It doesn't matter what you've set.

I'm pretty sure that the only button that is different is power. You might be confused because there's a delay for the long press, but there's also a (natural) delay for the action itself to occur. Try setting recents to click instead of long press to see what I mean.

When I got this phone, I didn't know that pretty much all other phones had back on the left and recents on the right. I thought Samsung's default mapping of menu on the left and back on the right was really stupid, so I changed it to what made sense to me, which it turns out is what the other phones already do. I still don't know what Samsung is thinking with most of their decisions. (It can't be a right-to-left written thing for Koreans, because the back arrow icon even points left!)

When I see Samsung phone owners mention their remappings, I notice they're all very conservative, like they'll tack on recents to long press of an existing button. And then this is why everyone has their long press delay set to Short and why there was such an outrage with early 3.x about the long press being longer than before. Take the plunge and put recents on click, and you'll probably like it! I could use long press delay of Normal and it wouldn't bother me. Having to push the power button really quickly is a bit annoying, but I'm on Short anyway.

It may sound like a good idea to end users, but software developers and UX designers know that it's not. ;) If you have a bug, the solution is to fix the bug, not code in more preferences just so some users can use them to work around the bug.
[Xposed Framework Modules] dk_zero-cool:
Exactly. The bug would still be there, and it would drive me nuts to think about.

B.t.w.

Could you maybe get a log of the fallowing.

Click Power Button

Long Press Power Button

Click Menu/Recent (Whatever you one you have)

Long Press Menu/Recent

This of cause with debug enabled. I would like to see the different behavior to figure out why the hell this happens. The module uses it's own internal delay which is the same for all keys. It should not be possible for this to be different depending on the keys.

And just to be clear. You don't have other modules enabled that handles keys?
[Xposed Framework Modules] pedro1977:
Great app, it appears to enable the answering and ending of calls when screen is locked in tandem with headset button controller/ headset droid with google now key mapped out. (Media next)

What I'm trying to get now is the functionalities that i have now with the ability to open either Google now and dialler with different Clicks with the screen locked or unlocked without the screen waking up in either case. If the screen is unlocked the screen will not lock until the headset is removed. Both options are sought but locked mode is the preference of the two. Any ideas with current apps or could this be built into yours or additions?

Edit:

Actually if the locked ability were implemented then the unlocked element would be less important.
[Xposed Framework Modules] impactor:
I installed this on newest TouchWiz on S4 mini and I bound Home long-press on lockscreen to turn on Torch/Flashlight.

But it does not have any effect. Is the Flashligh option broken, or does it require so additional software?
[Xposed Framework Modules] strikeru97:
Can this solve the problem that my HTC ONE get not found as an USB Stick if I connect it to the HEADUNIT to browse my files/music/videos ..?
[Xposed Framework Modules] xXYoshiXx:
Hi, there is a little bug with the camera key on my device. When I go to add a new button and press on the camera button the module recognizes camera + camera focus. The button has two click points, slightly pressing is focus, pressing until end is camera. Each time I press the button until the last click point both actions are recognized as the first click point is also being pressed. Is there a way to fix it? Now I only can configure camera focus our focus + camera, but not the camera button/click point itself as it always triggers the focus.

And could you add the option for app launching while screen is off? I would like to have some Tasker tasks activate by loading them into apps with app factory, but the app launching option is only possible when the screen is on.
[Xposed Framework Modules] gerhardo:
That may not work as expected, as the screen is off and the device inactive. But it may work with an app that also wakes the screen. It would probably bring confused users though, may have to behidden with a disclaimer.

I tried it briefly. Launched app with doublepress on Power, then I had to press Power again to wake screen

Maybe App shortcuts is a better option here.
[Xposed Framework Modules] Stauf99:
Just wanted to chime in and say i've been having the 'Second to Latest' application open as well.

When I've gotten really frustrated issuing that action it has even restarted my phone (S4) like it's fighting me back haha.

I'm so glad to hear you're working on it but I wish it was a little higher on this apps 'to do' list.

This is still the most useful mod out there, thank you so much
[Xposed Framework Modules] xclub_101:
One question that is a little unclear - if I buy the PRO version will I be able to launch custom shortcuts/intents?

What I am interested most is a way to "blindly" set my brightness to 100% when I am (in very bright sun) at the lockscreen (secured with pattern) and if the PRO version will let me run a LLAMA shortcut when for instance I long-press BACK or MENU things would be just fine!
[Xposed Framework Modules] pedro1977:
Download the app lux brightness
[Xposed Framework Modules] xXYoshiXx:
Just to make sure I understood you right: you launched an app while your screen was off using xposed additions? How did you do this?

App shortcuts would be great, but the dev told us he is working on it, so I thought it would be a bridge until he implements the shortcut function.
[Xposed Framework Modules] xclub_101:
In case that was a suggestion for me - thank you but I am not that interested in another program that will override whatever I would like to set manually, what I really want is to keep using my current (non-auto brightness) approach and just have a "manual emergency shortcut" in those very rare instance when I get out of house (and into extreme bright sunlight) in a hurry.
[Xposed Framework Modules] pedro1977:
Install 2 way brightness settings put the widget on the desktop in the settings select the 100% and the other(s) you most commonly use. If you set it correctly (takes a few weeks) Lux brightness will detect these subtle differences for you. There's also a similar system in gravity box o)
[Xposed Framework Modules] gerhardo:
I patched the code, when working on other changes that I try dk_zero-cool to include.

Launch app when screen is off will not work as most users expect, so unfortunately it is from a support perspective necessary to limit this option.

App shortcuts is on the list and a better way forward, I believe

---------- Post added at 09:24 PM ---------- Previous post was at 09:18 PM ----------

dk_zero-cool has said he is working on it, but the documentation is not too extensive.

Tasker with the App Factory should work.

(I use Llama myself and would like to see this. Maybe Tasker has more features, but I like Llama.)
[Xposed Framework Modules] xclub_101:
Thank you!

To be honest Llama is not even so essential for the actual use-case here, if the PRO version has a way to long-press on Menu or Back at the lockscreen and set the Brightness to 100% it would still be a perfect fix.
[Xposed Framework Modules] xXYoshiXx:
Okay, I'm waiting for the shortcut option.

But basically, in your earlier post you wrote that you launched the app but had to turn on the screen. This is exactly what I need, the screen doesn't need to turn on and unlock, the app just needs to be launched so that the task it contains can run. Other users may need the feature of turning on the screen as launching an app without the display turning on normally doesn't make sense.
[Xposed Framework Modules] bflmpsvz:
Xpsoed Additions (version 1.0.0) is no more registrable on Xposed installer 2.5. Could this be fixed?
[Xposed Framework Modules] impactor:
I installed several different Torch apps, but the flashlight still won't work. Neither on Lockscreen nor desktop.
[Xposed Framework Modules] egingell:
I highly doubt he's going to fix an outdated version of his mod so it works on the latest Xposed.

Sent from: SGS2 - JB 4.1.2 GB27 / SGS4 - JB 4.2.2 MF9
[Xposed Framework Modules] bjrmd:
Is it difficult to patch for screen off button remap to launch an app?

My rom kernel keeps a wake lock going anyway for a slide to wake function so I was trying to take advantage of another button function.
[Xposed Framework Modules] gerhardo:
The source is open. If dk_cool-zero falls under a bus, the mod can still survive. Pro keys are investing in future development.

It is semi tricky to build Xposed Additions.

I plan to release a public beta (with time limited Pro unlock) with this, but may keep it outside this thread.

(I do not have any plans to fork the mod, but dk_cool-zero has not yet accepted the patches.)

My changes are primarily triple actions and long-long press to get long press from mapped keys.
[Xposed Framework Modules] fufubrightman:
Hi, dear~ still me~

Thank you again and again for the update!!! (3.2.2)

And so so sorry for replying this late...

The settings (3.2.2) works while the device's asleep!! Yay!!

However... There is a little bit of delay of responding to earphone-buttons...

But, really really really feel wonderful about your masterpiece!!!

:highfive:

Love from China,

FFBB
[Xposed Framework Modules] siciliano777:
I can't find voice search in the app list... I can see it in my app drawer and I can use it as a shortcut on my home screen, but I don't see it in this app. I want to set long press home to be google voice search...is there a way to do this?

TIA!
[Xposed Framework Modules] egingell:
No such app exists. It's just called Google Search.

Sent from: SGS2 - JB 4.1.2 GB27 / SGS4 - JB 4.2.2 MF9
[Xposed Framework Modules] egingell:
Yeah. Google Search. Just because there's an icon in the drawer, it doesn't necessarily mean it's an app. A single app manifest can put any number of shortcuts in the drawer.

Sent from: SGS2 - JB 4.1.2 GB27 / SGS4 - JB 4.2.2 MF9
[Xposed Framework Modules] siciliano777:
They may be part of the same app, but I'm telling you they are two different things. Try it for yourself. The "google search" app only brings up a search bar at the top of the blank white google search page. The "voice search" starts listening immediately.
[Xposed Framework Modules] pedro1977:
Depends on your rom, try looking for google. Also screen lock status may impact the app that appears.
[Xposed Framework Modules] siciliano777:
So no one else here wants to bind voice search to a key???
[Xposed Framework Modules] egingell:
I'm aware of what it does, but it's not a real app. The package manager does not return it.

Edit: Unless the list is being indexed by package name, in which case it is a bug and should be remedied.

I hated having Voice Command force-bound to long-search. Voice Search is no different, so not me.

Sent from: SGS2 - JB 4.1.2 GB27 / SGS4 - JB 4.2.2 MF9
[Xposed Framework Modules] siciliano777:
I can't imagine why not, it's insanely useful... any bit of information you'd like to know, just tap the voice search and ask... Google's voice detection is VERY accurate now, so it's correct like 98% of the time...
[Xposed Framework Modules] egingell:
I know and I use it a lot, but I don't want or need it bound to a button.

Sent from: SGS2 - JB 4.1.2 GB27 / SGS4 - JB 4.2.2 MF9
[Xposed Framework Modules] pedro1977:
See my last post on the topic: (Guide) Take back your headset controls
[Xposed Framework Modules] siciliano777:
The easiest and quickest way to launch voice search when the screen is off would be to bind it to one of the buttons (I prefer the home button) via long press or double press.

Even if you have a shortcut for it on your lockscreen, that's two actions you have to take to launch it...once pressing the home button or power button to wake the phone, then tap/swipe the shortcut for voice search...it's monotonous. Why not just hit one button??
[Xposed Framework Modules] egingell:
You can try to sell me on it until you're blue in the face. I don't want it. You are free to do as you please with your buttons... provided you wait for [MENTION=3147360]dk_zero-cool[/MENTION] to fix and/or implement it.

Sent from: SGS2 - JB 4.1.2 GB27 / SGS4 - JB 4.2.2 MF9
[Xposed Framework Modules] siciliano777:
lol I'm not trying to sell you on it, I'm just curious. Let's say your screen is off, and the phone is sitting on your end table next to you while you're watching TV. Some commercial comes on or something comes up that you want more info on, and you decide to use voice search...what do you do?
[Xposed Framework Modules] egingell:
I'm aware of the time and clicking it saves. That has never been a concern for me.

Sent from: SGS2 - JB 4.1.2 GB27 / SGS4 - JB 4.2.2 MF9
[Xposed Framework Modules] siciliano777:
It's not really so much the time, it's convenience. ;)
[Xposed Framework Modules] egingell:
Either way. I have a button on my notification panel that opens volume control, but I still prefer to go the long way. I turned off every gesture except the Screenshot one. I don't use Smart Scroll/Pause.

If you really want convenience, use Tasker to open Voice Search when you shake your phone or wave it around like a Jedi changing the outcome of a die roll.

Sent from: SGS2 - JB 4.1.2 GB27 / SGS4 - JB 4.2.2 MF9
[Xposed Framework Modules] themadproducer:
@siciliano777

I use ICS 4.0.4 so my setup is different but maybe I can give you some clues.

See details below...

1) I have a Voice Search app, but it is an old Google version 3.0.1 last updated in 2011. It shows up in the list of apps inside of X.A. (but not for you right?)

2) You may have a shortcut in your app drawer for a newer version of Google Search or something because the Icon image in your post, looks different. (maybe that's a themed icon). But to X.A., it may not show up as an app!

3) As far as I know, X.A. does not have access to SHORTCUTS and ACTIVITIES yet. If/when it does, possibly, you will be able to access this VOICE SEARCH shortcut in the list.

4) To test the above #3 for proof of concept, try an app like Gesture Navigation , and set a Gesture to launch Voice Search. It may look like this:

3 finger gestures/down swipe/Pick-shortcut/Activities/Voice Search/...recognition activity (works for me)

5) with my setup, I can go into X.A. and choose SEARCH in the main built in list near the top. When initiated, I get a version of Google Now that is when triggered, waits for me to say...GOOGLE....then search. Have you tried that one?

6) Finally, if you get desperate, and you know a bit about TASKER, create a TASK to launch the Voice Search shortcut. You will need to download a free Tasker plugin called "AutoShortcut". Then, you will need to long press on this new TASK and choose export etc... This turns the TASK into an APP. (theoretically) and now this app should be listed inside X.A. for you to conveniently choose and assign to a button.
[Xposed Framework Modules] JLsoft:
A little rambling here, but I -just- found out that Xposed Additions was causing a problem I was pulling my hair out over as far as gamepad controls having really odd behavior. I finally narrowed it down to being caused by this module...and I wasn't even using any of the button re-map stuff.

If anyone's curious, see: http://xdaforums.com/galaxy-nexus/help/sixaxis-controller-problems-cm11-t2704745

[This isn't a complaint against the module or anything...I'm just putting this here in case it's an actual bug, or in case somehow, someone with the same problem stumbles across this (there's no way that'd happen :P)]
[Xposed Framework Modules] gerhardo:
Xposed Additions delays all button presses until long-press or click is detected.

Normally this makes no difference as applications wait until confirmed long press/click anyway. This is an exception, where also initial down matters.

I have submitted a patch for this, to relay unmapped keys directly.
[Xposed Framework Modules] siciliano777:
Problem solved.

I've discovered an app called "S for switch voice" which intercepts the intent when calling for S voice to open. I then set S voice to turn on the display when saying "hi galaxy".

So now when the screen is off I can just say, "hi galaxy", and the display turns on, opens google voice search and starts listening. Brilliant! :)
[Xposed Framework Modules] gerhardo:
I have made a beta available of the changes I have asked dk_cool-zero to include.

This is primary double long click and triple long/click, as well as the possibility to get long press when long-long pressing a button.

The intention is to use them to control apps when the screen is not an option. My use case is a smart watch (small screen) with few buttons and gloves/water on the screen

It is up to dk_cool-zero to accept the patches or not of course.

Discussions about the mod should be kept in the separate thread

http://xdaforums.com/showthread.php?p=51832956
[Xposed Framework Modules] krtk6160:
I've just installed the Xposed Additions, and I really like it. Great work!

But I have a small problem. I have re-mapped the menu button on my S4 to open the recent apps drawer. But when I tap the menu button, there's no sound. It does work correctly in terms of opening the app drawer, but it doesn't produce that sound that is normally heard all over the TouchWiz ROM. Like the back button, it does produce that sounds. I want the menu button to produce that sound as well, when I tap it. Is there any way I can achieve this? I'm a total newbie, I don't know much about these things. Any help would be appreciated. :)
[Xposed Framework Modules] egingell:
I forgot how annoying that is. At any rate, mine makes noise as expected on both of my TouchWiz phones.

Sent from: SGS2 - JB 4.1.2 GB27 / SGS4 - JB 4.2.2 MF9
[Xposed Framework Modules] eclipxe:
Awesome - can you share that patch?

---------- Post added at 01:17 AM ---------- Previous post was at 01:13 AM ----------

Nevermind I see it here: https://github.com/gerhardol/xposed-additions/commit/7cc5020ee3429d3a1d384472911aa844fb129a9a

Sweet!
[Xposed Framework Modules] mtxx1:
hi, using a note 3.

i was wondering, if i set "double tap menu button" to "power" button during "screen off" condition.

will it cause wake lock or battery drain?

i like it alot to double tap to make it wake and sleep. but concern about the battery drain, if any.
[Xposed Framework Modules] pugsang:
[MENTION=3147360]dk_zero-cool[/MENTION]

Greek translation attached
[Xposed Framework Modules] hardisty:
Great work!
[Xposed Framework Modules] sweeds:
I'm looking to use Xposed Additions to remap the power and back button hardware keys on my Galaxy S3 vzw. This worked great when I was running stock 4.1.2. I switched to my preferred 4.4.2 ROM, SlimKat, and it does not work. When I go to Add New Key, it opens the Intercept Key Code window, but gets no further.

Is it possible something in the ROM is overriding what the Xposed Additions app is trying to do? There is a ROM setting for Hardware Buttons custom actions, that I've completely disabled. Any advice on how to get this app to work within the ROM? Thx.
[Xposed Framework Modules] gerhardo:
XPosed framework works by inserting hooks in the normal libraries. Some ROMs can change the system calls, so the hooks will not do anything.

However, I would expect that the XPosed framework and/or the Xposed Additions Mod is not installed correctly.

Try reinstalling, from Xposed Installer Framework.

Happens a lot in the emulator for me, but then shutdown is not always clean there.