Custom keymapping for games? I'm using an iPega Bluetooth controller with my HTC Desire 510. For most things it works great, but I am running into some issues with Ravensword 2. Ravensword finds my controller and connects fine, but when I start playing, certain actions can't be performed (attacking being one of them). 

Is there a way to custom map my controller? I'm not on a rooted phone as I can't find a reliable way to root this device.
For root you didn't specify what carrier you have, so use this Google search

For custom keymapping use Tincore Keymapper. Here is the wiki page for Tincore.

I like this app for customized controller settings. A little bit of a learning curve, but doable.