STM32-X360-xinput
STM32-X360-xinput copied to clipboard
Change to x360 controller layout
could you please add digital triggers?
WIN10 Enterprise Edition 2004 When shutting down or restarting, the USB device will be turned off. My keyboard and mouse have been turned off. STM32F103 will not turn off. I...
if( adcValueReady == 1 ){ rightTriggerValue = (uint8_t)map( rightTriggerValue_ADC, 0, 4096, 0, UINT8_MAX ); leftTriggerValue = (uint8_t)map( leftTriggerValue_ADC, 0, 4096, 0, UINT8_MAX ); xRightStickValue = (int16_t)map( xRightStickValue_ADC, 0, 4096, INT16_MIN,...