5,604,631 Members 40,467 Now Online
XDA Developers Android and Mobile Development Forum

[Q] Disable capacitive buttons when x app is active?

Tip us?
 
xlemonhed1
Old
#1  
Junior Member - OP
Thanks Meter 1
Posts: 3
Join Date: Sep 2013
Default [Q] Disable capacitive buttons when x app is active?

I am trying to figure out how to disable the capacitive buttons when a particular app is open. This is mainly for taking notes or writing in general. I realize that I can just flip the tablet, but it's still more beneficial to just kill the buttons. I am rooted and running cleanrom v2 with bindroid kernel. I also have xposed installed as well as Tasker and a bunch of other automation type apps installed. As of now I can disable them manually with xposed additions, but that takes too long haha.

I know that there has to be a way to do this. Anyone have any ideas?
 
xlemonhed1
Old
#2  
Junior Member - OP
Thanks Meter 1
Posts: 3
Join Date: Sep 2013
So far I have Tasker doing it the slow way and it works but I'd just like something more direct

Code:
Test (2)
	A1: Secure Settings [ Configuration:Xposed Additions - [Re-map Settings] .ActivityRemapSettings Package:com.intangibleobject.securesettings.plugin Name:Secure Settings Timeout (Seconds):0 ] 
	A2: Wait [ MS:0 Seconds:2 Minutes:0 Hours:0 Days:0 ] 
	A3: Run Shell [ Command:input tap 500 480 Timeout (Seconds):0 Use Root:eek:n Store Output In: Store Errors In: Store Result In: ] 
	A4: Run Shell [ Command:input tap 500 690 Timeout (Seconds):0 Use Root:eek:n Store Output In: Store Errors In: Store Result In: ] 
	A5: Button [ Button:Back ] 
	A6: Run Shell [ Command:input tap 500 630 Timeout (Seconds):0 Use Root:eek:n Store Output In: Store Errors In: Store Result In: ] 
	A7: Run Shell [ Command:input tap 500 690 Timeout (Seconds):0 Use Root:eek:n Store Output In: Store Errors In: Store Result In: ] 
	A8: Button [ Button:Back ] 
	A9: Button [ Button:Back ]
In xposed additions I already set up the binds so essentially I just use Tasker to toggle it.
 
Duly.noted
Old
#3  
Senior Member
Thanks Meter 83
Posts: 458
Join Date: Dec 2013
Gmd spen control will disable them. But it also disables finger touch on screen as well and idk if that work for you

Sent from my SCH-I605 using XDA Premium 4 mobile app
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes