MaxMiPad icon indicating copy to clipboard operation
MaxMiPad copied to clipboard

Disable only one of the hold gestures.

Open Vader77Darth opened this issue 2 years ago • 7 comments

At the moment, you can only disable both hold gestures. I only want to disable the notes button. It would be cool if we could choose to disable each shortcut individually.

Vader77Darth avatar Aug 10 '23 08:08 Vader77Darth

It's not very easy to implement, because MIUI determines if a key event should be intercepted before determining which key it is. Maybe you can try a module like Xposed Edge to remap the key behavior. (The region screenshot behavior of the original Xposed Edge doesn't apply to MIUI though, you can map the long press of the region screenshot button to Meta+Shift+A, which is the default region screenshot shortcut provided by MIUI)

YifePlayte avatar Aug 11 '23 15:08 YifePlayte

I see. Maybe, a future version could remap the buttons. In the mean time, I will try xposed edge.

Vader77Darth avatar Aug 11 '23 15:08 Vader77Darth

Your suggestion works like a charm.

Vader77Darth avatar Aug 11 '23 16:08 Vader77Darth

There is an issue on my mipad 6 ignore long press button on xiaomi stylus 2 is not working. Bluetooth funtion is work. Miui 14.0.7 CN

s2kaka avatar Oct 27 '23 08:10 s2kaka

Rip. I can still disable it on my Xiaomi smart pen second generation. Xiaomi Pad 5 running MIUI 14 TKXEUXM

Vader77Darth avatar Oct 27 '23 08:10 Vader77Darth

There is an issue on my mipad 6 ignore long press button on xiaomi stylus 2 is not working. Bluetooth funtion is work. Miui 14.0.7 CN

Fixed.

YifePlayte avatar Oct 27 '23 13:10 YifePlayte

There is an issue on my mipad 6 ignore long press button on xiaomi stylus 2 is not working. Bluetooth funtion is work. Miui 14.0.7 CN

Fixed.

Thank you for your support

s2kaka avatar Nov 04 '23 01:11 s2kaka