Xbox Controller D-Pad works on PC but not on Android

Just built my SDL2 game for Android, tested it with Xbox Series controller via Bluetooth, and D-Pad is not working. Gamepad rumble is also broken. Using SDL 2.30.2. Here is the source of gamepad module if it will be useful: link.