Sign in to follow this  
feuxfollets

how to map hardware button to a schell script? (screen calibration problems)

Recommended Posts

So I'm running r8 on my tablet, and it works really well except for when, approximately once a day, the touchscreen just stops working.

Recalibrating it fixes the problem, but that requires plugging in a mouse because there's no other way to get to the screen calibration app since the touchscreen doesn't work. Unfortunately I don't usually carry a mouse with me all day.

Is there a way to map a hardware button code to activate a shell script, so then I can just make a script to activate the recalibration app?

Share this post


Link to post
Share on other sites

I did find an app called "Button Shortcut" but that only seems to allow remapping of Search and Camera buttons. However, there are a couple of links below that may be of interest:

http://forum.xda-developers.com/showthread.php?t=695936

http://forum.xda-developers.com/showpost.php?p=6870522&postcount=1

The second one looks the most useful but will require rebuilding a boot image.

Share this post


Link to post
Share on other sites

So I'm running r8 on my tablet, and it works really well except for when, approximately once a day, the touchscreen just stops working.

Recalibrating it fixes the problem, but that requires plugging in a mouse because there's no other way to get to the screen calibration app since the touchscreen doesn't work. Unfortunately I don't usually carry a mouse with me all day.

Is there a way to map a hardware button code to activate a shell script, so then I can just make a script to activate the recalibration app?

Question is .. what button would you forgo the use of to have this feature ?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

MoDaCo is part of the MoDaCo.network, © Paul O'Brien 2002-2016. MoDaCo uses IntelliTxt technology.