[Android Q&A, Help & Troubleshooting] djvinniev77:
The better way to modify the camera - retaining camera button functionality and avoiding long press launch

So I noted the items below, but found out where this sits in the build.prop of device.

Note: if you made any changes to the Generic.kl and mtk-kpd.kl relating to camera, please change it back.

with a rooted device, use a file manager like ES FILE EXPLORER and do root browsing.

Navigate to /system/

find the build.prop file and edit the following line:

ro.camera.longpress_start=yes

to

ro.camera.longpress_start=no

Save and reboot. Test camera button, shouldn't launch on long press.

This setting retains the fact that you have a camera button on device. The benefit of this is that it now works on any camera app as a shutter button.

Have tested it against CAMERA-FV5, Bacon Camera and Stock Camera. Camera button works!

Sorry for those who made changes before, found an even better way and sharing it out.

------------------------------------------------ old way ---------------------------------------------------------------------------------------

Found a neat trick to break the camera button!

So everyone is saying the button mapper app is requiring you to get the "Pro" version in order to get the camera button remapped.. YES that is correct, but what if we managed to make the camera button no longer function as the camera button???

Along the same lines of editing the items [MENTION=5404196]sumec100[/MENTION] noted here, look for the following key on both files

key 212 CAMERA

change this to

key 212 GRAVE

Ensure you keep the same spacing as noted before or else you'll get errors regarding the button assignments (it breaks for ALL buttons and you should restore what you had before and try again)

added extra step, for the file mtk-kpd.kl

ensure it states

key 212 GRAVE WAKE_DROPPED

The WAKE_DROPPED command is supposed to not parse the intended command you're trying to launch (so for example, GRAVE does this symbol " ' ")

Save it and reboot to ensure you have the buttons functional as it should. But this time, when rebooting, the camera function wouldn't kick in when you long press the camera button, in fact it doesn't think its a camera button anymore. Proved this by launching the button mapper app again (I paid for pro... sigh) and you no longer see the dedicated camera button. Instead, you can now click Add Button, then map the camera button as a different function (it detects as GRAVE (68) for me) and I can now use it as something else on single, double and long press.

I tweaked this because whenever I place my device on the car vent device mount, by locking the device in, the padded arms close in and press down on the SOS button as well as the Camera button.

Now, with the following changes, you have nothing. :) as long as you didn't assign your buttons to launch something else via button mapper app.

This DOES break the shutter functionality on the mediatek camera app, but you can always use another button to take a picture (in this case the volume button also functions as shutter button) .. the camera button doesn't work on 3rd party camera apps anyway so no big loss.

Let me know if this works for you guys as well.

Love this device more and more and I've really learned a lot!