mirror of
https://github.com/libretro/RetroArch.git
synced 2026-11-12 18:45:33 -10:00
A uint setting's list can leave values out: Mouse Index lists only the mice there are, and Keyboard Index lists only the keyboards there are and the one chosen now. The pick was worked out from the entry's position, as the minimum plus whole steps, so a value left out shifted every pick after it: with mice at #1 and #3, picking #3 set #2. Each entry now carries the value it lists, and the pick sets that one. The network settings harness passes each entry's entry_idx, which carries its value, as the menu does, and picks a Mouse Index past an index with no mouse and a Keyboard Index past an index with no keyboard.