IRawInput::BindAnalogForDevice

Register axis/analog on a device to send input events with a given name