Here is my DualShock 4 config for Mario Galaxy which has gyro functionality on L1, and save/load state functionality on the share button. It also works for Xbox and generic controllers, but
Amazon.com: Transformers: Revenge of the Fallen - Nintendo Wii : Video Games
HOW TO CONFIGURE A PS4 CONTROLLER AS A WIIMOTE SIDEWAYS ON ANDROID | DOLPHIN EMULATOR | - YouTube
GitHub - Oblomov/wiimote-pad: Small tool to expose a sideways Wii Remote controller as a gamepad