The interface snx::ctr::irrst of irrst.swipc, the service ir:rst. 3 commands; the handlers are in src/3ds/services.
ir:rst, the New 3DS's ZL, ZR and C-stick (Azahar's ir_rst.cpp). WriteToTwoFields (0x9) has no handler there either
command 0x1: request 0x00010000, response 0x00010043
| Word | Contents |
|---|---|
| 0 | header 0x00010000: command 0x1, 0 normal words, 0 translated |
| Word | Contents |
|---|---|
| 0 | header 0x00010043: command 0x1, 1 normal word, 3 translated |
| 1 | the result: 0 for success. A failed command's response is the header and the result alone |
| 2 | 0x4000010: moved handles, 2 |
| 3 | memory: handle<move> |
| 4 | event: handle<move> |
uint32_t snx_ctr_irrst_GetHandles(SnxCtrIpc* c, uint32_t* a_memory, uint32_t* a_event)
command 0x2: request 0x00020080, response 0x00020040
| Word | Contents |
|---|---|
| 0 | header 0x00020080: command 0x2, 2 normal words, 0 translated |
| 1 | update_period: u32 |
| 2 | raw_c_stick: u32 |
| Word | Contents |
|---|---|
| 0 | header 0x00020040: command 0x2, 1 normal word, 0 translated |
| 1 | the result: 0 for success. A failed command's response is the header and the result alone |
uint32_t snx_ctr_irrst_Initialize(SnxCtrIpc* c, uint32_t a_update_period, uint32_t a_raw_c_stick)
command 0x3: request 0x00030000, response 0x00030040
| Word | Contents |
|---|---|
| 0 | header 0x00030000: command 0x3, 0 normal words, 0 translated |
| Word | Contents |
|---|---|
| 0 | header 0x00030040: command 0x3, 1 normal word, 0 translated |
| 1 | the result: 0 for success. A failed command's response is the header and the result alone |
uint32_t snx_ctr_irrst_Shutdown(SnxCtrIpc* c)
Made from ScarletNX's Sail at 166ad3910f80. The schemas and the handlers are ScarletNX's (GPL-3.0-or-later).