I wanted to disable screen waking up by home button - which causes many random wake ups while I keep phone in my pocket.
key bindings are stored in /system/usr/keylayout directory, but I've found HOME button being mapped in multiple different files:
Generic.kl:key 102 MOVE_HOME
Generic.kl:#key 172 HOME WAKE
Generic.kl:key 249 DUMMY_HOME1
Generic.kl:key 250 DUMMY_HOME2
Generic.kl:key 252 DUMMY_HOME
Vendor_045e_Product_028e.kl:key 316 HOME
Vendor_2943_Product_0020.kl:key 172 HOME
atmel_mxt_ts.kl:key 102 HOME
gpio-keys.kl:key 172 HOME WAKE_DROPPED
qwerty.kl:key 102 HOME WAKE
synaptics_rmi4_i2c.kl:key 102 HOME
I already have tried removing WAKE mapping for HOME and WAKE_DROPPED from Generic.kl and gpio-keys.kl, but it didnt help.
Does anyone have any idea how to disable HOME wake up for galaxy S5?