yashsingh1/xdaforums huggingface dataset:
[Xposed Framework Modules] dk_zero-cool:
Yeah well, I have an almost 4 year old phone with hardware buttons. The Back button on that one has been pressed like 1000 times more than any power button, and it is still working like a charm, so I don't think that would be such a big problem. It takes a lot to ware down a button, unless of cause we are talking about a very cheep device, in which case it could become an issue at some point.
[Xposed Framework Modules] gregferns:
Actually I don't want to wake out power on the phone using the power button, if I can avoid it... not because of anything else but because it is a pain in the **** as the button is in a really unmanageable position. That's my opinion... so if something could be worked out using the home soft button it would be great.... but since you explained above, can't help it... no issues... Will live with it.... Thanks
[Xposed Framework Modules] MasterPhW:
Sadly it doesn't seem to work with my HTC Sensation.

I disabled the power button, but the home button also won't wake up the phone. Only way is, to add the charger and then the screen will flash.

I also tried S2U, but read your reply later, that it also trigger the home button.

And now, the craziest stuff: I deinstalled it and now my enhanced restart menu is back to shutdown only. A reinstalling also didn't worked. Any idea, how to get it working and/or bring back my enhanced restart menu (of course I tried to disable and enable it in the developers options).

Using CM10.2 of Android1234567, newest version (27/06) with 624MB Ram Sultan Kernel.
[Xposed Framework Modules] wilflare:
I'm trying to re-map Power/Power Forced to my Menu/Back buttons so I don't have to use my Hardware Buttons

or does it not work on capacitative buttons?
[Xposed Framework Modules] Saeedblack:
Unfortunately after 2.2 version it don t work for me at all, until version 2.3 it have FC but now in version 2.3.4 it can t Identification my devices keys for example after click on vol up only volume menu appear and volume increase or power button lock my device.

but in version 2.1 it work perfect. hope to it work for me in next releases.

My device is sony xperia s ,JB
[Xposed Framework Modules] dk_zero-cool:
capacitative buttons is actually just an area of your display. When your screen is turned off, it does no longer register your touches and so the "buttons" will not work. So no, capacitative buttons work with screen on, but not when off. At least not unless you can find a custom kernel that keeps registering touches on them while the screen is off. It's all about the kernel.

Make sure that the module is enabled. It some times get's disabled when you update.
[Xposed Framework Modules] wilflare:
hope we get to launch Camera too :D

really loving this! this is reallyreally what I've been looking for! thank you!
[Xposed Framework Modules] Saeedblack:
I sure of this.(module is enable and even i run program from xposed modules unit

also i uninstall program for installing new versions
[Xposed Framework Modules] dk_zero-cool:
What Jellybean version is this?
[Xposed Framework Modules] Saeedblack:
4.1.2 deodex stock sony base
[Xposed Framework Modules] dk_zero-cool:
Okay I will look at it.

B.t.w

Could you get me a logcat from boot? It sounds like the module is not properly loaded, which means that it may have made an error during boot. Need a log to find out what error.
[Xposed Framework Modules] killoid:
i am using GB Stock Deodexed Rom & my issue is this..

http://xdaforums.com/showpost.php?p=46913477&postcount=339
[Xposed Framework Modules] dk_zero-cool:
Is click a problem only when the screen is off?
[Xposed Framework Modules] Saeedblack:
OK,I get it and attached
[Xposed Framework Modules] wilflare:
that's a bummer but I guess I'll wait out for a good kernel to flash :D

EDIT: what's the difference between Power and Power Forced?
[Xposed Framework Modules] dk_zero-cool:
Power just sends the power key code to Android, just like the rest of the buttons in the remap list. But this does not work on all devices as some Android versions blocks power when it is Injected. This is done in the C++ part of Android, so I cannot change it from Xposed.

Power Forced is used on such ROM's. It will manually turn the screen on or off via the PowerManager, or using Wakelocks, depending on the Android version and screen state.
[Xposed Framework Modules] dk_zero-cool:
The don't contain any erros from the module, so it might be a general 4.1.2 issue. I will try testing it on my own device and see if I can re-produce it.
[Xposed Framework Modules] wmiswm:
wake screen during call is still an issue for the latest update, sorry.
[Xposed Framework Modules] ahrion:
Any chance of allowing us to choose applications for custom buttons? Like camera..?
[Xposed Framework Modules] killoid:
yes its the only problem,doesnt do anything at all!
[Xposed Framework Modules] dk_zero-cool:
Then you have a bug in the ROM sorry, but not much that I can do. In Android 4.2 and 4.3, the module now uses Android's direct wakup from their own Power Manager Service. If that can't do it, then it's a ROM issue.

Okay then, will see what I can come up with.
[Xposed Framework Modules] xXYoshiXx:
After the update the media actions finally work with screen off, thanks. But there is now another problem with the camera key, I explain it:

The daggers button has two press points, if you press until the first point the key code is 80 camera focus, pushing further is key 27 camera. The guest problem that occurs, I cannot choose the actual camera key for remapping. When pressed all the way down the key code is 27, the instant I release the key it switches back to 80. The arising problem is not only that I cannot re-map the camera key but each time I press the camera key, the camera focus is also triggered, example:

The camera focus is remapped on screen off to trigger play/pause on long click, the camera button on screen off and long click by default loads the camera app. Each time I long press the camera button to load camera, long click of camera focus also triggers and plays music.

I think android or the ROM doesn't distinguish between focus and camera as the focus only works while camera app is active, it doesn't by default interfere with anything, but with the remapping it actually does. So maybe you could add a way to deactivate the focus while the camera key is triggered? The problem is that focus and camera are physically one button.
[Xposed Framework Modules] wmiswm:
The weird thing is that even remap vol button long click to power forced will not work during call.
[Xposed Framework Modules] dk_zero-cool:
The camera app is properly made to set a small timeout on your focus to make sure that you don't press further down. It's kind of the same way I implement double click and multi key.

I might have an idea how to help you with this. It will require a bit of work, and I can't promise as I need to make sure that I don't break multi-key function doing it. Your button is kind of like pressing two buttons at the same time.

Not really, they use the same code. The problem you have is that your device does not care when injecting Power Keycode, or when calling PowerManager.wakeup() or when settings a full wakelock with screen on preferences. Each of these is used to turn on displays, and your ROM refuses them all.
[Xposed Framework Modules] reykjavi:
Use an app/shortcut for the action

Hey!

I'm excited that somebody has managed to implement the hardware buttons remapping as xposed module, but may I hope that some day the Xposed Additions will be capable to invoke applications and shortcuts as an action?

Have already bought the PRO to support you and show my respect :)

I'm sorry for being so inattentive, I have found that you plan an app or a Tasker task to be executed as one of actions. I'll be waiting for this! Thank you.
[Xposed Framework Modules] wilflare:
I am really curious why more people aren't using this!

this is awesome!

just to check is $4.63 the right price for the PRO version?

https://play.google.com/store/apps/details?id=com.spazedog.xposed.additionsgb.pro

just wondering if my store (Singapore) has got currency conversion issues

---------- Post added at 01:02 AM ---------- Previous post was at 12:06 AM ----------

EDIT: bought the PRO license :D

unfortunately.. Menu + Back (both are capacitative) does not seem to work :/
[Xposed Framework Modules] dk_zero-cool:
Capacitative buttons is part of the display. And sadly most of the displays used in devices to day, cannot register two button touches at once. While you are touching one, the second will not be registered by the display. Don't know why multi-touch does not include the Capacitative buttons, but they don't.

You can however use two hardware buttons or one capacitative with one hardware.
[Xposed Framework Modules] wilflare:
ah i see. that's a mega bummer :/

any chance future updates will allow us to customize the delays down to the milliseconds? instead of the preset short normal long?
[Xposed Framework Modules] dk_zero-cool:
Why? Short is only 75ms. Almost the bare minimum of how fast a human can handle a button press. I started with 50ms on Short, and I was not able to, not even on the capacitive buttons, to make double clicks.
[Xposed Framework Modules] dk_zero-cool:
Okay I have just tested this on an Samsung Galaxy Y running official Android 2.3.6 TouchWiz ROM. Checked Media Next, Media Previous and Media Play/Pause which worked fine with Click, Double Click, Multi Keys and Long Press both while the screen was on and when it was off. Also tested it on an HTC Legend running Android 2.3.7 CyanogenMod, just to mix it up a bit. Same result.

Try deleting all the app data/cache of the module in Android Settings, then remove it, reboot and install it again. This has done the trick for a few other people.

Also note that Media Buttons had no affect on the official samsung player. I had to install Rocket Player to test this, because the official one does not listen for Media Buttons. So also make sure that your player is not the issue. The module only re-maps buttons, but they don't do much good if your applications is not using those key codes.
[Xposed Framework Modules] killoid:
now i understand,it was the issue with my media player cause it was samsung's official! :silly:

btw sry for bothering u & thanks for all u've done! :) :good:
[Xposed Framework Modules] dk_zero-cool:
No bother. It took me awhile to, before I realized that the player was the cause. And had it been a bug, then it should be fixed.
[Xposed Framework Modules] dk_zero-cool:
I don't have a Sony device to test on, but I have tested it on 3 different 4.1.2 ROMs using other devices. I have no issues at all. So you might want to check for other reasons.

Maybe something is messed up in the config file. Try deleting app data/cache in Android Settings, uninstall and reinstall with a reboot in between.

Maybe you have another module installed that interferes with this one. Try disabling all other modules.

I checked my code, and nothing regarding the interception of key codes in settings has changed between the version you say work and the current release.
[Xposed Framework Modules] dk_zero-cool:
Your issue should be resolved in the latest release
[Xposed Framework Modules] xXYoshiXx:
You are the best, it's working perfectly. On your to-do for the pro version is Taker task support, couldn't you add a general android shortcut support, too?
[Xposed Framework Modules] dk_zero-cool:
My first item on todo is app launch, and possibly intents. What do you mean by shortcut?
[Xposed Framework Modules] xXYoshiXx:
In android you can add shortcuts to the home screen with a special feature from apps that offer it, the dialer for example allows to put a direct dial shortcut to the screen to dial a contact directly, Tasker lets you put a task shortcut to it.
[Xposed Framework Modules] dk_zero-cool:
Well I can't say that I will not add it, but I don't know. I will see once I get done with the current things to do.
[Xposed Framework Modules] churrolakra:
I think he means system shortcuts.. tasker for example has system shorcut support so you can launch any task.. (and trough a task you could open an app for example.

By the way, with app launching support you can allways export a tasker task as an app with tasker craft factory, so a tasker task becomes an standalone app.

Any plans to include KILL CURRENT APP? this would be awesome, so we can configure xposed additions to long press back kill app for example
[Xposed Framework Modules] dk_zero-cool:
Yes that is also on the list. If you use CM, you can always set the default long press back until then. But CM's is annoying with the constant Toast message being displayed.

The reason that I did not add it yet, is because I was looking into a more "Correct" way of closing an app down. But since Android is not really structured to have apps close manually, killing them seams like the only option. It's just such an ugly implementation.
[Xposed Framework Modules] ahrion:
Any plans to add custom applications to a hardware key???
[Xposed Framework Modules] lollipop:
this will be fantastic,waiting for updates...
[Xposed Framework Modules] wilflare:
having an issue with Double Click on my menu key (capacitative)

on reboot, it does not work.

I need to launch Xposed Additions and make any changes for the module to be reloaded

for the double click to work
[Xposed Framework Modules] dk_zero-cool:
Hmm okay, will take a look at have that fixed asap. Do you use sd-ext perhaps?
[Xposed Framework Modules] wilflare:
yeap. I use an external SD card...

all the other shortcuts work though.. except double click..

Using a Galaxy Note3
[Xposed Framework Modules] dk_zero-cool:
It's because your device boots before the pro package is ready due to the external placement. I will find a solution for this
[Xposed Framework Modules] wilflare:
hmm the pro package is installed on my phone though.

not sure if that affects anything
[Xposed Framework Modules] BlackAngel083:
After a reboot the double click feature that should wake up my phone doesn't work anymore. I have to reopen the app to get it working again. Is that normal?
[Xposed Framework Modules] dk_zero-cool:
Read above. No it is not normal, and it will be fixed shortly.
[Xposed Framework Modules] GuySmily:
Short version:

Are camera focus / shutter actions available in the pro version? If not, would you please consider adding them? I understand the stock camera might not support camera keys, but I think your work here will still play a key role in achieving my goals.

Long version:

I recently switched from an Evo 3d to a Note 3 and I really miss the physical camera button. To fix this, I'm trying to switch to on-screen soft keys for home/back/etc, and I will dedicate the physical home button and capacitive touch keys to camera functions.

I'm using Ultimate Navbar, which thankfully is unaffected by Xposed Additions. This means I can have a fully functional set of soft keys in addition to the physical home key and capacitive keys on the phone.

What I'd like to do next is map the home key to camera shutter action, and I'll use one of the capacitive keys for focus. However, I can't find any camera-related functions in the actions list. Hopefully this is a simple thing for you to add (or I'll find it in the pro version).

Thank you for sharing your hard work with all of us.
[Xposed Framework Modules] dk_zero-cool:
No need for pro for this. I will look into adding them to the list.
[Xposed Framework Modules] My1xT:
pretty nice App I have to say. I always use vol+/- for nex/prev track while screen off and sometimes I accisentially hit the power key before thus blowing my ears or silencing the music...

not anymore. and the best: with other actions like long hold Power while off I can easily access play/pause features on the Note 3...
[Xposed Framework Modules] wilflare:
in the Note 3 Camera settings, you can change the Volume Key to become the Camera Key
[Xposed Framework Modules] GuySmily:
Awesome, I'll look forward to it.

Thanks, that's my workaround for now.
[Xposed Framework Modules] genocide_ru:
Sorry to say, but Volume unlock (Remap to Power or Power Forced on Screen off) doesn't always work on Google Play edition ROM for HTC One (Android HD Revolution Google Play Edition)

It works, but only 5 times out of 10.
[Xposed Framework Modules] My1xT:
is there a way you can add a condition of some sorts?

for example I have long Power=Media Play/Pause but I only want that it is only invoked while I have headphones plugged in to the device wont shout suddenly out when someone who doenst know the tweaks tries to switch it on...
[Xposed Framework Modules] dk_zero-cool:
No. Are you aware of how many different conditions I would have to add if I started with that? What I will do however, is add Tasker plugin to the pro package at some point and you can use Tasker (or the other similar once) to make conditions. But building my own Tasker system into the module is just insane.
[Xposed Framework Modules] My1xT:
seeing you speak in future tense means that it isnt in yet. ok. but I usually a very open to pro versions because of the gift cards here in Germany.

Thank you.
[Xposed Framework Modules] dk_zero-cool:
No it's not in yet. Everything takes time, and I have other tings on the list that comes first. Also, I have no idea how Tasker Plugins work, so that in itself is more homework for me before I can start doing anything of the sorts.
[Xposed Framework Modules] My1xT:
but thanks for it anyway...
[Xposed Framework Modules] spätzlemitsoß:
thanks for the new release! working great!

"Camera" action is a little confusing, maybe you can call it "Camera shutter"

I first thought it would open Camera.. (same for Zoom -> Camera Zoom In)

An idea for future release:

Make Remap Settings app sensitive.

Standard Remap setting will always apply to all apps.

But we could add single apps and configure buttons as we like.

e.g. Camera,

- Power = Shutterbutton

- Volume = Zoom

- ...
[Xposed Framework Modules] dk_zero-cool:
The Camera button is just called Camera in Android. The action is up to the apps. Some Camera apps will open when this is clicked and take picture when the camera app is open. It's just like the Media buttons which has affect in some media players, while does nothing in others. The module just Re-maps, the actual actions is up the ROM or the installed Applications, except for the few custom actions such as kill app, orientation and such.

And like I mentioned a few posts back, there will be no conditions for the re-map. There would become to many and I would find myself re-inventing tasker before the requests would stop.
[Xposed Framework Modules] ahrion:
When I try to remap my custom button it pulls of Google search and doesn't remap it.
[Xposed Framework Modules] dk_zero-cool:
I guess you mean your Search Button?

Well, make sure to have XposedBridge installed, the module enabled in XposedInstaller and reboot.

Otherwise I will need some info like ROM version, a logcat from boot to check for onboot module errors and such. "Not working" is not quite enough to locate issues.
[Xposed Framework Modules] My1xT:
can the 2.3.8 brought into the xposed repo? since I manage all modules there.

and why does disabling wake on plug not work???
[Xposed Framework Modules] wilflare:
[MENTION=3147360]dk_zero-cool[/MENTION] thanks for the update!

this fixes the Double-Click issues that I'm having on my Galaxy Note 3

best money I've spent on the Store is for the PRO license (:

just a question, does having Double-Click add in a delay to the (Single) Click? Like does the mod add a delay to how fast the system respond to the first Click so as to see/wait if you will do a second Click?

If I want the Double-Click features and a system that is as responsive as possible, I should set the Delay to Short?

another bug on my Galaxy Note 3

the Camera actions do not activate my Camera.

I set it to longpress my Volume keys, but it just activates the single click function (which is Volume down one notch)

I am quite sure the action has been set (as on longpress Volume Down, the volume will be reduced to zero) but with the setting enabled in Xposed Additions, on longpress, only the single click function is activated but the Camera is not launched.

Hope to see Camera action for Screen Off soon!
[Xposed Framework Modules] My1xT:
I just updated to 2.3.8 and I must say that I still have haptic feedback problems when I say that long manu is killed (I dont need and I dont WANT S-Finder) and wake on plug -> never does also not work...
[Xposed Framework Modules] spätzlemitsoß:
Ok, thanks. Did not know android is so inconsistent on different phones...

I'll wait for the start app functionality ;)

keep it up!
[Xposed Framework Modules] shinpil:
about haptic feedback

I'm using galaxy s4.

The haptic and sound feedback does not work on 2.3.8.
[Xposed Framework Modules] GuySmily:
Thanks a ton for adding the camera actions. The shutter action works even with the stock camera app, but focus doesn't (no surprise there). I'll let you know how it goes when I try an aftermarket camera app.

I'm other news, I'm getting some interesting behavior with the home key remapped. If the click is really fast (like < 1/4 second) the remapped action (camera) takes place. If I'm a little slower, it performs the Home action instead, as if it wasn't remapped. In essence, my home key has 3 actions now: long press, short press, and super short press. I'm sure it wasn't intentional, but I think I could get used to this.
[Xposed Framework Modules] dk_zero-cool:
That is not a bug. I have written this many time, the module does not invoke any action on re-map. All it does is stop Android from getting one key code and instead sends another. Thee actions to these key code is up to the ROM or the installed apps. If your device does not open camera when you click camera, then it's because your camera app does not support it.

Well then Galaxy S4 has some serious issues. The vibrate class is 100% custom using Android's documented tools.
[Xposed Framework Modules] testrider:
I'm sorry to ask this question (as I just read through all the posts and I haven't installed it yet):

- I have a Note 2. It has a MENU, BACK keys which are softkeys. Can I remap the MENU key so that

when I click it once, it does MENU (default), and when I double click, it does HOME?

Thank you.
[Xposed Framework Modules] shinpil:
I heard samsung has deleted code which contains nav bar. So the person who wants nav bar on galaxy s4 should fix framework. Is this related to haptic feedback problem?
[Xposed Framework Modules] dk_zero-cool:
Well, that is the whole point of this.

No, because I no longer use the native Haptic Feedback feature, I made my own class using the regular vibration tools used by any normal Application providing some sort of vibration. That is why it should work, it's standard app tools.
[Xposed Framework Modules] shinpil:
Then I think your module recognize menu and back button as hardware button. It's weird that it got haptic feedback normally when I long press these buttons. Can you make the menu and back button to be recognized as soft keys forcely?
[Xposed Framework Modules] dk_zero-cool:
I don't know. That depends whether or not the buttons has something that can be used to distinguish them from actual hardware keys. However, since I have neither that device or the ROM that comes with it, I can't see how. Samsung's sources are closed, so I have no way to see or check anything.
[Xposed Framework Modules] My1xT:
well Note 3 has a similar issue. for Soun feedback I dont know, but haptic feedback only appears on long press...
[Xposed Framework Modules] shinpil:
On 2.3.8, long press haptic feedback is too strong.

And I cannot adjust the intensity.

I think it is because of custom haptic.

But it does not work, so it would better to change to normal one.