The Ipega controller is not technically supported by our games, because it uses a non-standard button mapping.  However it is possible to customize the button mapping to work with the game (you will need to investigate online for how to do this, we cannot help you).  This is the button mapping configuration to use:

# Ipega PG-9017S Bluetooth controller

key 288   BUTTON_X
key 289   BUTTON_A
key 290   BUTTON_B
key 291   BUTTON_Y
key 292   BUTTON_L2
key 293   BUTTON_R2
key 297   BUTTON_START

# Joystick and game controller axes.
# Axes that are not mapped will be assigned generic axis numbers by the input subsystem.
axis 0x00 X
axis 0x01 Y
axis 0x02 Z
axis 0x03 RX
axis 0x04 RY
axis 0x05 RZ
axis 0x06 THROTTLE
axis 0x07 RUDDER
axis 0x08 WHEEL
axis 0x09 GAS
axis 0x0a BRAKE
axis 0x10 HAT_X
axis 0x11 HAT_Y