Doing this project manually I found that softkeys and D-Pad doesn't respond to the actions on a physical device.