switch to tusb_xinput fork
This commit is contained in:
3
.gitmodules
vendored
3
.gitmodules
vendored
@@ -4,9 +4,6 @@
|
||||
[submodule "lib/tinyusb"]
|
||||
path = lib/tinyusb
|
||||
url = https://github.com/hathach/tinyusb.git
|
||||
[submodule "lib/tusb_xinput"]
|
||||
path = lib/tusb_xinput
|
||||
url = https://github.com/Ryzee119/tusb_xinput.git
|
||||
[submodule "src/usbd"]
|
||||
path = src/usbd
|
||||
url = https://github.com/wiredopposite/usbd.git
|
||||
|
||||
Submodule lib/tusb_xinput deleted from 7f4b2b3b92
@@ -37,16 +37,16 @@ bool store_input_mode(enum InputMode new_mode)
|
||||
|
||||
restore_interrupts(saved_interrupts);
|
||||
|
||||
return true;
|
||||
|
||||
// const uint8_t *flash_target_contents = (const uint8_t *)(XIP_BASE + FLASH_SIZE_BYTES - FLASH_SECTOR_SIZE);
|
||||
|
||||
// if ((uint8_t)saved_mode != *flash_target_contents)
|
||||
// {
|
||||
// return false;
|
||||
// }
|
||||
|
||||
// return true;
|
||||
|
||||
const uint8_t *flash_target_contents = (const uint8_t *)(XIP_BASE + FLASH_SIZE_BYTES - FLASH_SECTOR_SIZE);
|
||||
|
||||
if ((uint8_t)saved_mode != *flash_target_contents)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
bool change_input_mode(GamepadButtons buttons)
|
||||
|
||||
Reference in New Issue
Block a user