# Gamepad default trigger identification in Windows

I'm currently writing an interface driver for my Moga Power Pro controller on Windows. I'd like to release it for others to use, but first I have some questions on expected default mappings for the triggers.

Specifically, how do other gamepads map the triggers, as viewed from the Windows joy.cpl Game Controllers panel? And which axis are they normally mapped to? Some axes default to the center value, others can default to zero, and the different axes might be treated differently inside games. Triggers are naturally zero-to-full, but I don't want someone to download my interface driver and suddenly find the triggers are always active because Windows thinks the axis ought to be centered and reads it always tilted to one side.

I realize every controller is different, so this may be a bit subjective, but the closer I can set it to some form of standard the better. Or is this something I shouldn't even need to worry about, that games which expect a trigger input will handle on their own?

The Xbox 360 Controller / Xbox One Controller on PC are exposed as HID devices for DirectInput to help support legacy applications as well as through the XINPUT API or on Windows 10 the new Windows.Gaming.Input API. For the triggers, the HID report makes an assumption that was made so that steering wheel games would work as expected: The left & right triggers are combined as follows for the Z axis: