Jump to content

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


Guest feuxfollets

Recommended Posts

Guest feuxfollets

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?

Link to comment
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.

Link to comment
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 ?

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.