yashsingh1/xdaforums huggingface dataset:
[Xposed Framework Modules] Renosh:
Yeah it works now (Omnirom 6.0.1/Oneplus One) and I can map some actions on latest Alpha 3 but skipping tracks by long pressing volume buttons is not working for me. I've tried the default values and edited settings to attempt to get the old hold (long press) functionality but doesn't work . I can feel it vibrating but nothing happens (even though vibration is at 0ms). I like the new look of the app :good:
[Xposed Framework Modules] kovisxd:
Oh and where can i get the alpha version since don't see it on xposed?
[Xposed Framework Modules] Xspeed:
Post your Xposed debug logs for me to analyze.

It is on the Xposed repo, but it's marked as 'Experimental', so to see it you set those to be shown.
[Xposed Framework Modules] aLexzkter:
Try going to settings, Media signal receiver, and set Use last media player from recents.

Not true, on both xposed page and app is still showing alpha 2:
[Xposed Framework Modules] Bec de Xorbin:
What do you mean "still" showing alpha 2? When was anything newer than alpha 2 released?
[Xposed Framework Modules] aLexzkter:
Renosh said alpha 3, that confused me
[Xposed Framework Modules] Xspeed:
Alpha3 is coming later today or tommorow ;)
[Xposed Framework Modules] aLexzkter:
Guys, I submited Spotify the idea of allowing us to RW/FF when playing in the background. I need kudos so please check it out here and vote, please: https://community.spotify.com/t5/Id...-on-holding-skip-buttons/idi-p/1300143#M13573

It's their fault that it's not working. There are certain apps like TuneIn and Podcast Addict that DO respond to FF/RW commands sent from PBMC. [MENTION=5292510]XspeedPL[/MENTION] Could you please add my post to the first page so more people are able to read it? Just for a few days...
[Xposed Framework Modules] onesolo:
LOL

Just go to the settings of xposed installer and set it to be able to show and install experimental versions... this is so basic...
[Xposed Framework Modules] kovisxd:
Already figured it out :D
[Xposed Framework Modules] Xspeed:
Done
[Xposed Framework Modules] Renosh:
Cool, switched to another ROM for some time but I'll test it out and send the logs
[Xposed Framework Modules] Raijin:
I also can't see the alpha version in the Xposed repository. This is the proof:

Could you upload it to a file server? Thank you!
[Xposed Framework Modules] corncobman:
You are aware you can download the modules at the Xposed Module Repository right?

http://repo.xposed.info
[Xposed Framework Modules] Raijin:
No, I was not aware that the version in the web would be different to the one of the Xposed app. Thank you.

---------- Post added at 05:34 PM ---------- Previous post was at 05:27 PM ----------

@XspeedPL Could you add support to disable and enable the chains with Tasker?
[Xposed Framework Modules] Xspeed:
alpha3

Tasker? Maybe I will, but I don't consider it a priority for now, sry.

Anyway, sorry for the delay. I made more stuff for alpha3 before pushing it out.

I hope you'll like it!

- Implemented long key presses
- Introduced action repeats
- Longer key chains don't get overridden by shorter ones
- Fixed keys getting stuck in the app

Be sure to check it out ;)
[Xposed Framework Modules] :
thanks for the update! But i think the option "cancels original key function" is not working anymore :(

Currently it's always canceling, even if the option is disabled.

Here's the chain:

Power(hold 3 sec)

toggle flash

Only in screen off

Audio any

Disabled cancels original function

With this the power button gets effectively disabled in screen off, but the exact same chain worked in alpha 2
[Xposed Framework Modules] haax:
I still can't get working vol+ & next together. Changelog says it's fixed, but it seems like doesn't working for me. I have volume up key assigned to "next track" with settings: Pressed checked, delay 500ms and Vol+: Pressed checked, 0ms delay (tried with 100ms delay also). Seems like only 500ms press works. Both are enabled only on lockscreen. Could somebody tell me setup to get this work simultaneously?

Greetings!
[Xposed Framework Modules] Xspeed:
Uh oh, it seems I screwed it up by accident. Thanks for the report!

Here you go

Chain Next:

--- Keys:

------- Volume Up pressed 0.3sec

--- Action:

------- Next media

Chain Vol+

--- Keys:

------- Volume Up pressed

------- Volume Up released

--- Action:

------- Keypress (Volume Up)
[Xposed Framework Modules] xbarsasy:
I used PBMC long time ago,

But now I'm little confused . It's completely diffrent.

I didn't figure out how to set double click or click and hold ..

Can I get a little help ?
[Xposed Framework Modules] Xspeed:
Well, 4.0 in it's alpha stage has no help or guide built-in, as I am focusing on adding features.

Here's some overview:

PBMC works now by keypress patterns, aka key chains.

You can use complex key combinations to do many different tasks with minimal amount of different buttons.

Now, back to your problem.

To set a double click make a key chain with keys like example:

Volume Up pressed, Volume Up released, Volume Up pressed, Volume Up released

To achieve a click and hold:

Volume Up pressed, Volume Up released, Volume Up pressed time 0.3sec

Once you get used to it, it'll be a breeze ;)
[Xposed Framework Modules] quantemplation:
Hmm. I can't get multi-button chains to work on alpha3. On alpha2 I could set a chain like Home pressed, Volume Down pressed to open a specific app.

Briefly did a bit more testing, aaaaaannnd I solved my problem. It appears the priority of your chains is more important in this version, which I like. :good:
[Xposed Framework Modules] Xspeed:
Truth be told, I removed the ability to execute several delayed chains at once, since there was no real way of executing only the longer one instead of the one with a shorter delay.

For a moment I was thinking about short vibrations to signal when one delay has elapsed and another one has started, so the user can determine which action will be executed.
[Xposed Framework Modules] xbarsasy:
I have downgrade to version 3.0.4, I found it easier and less complex and have all features I need.

Just a suggest , if you can make two interface of the app Simple and advanced .. this will be great
[Xposed Framework Modules] Xspeed:
I suppose I'll have to after all :rolleyes:
[Xposed Framework Modules] aLexzkter:
Volumen up pressed, volume up released, volume up pressed delay 0.8s, as media play/pause doesn't work. It triggers media next instead...still missing the press and hold function from older version :(
[Xposed Framework Modules] Xspeed:
Unless you did something crazy, it should work.

Can you make a screenshot of your key chains?
[Xposed Framework Modules] Xspeed:
Alright, alpha4 is up.

I introduced a far less complicated way of setting up chains: 'Basic' mode.

More demanding users can still use the full potential with 'Advanced' mode.

I consider this version stable-ish. Only reason it's still marked as experimental is because it doesn't have translations and app's help section still isn't done.

Side note: Basic mode chains cancel original key functions by default, therefore you may need to set up keypress actions on additional single press chains.

That is, until I think of something to simplify the process...
[Xposed Framework Modules] corncobman:
Hi, nice job. I just tried this out and it appears to be working pretty well.

I'd like to make a suggestion. Could you add an option to set the interval/delay between repeats? I find that for example volume changes happen too quickly. Thanks.
[Xposed Framework Modules] :
Ummm, alpha4 is FCing on my device, seems like appcompat is not available T.T

Please find the attached logcat
[Xposed Framework Modules] aLexzkter:
I have FC too on my lg g2
[Xposed Framework Modules] osama-selo:
LG G3... same problem
[Xposed Framework Modules] Xspeed:
Sure, I could. But what is wrong if it happens too quickly?

Look at the "Original vol-up" chain. It ALWAYS happens before your "Play pause".

Add a delay on the last they of "Original vol-up" released key, it will work then ;)

Thanks for the reports! It seems Eclipse has bugged out on me and it didn't include the appcompat resources in the apk. I'll upload a fix ASAP.

EDIT: Done, should be OK now
[Xposed Framework Modules] corncobman:
Mostly just the UI can't keep up with the change and it just jumps to max/min volume in a split-second.
[Xposed Framework Modules] :
Folks, if you prefer another piece of work, or just don't like something, move on silently. Or create your own. Don't be posting uncontructive comments putting down anyones efforts.

Thanks,

Darth

Forum Moderator
[Xposed Framework Modules] Xspeed:
Ok, it seems that delay was really necessary actually :silly:

So, another important update today - alpha 5.

I forgot about a nasty bug on Lollipop+ which made media actions unusable without setting a receiver.

Also fixed some other stuff, like the issue mentioned above.

Enjoy ;)
[Xposed Framework Modules] corncobman:
Thanks.

I'd also like to ask a question - does the replacing the button functionality for the happen under all circumstances, for example even during a call?

The reason I ask is I'd like to use the headset button to change music tracks but only if there's no incoming call and l want to still be able to answer the phone using the headset button.
[Xposed Framework Modules] starbase64:
Hi,

alpha 5 doesn't work on HTC One M9 (marshmallow), don't recognize button input.

regards

starbase64
[Xposed Framework Modules] Xspeed:
The only exception is during calls, module turns itself off until the call is finished.

EDIT: It also applies when the phone is ringing, so you should be able to answer it

Could you send debug logs? Can't do much without them.
[Xposed Framework Modules] matv36:
Could you add repeat while hold option, please ?

For volume up/down means less keys pressing
[Xposed Framework Modules] Xspeed:
Totally forgot about that feature. I'll get it done by next release ;)
[Xposed Framework Modules] corncobman:
That's perfect. Thanks!
[Xposed Framework Modules] starbase64:
Log is attached.
[Xposed Framework Modules] Xspeed:
Umm, that's not quite right.

Quoted from the first post here:
[Xposed Framework Modules] aLexzkter:
I added play pause (single press and hold with a hold time of 0.5s) then modified Original vol-up with a delay time of 0.2s (as you adviced). Now play pause works:

But now there's a new bug / unexpected behaviour:

- if I keep pressing repeatedly the vol up key very quickly, let's say 10 times in a row, and

a) wait for example 1 second, then press the volume up key it won't increase the volume unless I wait a long time (several seconds, I think it's proportional to the amount of times I kept pushing the vol key)

b) wait for example 1 second, then hold the volume up key, it'll trigger the torch chain I have (double press and hold)
[Xposed Framework Modules] starbase64:
[MENTION=5292510]XspeedPL[/MENTION]

no log entries from pmbc
[Xposed Framework Modules] Xspeed:
Well, it has a reason to happen. PBMC stores keys you press in a list, and then compares the list against your chains to look for matches.

If you press volume keys 10 times, the list will contain (VolUp pressed, VolUp released) x10, and if you then will hold the volume up for 0.6s it will treat it as double press and hold and execute Torch. If you'd press any other key, the list would "reset" and then worked fine.

Not possible, even without Debug log enabled there still is some information always printed there by PBMC.

You sure you are following the steps correctly?
[Xposed Framework Modules] SetiroN:
I'll ask again...

Could you please add a "switch to last app" function?
[Xposed Framework Modules] Xspeed:
Sorry if I missed your request, it's hard to track them all sometimes. It will make it's way to the next version for sure.
[Xposed Framework Modules] SetiroN:
No problem and thank you, sorry if it came out as condescending, I know you're doing this in your free time.
[Xposed Framework Modules] aLexzkter:
I have a feature request: possibility to map external physical keyboard keys.

I'd like to skip songs by pressing CTRL+6, for example.

Would that be even possible?
[Xposed Framework Modules] Xspeed:
Not sure about modifiers, like shift ctrl alt. They probably won't work.

But otherwise input from any device should be hooked, test it.

I'll add support for key modifiers later ;)
[Xposed Framework Modules] aLexzkter:
I already tested it. I have logitech keyboard and mouse connected via usb otg. PBMC just doesn't detect any key press.
[Xposed Framework Modules] Xspeed:
Interesting, I guess I am gonna buy that OTG cable then too :p
[Xposed Framework Modules] aLexzkter:
I'm surprised you don't have one yet, lol.

There's an interesting app called External Keyboard Helper on the playstore, I'm going to take a look at it and see if I can do what I want without having to use PBMC anyway (I'm worried it won't work when the screen's locked, though)
[Xposed Framework Modules] Xspeed:
I just plugged in the keyboard from my desktop to my phone (Logitech AQ6-7R15).

It worked and even detected the modifier keys. I was able to make some neat shortcuts, like launching music player with a function key on my keyboard :D

I don't know why wouldn't it work for you. Maybe debug logs will tell more?
[Xposed Framework Modules] aLexzkter:
Hey, it works! I tried it yesterday and it didn't work because my otg adapter sucks and sometimes it won't make good contact.

-------------------------------------------------------------

I just had a weird crash of pbmc and lost all of the mappings. Then I auto-added basic chains.

Now I'm back to trying to map play/pause action when "single press and holding" volume up key (delay/hold time: 200ms, mode: Screen off & Lockscreen) but I'm getting a confusing result:

-

Behaviour on screen off:

if I press volUP once, release, (wait a very long time), hold volUP it triggers media next (that's ok, I don't want play/pause if I wait too long between pressings, although...how much time is a long time by default??)

-

Behaviour on lockscreen:

if I press volUP once, release, (wait a very long time), hold volUP it triggers play pause (that's NOT ok)
[Xposed Framework Modules] gdecker:
Awesome app! I use vol+ (locked and off screen) for next track and vol- (locked and off screen) for pause and play. This works great with both the stock android music app and the Pandora app. Been trying to figure out how to use vol+ for xposed torch also, any ideas?
[Xposed Framework Modules] aLexzkter:
Install Gravitybox and use Gravitybox actions (torch) on PBMC.
[Xposed Framework Modules] Xspeed:
What? A crash removing mappings? Too bad you didn't take LogCat.

The amount of time before reset is constant: exactly 5 seconds.

If you need to reset it press another key. Sucks I know, but nothing else for now.

Or just use the built-in Flashlight extra action in PBMC? (alpha only though)
[Xposed Framework Modules] gdecker:
Sometimes I tinker too much but this time I didn't tinker enough. The built-in flash works wonderfully using the power key. Thank you. Now about the tinkering, can we delete unused items from the chain list?
[Xposed Framework Modules] :
just tried the flash function to see if it works on my device, and i get the same error in log.

also, would it make sense to make the timeout period of 5 seconds a settings variable? 5 seconds is a bit too long in my usecase :)
[Xposed Framework Modules] Xspeed:
You can. Grab the chain by the grip on the left and swipe it out.

If you connect and remove the keyboard while in PBMC, the app will crash.

It will be fixed.

The second bug is already fixed and waiting for release.

Fixed, as I said.

About the timeout, I'll think of a way to handle this ;)
[Xposed Framework Modules] rpcll:
Hey there, I love this module but I need some help.

Basically I have three keys on my Moto G (CM13): Power, Vol Up and Vol Down. What I'd like to do is this:

Power:

Single Press - Usual Function (Screen on/off)

Long press - Usual Function (Power menu)

Double Click - Play / Pause Media

Vol Up:

Single Press - Vol Up one notch

Press and Hold - Vol Up repeated

Double Click - Next media

Vol Down:

[opposite of Vol Up]

Setup was very easy on PBMC3.0 with CM12 and everything worked as intended. But I can't get it right on this version. Especially the delay/hold time/repeat options are kind of confusing.
[Xposed Framework Modules] Xspeed:
Do it like this for the power:

Single press POWER delay 0.2s - Long keypress (Power)

Double press POWER delay 0s - Media Play/Pause

Single press VOLUP delay 0.2s - Keypress (Volume Up)

Repeat until keypress is not yet in alpha 5, will be in alpha 6

Double press VOLUP delay 0s - Media next

You need to put delays on SINGLE presses, and all will work.
[Xposed Framework Modules] Xspeed:
alpha 6

As the Xposed changelog says:

Enjoy!

Side note: I plan to limit chain length to about 6 keys (= 3 key presses), with the possibility to unlock more by purchasing a upgrade for something like a dollar. Most people don't even use more than 4 keys in one chain, so I guess it won't change anything for an average user. But for now I'm raising money to make a Google Dev account :silly:
[Xposed Framework Modules] KostisTTT:
Hello, guys.

I have a problem with PBMC 4 alpha 6 (Nexus 5x, 6.0.1., MHC19J)...

Every time I choose from Action - Other- Launch shortcut - Tasker shortcut, it can not be stored and it's displayed DO NOTHING. (The same thing happens with other type of shortcuts)

What I am doing wrong???

Thanks in advance
[Xposed Framework Modules] Xspeed:
[MENTION=6898425]KostisTTT[/MENTION]

You did nothing wrong, I screwed up something within the GUI, a fix will come right away, sorry!

EDIT: New version is on Xposed repo ;)
[Xposed Framework Modules] osama-selo:
I think that you have forgot the fix of the torch FC? Or maybe it's just me?

Can you please add an option per chain to display a toast message when the action is excuted?

Also, can u tell the difference between "hold" & "single press and hold" as they are same!
[Xposed Framework Modules] Xspeed:
1. I don't think you've reported that problem. For that particular case I need both Xposed and LogCat logs, if you could.

2. Sure, I'll add the option, it's a good idea.

3. This summarizes it best. Hold:

button down with delay

Press and hold:

button down -> button up -> button down with delay
[Xposed Framework Modules] aLexzkter:
I also found "press and hold" confusing the first time I encountered it.

As far as I can see (I'm not a native English speaker) a more accurate approach could be "press and hold press" because "press and hold" just means that you hold the press.
[Xposed Framework Modules] sercankd:
thanks for the awesome program. i have a problem. i am trying to bind home button double press to open recent application back, it works fine except it also disables all other functionality of home button. single press (go home) , and single hold press(open process list) stops working.
[Xposed Framework Modules] Xspeed:
Once I repeated that line in my head a few times, it really sound the same. But what would be better?

"Press then hold"? I really don't know lol

Nobody reads the "See here for help and information about the newest alpha release!" thing these days.

I guess you either don't have an original button function chain set, or didn't set any delays on your chains.

You should have:

Single press delay 0.2s -> Keypress (Home)

Hold delay 0.5s -> Long keypress (Home) or your Open process list

Single press and hold delay 0.5s -> Switch to previous app
[Xposed Framework Modules] aLexzkter:
-Press&hold.

-Press then press&hold

-Double press then press&hold
[Xposed Framework Modules] osama-selo:
Sorry, but I was talking about this log posted by aLexzkter and thought that you have fixed it for LG devices as I'm using it on my LG G3 and the app FC when I try to start the flashlight chain.

Unfortunately I will not be able to post a log for now as there is no log at all in Xposed log!!! I will invistigate the problem and post back the lig ASAP
[Xposed Framework Modules] Xspeed:
I did fix the reason for HIS crash. It seems the reason you get the crashes is different.

Anyway, Xposed AND LogCat is necessary, if you could.
[Xposed Framework Modules] nonobio:
Hi,

I recently updated PBMC to 3.0.4 version and i have some suggestions and issues : EDIT : i updated to beta/alpha versions after i wrote this post.., sorry ;) :

1-I want use my PBMC actions whatever the screen is on, off or locker, and with old version i could just check these differents screen states to enable my actions on each, but with 3.0.4 version i have to recreate all my actionsfor each screen state (tabs in app). It a good thing but for some actions, it could be great to have the ability to duplicate actions to others screen state. ? EDIT : added in version 4.0 alpha6.

2-Repeat 200 ms on "vol+/-" buttons doesn't work for "vol+/-" action. EDIT : resolved since version 3.1.

3-As soon as i create an action for volume+ or volume-b buttons (for screen on state), it disable volume OSD. For instance, if i create an action for vol+ double press, even a one press doesn't display OSD. This is a log of a process where i try to add a vol+ pbmc action and where OSD is disabled. EDIT : i will try this with new 4.0 aplha6 version..

So i updated my version 3.0.4 to 4.0alpha6. I am on LP. Is LP supported by these new PBMC versions ?

Thanks
[Xposed Framework Modules] vaterfa:
Hi bro, i translated to Turkish on crowdin, you can include to your app. Also this is a very useful app, thanks.
[Xposed Framework Modules] nonobio:
Hi,

So i am on LP and i tried PBMC 4.0 alpha6. I have these suggestions/issues :

If i create vol+/vol- buttons PBMC actions, i can't have the behavior i would : i would have some PBMC actions where original actions are disabled, but i would like to keep original actions when there isn't PBMC action :

For instance, with vol+ buton, i would like :

Single press and hold : play/pause music (with pbmc action) AND original action disabled (no volume OSD and no volume increased).

Single press : no pbmc action so i would like to have original volume osd and volume increased.

I tried "cancel original key functions" option but it doesn't work like i would :

If i check "cancels original key functions" : original actions are permanently disabled, even if the key action isn't a PBMC action.

If i uncheck "cancels original key functions" : original actions are permaently enabled, even if the key action is a PBMC action.

Another question : How to delete one or several chains ? Actually i delete app data when i want to do that.

Thanks :)
[Xposed Framework Modules] Xspeed:
[MENTION=5327200]nonobio[/MENTION]

Do it like this:

Single press delay 0.2s -> Keypress (Volume up)

Single press and hold delay 0.5s -> Media play/pause

Cancel original functions on both

To delete a chain grab the grip button (on the left on the list) and swipe the chain to the left or to the right.
[Xposed Framework Modules] nonobio:
Hi :)

Ok, so i have to recreate original functions into PBMC ?

I tried and it almost works, i did :

Single press delay 0s -> Keypress (Volume up)

Hold delay 0,5s -> Keypress (Volume up) with Repeats "until key oressed.released".

Single press and hold delay 0.2s -> Media play/pause

But i have an issue with this last action, if i single press the button, then press it again and hold it several seconds after, the action is triggered ! It seems that the "delay" correspond to the hold time and not the time while the action has to be executed..

This is the behavior i would :

Single press and hold vol+ (quickly) : Play pause action.

Single press.......ten hold button vol+ (slowly) : Vol+ repeated action.

and This is the actual behavior :

Single press and hold vol+ (quickly) : Play pause action.

Single press.......ten hold button vol+ (slowly) : Play pause action !

Thanks, i thought i had tried that but i didn't :rolleyes:
[Xposed Framework Modules] Xspeed:
Easy as pie, but only with an advanced chain.

You need to make a chain with delay on the first Volume+ release.

Something like this:

Vol+ pressed, Vol+ released delay 1s, Vol+ pressed delay 0.5s

This is for your Vol+ repeated action.