[fs-uae-controller]
name = XiaoMi Game Controller
platform = linux

[default]
include = universal_gamepad
axis_0_neg = lstick_left
axis_0_pos = lstick_right
axis_1_neg = lstick_up
axis_1_pos = lstick_down
axis_2_neg = rstick_left
axis_2_pos = rstick_right
axis_5_neg = rstick_up
axis_5_pos = rstick_down
axis_6_pos = right_trigger
button_0 = south_button
button_1 = east_button
button_10 = select_button
button_11 = start_button
button_13 = lstick_button
button_14 = rstick_button
button_15 = menu_button
button_3 = west_button
button_4 = north_button
button_6 = left_shoulder
button_7 = right_shoulder
button_8 = left_trigger
hat_0_down = dpad_down
hat_0_left = dpad_left
hat_0_right = dpad_right
hat_0_up = dpad_up
