Default [Q] Using Camera Button to Wake Phone

I wanted to assign the camera shutter button to wake up the phone. I've used other lockscreen apps like Go Locker, Live Screen, and Magic Locker and they all allow the volume rocker to wake the screen, but not the camera button. I then tried the app "buttonremapper" or something like that that I found on xda. It didn't work.

I found this folder:
/system/usr/keylayout/

with the files:
AVRCP.kl
cpcap-key.kl
edison-keypad.kl
evfwd.kl
omap-keypad.kl
qwerty.kl
usb_keyboard_102_en_us.kl

Everywhere I saw:
212 Camera
(all but the first two files)

I changed it to:
212 Camera WAKE_DROPPED
(and added this to cpcap-key.kl)

It worked...but not always. Every now and then, it would not wake up with the camera button (especially if I hadn't had the screen on in a while). Any ideas? Is this a foolish endeavor?

Also, the Search button sometimes does not bring up the search function (long-pressing doesn't bring the voice search) right after unlocking the screen. The haptic still works, but the search doesn't pop up. The ability returns if I press the home button first. The same goes for the camera hardware button not opening the camera app but working after I press home first. This was happening even before my modifications and only intermittently.

My mod is not at all important, but I'm curious why it doesn't work all the time. I'm not sure if it's related to my buttons not working regularly, but I suspect it does.

I am using Go Launcher and tried a variety of lockscreen apps. I just did a factory reset last night to see if it fixed it, but it didn't. I reloaded a minimal amount of apps. I am using the stock camera at this point (I didn't reload camera zoom fx--but it had the same issue before the factory reset anyway). Could this be related to an app or is there something deeper at fault? I doubt it's a hardware defect since it is corrected by touching the home button.

If you think you have an idea but need more info, let me know. I appreciate any suggestions!