Skip to content

Built-in Inputs ​

Every controller input, like pressing the A button or pushing the left stick up, has an ID. You use these IDs in default bindings and font mappings.

Which IDs a controller uses depends on whether SDL recognises it as a gamepad. A gamepad uses the gamepad inputs, and anything else uses the generic joystick inputs. A controller type can also force a controller to be a joystick with force_joystick (see Custom Controller Identification).

To see the inputs your controller reports, open Controlify's Global Settings, press Copy Debug Dump To Clipboard and look under Available inputs for your controller.

Gamepad inputs ​

Buttons ​

IDButton
controlify:button/southBottom face button (A on Xbox, Cross on PlayStation)
controlify:button/eastRight face button
controlify:button/westLeft face button
controlify:button/northTop face button
controlify:button/left_shoulderLeft bumper
controlify:button/right_shoulderRight bumper
controlify:button/left_stickLeft stick click
controlify:button/right_stickRight stick click
controlify:button/backBack or Select
controlify:button/startStart
controlify:button/guideGuide or Home
controlify:button/dpad_up
controlify:button/dpad_down
controlify:button/dpad_left
controlify:button/dpad_right
D-pad

Axes ​

Each stick is split into four inputs, one for each direction, and each one goes from 0 to 1.

IDAxis
controlify:axis/left_triggerLeft trigger
controlify:axis/right_triggerRight trigger
controlify:axis/left_stick_up
controlify:axis/left_stick_down
controlify:axis/left_stick_left
controlify:axis/left_stick_right
Left stick
controlify:axis/right_stick_up
controlify:axis/right_stick_down
controlify:axis/right_stick_left
controlify:axis/right_stick_right
Right stick

Extra buttons ​

Most gamepads don't have these.

IDButton
controlify:button/misc_1
…
controlify:button/misc_6
Extra buttons. What they are depends on the controller. On a DualSense, misc_1 is the microphone button, and on a Switch controller it's the capture button.
controlify:button/left_paddle_1
controlify:button/left_paddle_2
controlify:button/right_paddle_1
controlify:button/right_paddle_2
Back paddles
controlify:button/touchpad_1Touchpad click
controlify:button/touchpad_2Second touchpad click. The SDL driver only reports one touchpad button, as touchpad_1, so nothing currently reports this input.

Touch sensors ​

Touch sensors report whether something is touching them. They're reported separately from inputs, so you can't bind them to actions. Controlify uses them for the gyro's touch activation setting.

IDSensor
controlify:capsense/left_stick
controlify:capsense/right_stick
A finger on a stick
controlify:capsense/left_grip
controlify:capsense/right_grip
A hand on a grip
controlify:capsense/touchpad_1
controlify:capsense/touchpad_2
…
A finger on a touchpad, numbered from 1

Generic joystick inputs ​

A joystick can have any number of buttons, axes and hats, so their IDs use the index that SDL reports, starting at 0.

IDExampleInput
controlify:button/<index>controlify:button/0A button
controlify:axis/<index>/positive
controlify:axis/<index>/negative
controlify:axis/0/positiveOne direction of an axis
controlify:hat/<index>/up
controlify:hat/<index>/right
controlify:hat/<index>/down
controlify:hat/<index>/left
controlify:hat/0/upOne direction of a hat switch

Each axis is split into two inputs, one for each direction, and each one goes from 0 to 1.

Controlify is an open-source Minecraft mod.