Add extras post-copy flow for RAM and Hekate-Pro selection.
All checks were successful
Build / Build (push) Successful in 14s
All checks were successful
Build / Build (push) Successful in 14s
Copy sd:/extras from the pack, prompt for RAM and Hekate/AMS choices, persist them in config.ini, apply Pro/8GB payloads, then remove extras/. Use safe config.ini I/O and Joy-Con input clearing between menus.
This commit is contained in:
@@ -721,6 +721,12 @@ void jc_deinit()
|
||||
clock_disable_uart(UART_C);
|
||||
}
|
||||
|
||||
/* Drop current button state without power-cycling the Joy-Cons. */
|
||||
void jc_clear_input(void)
|
||||
{
|
||||
jc_gamepad.buttons = 0;
|
||||
}
|
||||
|
||||
static void jc_init_conn(joycon_ctxt_t *jc)
|
||||
{
|
||||
if (((u32)get_tmr_ms() - jc->last_received_time) > 1000)
|
||||
|
||||
@@ -92,6 +92,7 @@ typedef struct _jc_gamepad_rpt_t
|
||||
void jc_power_supply(u8 uart, bool enable);
|
||||
void jc_init_hw();
|
||||
void jc_deinit();
|
||||
void jc_clear_input(void);
|
||||
jc_gamepad_rpt_t *joycon_poll();
|
||||
jc_gamepad_rpt_t *jc_get_bt_pairing_info(bool *is_l_hos, bool *is_r_hos);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user