- Home /
[ANDROID] How to configure and 8bitdo controller D-pad in Input Manager?
Hi! I'm trying to configure an 8bitdo SFC30 controller for my Android tablet, and so far buttons are working, but can't find a way to make Dpad work.
I've tried X-Y axis, and then every axis from 4th to 28th, but no luck.
To check if axis are pressed, I'm using this code:
if (Input.GetAxisRaw ("HorizontalAxis") != 0) {
Debug.Log("HOR: " + Input.GetAxisRaw("HorizontalAxis"));
}
if (Input.GetAxisRaw ("VerticalAxis") != 0) {
Debug.Log("VER: " + Input.GetAxisRaw("VerticalAxis"));
}
Is it that Unity is not compatible with these controllers? I'm seeing Sega Forever games in Android (which are emulated from an Unity wrapper, apparently) are struggling to get these pads working.
I think Unity should have some joypad utility that shows every detected gamepad buttons and directional keys events, to make this easier for developers.
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612144805im_/https://answers.unity.com/themes/thub/images/avi.jpg)