CONFIG11 Registers: Difference between revisions
add some legacy HID emulation info |
|||
Line 164: | Line 164: | ||
|- | |- | ||
| style="background: green" | Yes | | style="background: green" | Yes | ||
| | | [[#CFG11_TWLAGB_HIDEMU_MASK|CFG11_TWLAGB_HIDEMU_MASK]] | ||
| 0x10141110 | | 0x10141110 | ||
| 2 | | 2 | ||
Line 170: | Line 170: | ||
|- | |- | ||
| style="background: green" | Yes | | style="background: green" | Yes | ||
| | | [[#CFG11_TWLAGB_HIDEMU_PAD|CFG11_TWLAGB_HIDEMU_PAD]] | ||
| 0x10141112 | | 0x10141112 | ||
| 2 | | 2 | ||
Line 545: | Line 545: | ||
| Wifi-related? Set to 1 very early in NWM-module. | | Wifi-related? Set to 1 very early in NWM-module. | ||
|} | |} | ||
==CFG11_TWLAGB_HIDEMU_MASK== | |||
Set bits will use the corresponding values from [[#CFG11_TWLAGB_HIDEMU_PAD|CFG11_TWLAGB_HIDEMU_PAD]] instead of allowing the hardware to read it from [[HID_Registers#HID_PAD|HID_PAD]]. | |||
This is set to 0x1FFF (all buttons and the debug key) and [[#CFG11_TWLAGB_HIDEMU_PAD|CFG11_TWLAGB_HIDEMU_PAD]] is set to 0 when the "Close this software and return to HOME Menu?" dialog is shown to prevent the button presses from propagating to the DS/GBA CPU. | |||
==CFG11_TWLAGB_HIDEMU_PAD== | |||
Works the same way as [[HID_Registers#HID_PAD|HID_PAD]], but the values set here are only replaced in the HID_PAD seen by the DS/GBA CPU when the corresponding bits in [[#CFG11_TWLAGB_HIDEMU_MASK|CFG11_TWLAGB_HIDEMU_MASK]] are set. | |||
==CFG11_GPU_CNT== | ==CFG11_GPU_CNT== |