[Xposed Framework Modules] nonobio:
Because i want to change the volume by holding volume button even when screen is off.

With inbuilt behavior, holding volume button repeat the increase or decrease volume action only when screen is on; when it is off, it only send a step for increase or decrease volume.

The issue could be resolved by using the PBMC setting : capture only when screen is off. But it isn't the setting i want; i want PBMC actions enabled permanently.

If i could use a different capture setting for my volume action than for others actions, it could resolve the pb, but i can't.

I tried to hold the key longer but nothing happen for "MEDIA PLAY" (you're right, it is the key from my BT device).

I tried also to hold long "MEDIA NEXT" and "MEDIA PREVIOUS" (my others BT device button's) and nothing happen from PBMC; but the normal behavior happen : forward and rewind.

This is a new log with these actions :

Quick press on MEDIA PLAY, MEDIA NEXT and MEDIA PREVIOUS (i don't have actions mapped on PBMC).

then,

Long press (about 3 seconds) on MEDIA PLAY, MEDIA NEXT and MEDIA PREVIOUS (i have actions mapped on PBMC with 200 ms delay and none of them were triggered) :

10-29 13:07:46.410 I/Xposed ( 1111): PBMC: Processing key MEDIA PLAY down (audio 4)
10-29 13:07:46.411 I/Xposed ( 1111): PBMC: Creating delay event (1) MEDIA PLAY down
10-29 13:07:46.440 I/Xposed ( 1111): PBMC: Processing key MEDIA PLAY up (audio 4)
10-29 13:07:46.441 I/Xposed ( 1111): PBMC: Delay interrupted MEDIA PLAY
10-29 13:07:46.445 I/Xposed ( 1111): PBMC: Sending simulated key MEDIA PLAY down
10-29 13:07:54.895 I/Xposed ( 1111): PBMC: Processing key MEDIA NEXT down (audio 4)
10-29 13:07:54.895 I/Xposed ( 1111): PBMC: Creating delay event (1) MEDIA NEXT down
10-29 13:07:54.919 I/Xposed ( 1111): PBMC: Processing key MEDIA NEXT up (audio 4)
10-29 13:07:54.919 I/Xposed ( 1111): PBMC: Delay interrupted MEDIA NEXT
10-29 13:07:54.920 I/Xposed ( 1111): PBMC: Sending simulated key MEDIA NEXT down
10-29 13:07:58.904 I/Xposed ( 1111): PBMC: Processing key MEDIA PREVIOUS down (audio 4)
10-29 13:07:58.904 I/Xposed ( 1111): PBMC: Creating delay event (1) MEDIA PREVIOUS down
10-29 13:07:58.909 I/Xposed ( 1111): PBMC: Processing key MEDIA PREVIOUS up (audio 4)
10-29 13:07:58.909 I/Xposed ( 1111): PBMC: Delay interrupted MEDIA PREVIOUS
10-29 13:07:58.910 I/Xposed ( 1111): PBMC: Sending simulated key MEDIA PREVIOUS down
10-29 13:09:31.356 I/Xposed ( 1111): PBMC: Processing key POWER down (audio 4)
10-29 13:09:31.356 I/Xposed ( 1111): PBMC: Delay interrupted POWER
10-29 13:09:31.356 I/Xposed ( 1111): PBMC: Creating delay event (1) POWER down
10-29 13:09:31.438 I/Xposed ( 1111): PBMC: Processing key POWER up (audio 4)
10-29 13:09:31.438 I/Xposed ( 1111): PBMC: Delay interrupted POWER
10-29 13:09:31.439 I/Xposed ( 1111): PBMC: Creating delay event (1) POWER up
10-29 13:09:31.640 I/Xposed ( 1111): PBMC: Delay elapsed POWER up
10-29 13:09:31.640 I/Xposed ( 1111): PBMC: Sending simulated key POWER down
10-29 13:09:31.693 I/Xposed ( 1111): PBMC: Sending simulated key POWER up

Yes, it will be great. I know that PBMC is designed for music playback but i found it great for others actions too, like this one : launch my camera :)

Thanks :)