Commit 6b5cf43
menu_setting: move the MIDI device selectors into descriptor rows
The MIDI input and output pickers were built by hand with their
four device-cycling handlers - start, left, right, ok - poked on
after construction. They are S_STRING rows now, those handlers
riding in the slots the grammar already provides; the builder body
drops the two CONFIG_STRING blocks for one ADD_DESC under the same
non-console guard. Settings dump byte-identical, so both defaults,
the empty flag word and all four handlers reproduced exactly;
referee reads two more settings index-faithful, two fewer hand
built. Net 23 lines from the builder plus a 21-line def file.
Second of the fully-movable hand-CONFIG builders to cross. Noted
in passing: core_updater looked movable by raw handler shape but
is not - its buildbot URLs sit inside an Android play-feature
runtime guard and its backup uint is interleaved with a computed
offset_by range, so it needs interleaving and runtime-condition
grammar the rows do not have yet, and stays coded.1 parent 8f61b61 commit 6b5cf43
2 files changed
Lines changed: 31 additions & 34 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12560 | 12560 | | |
12561 | 12561 | | |
12562 | 12562 | | |
| 12563 | + | |
| 12564 | + | |
| 12565 | + | |
| 12566 | + | |
| 12567 | + | |
| 12568 | + | |
| 12569 | + | |
12563 | 12570 | | |
12564 | 12571 | | |
12565 | 12572 | | |
| |||
17026 | 17033 | | |
17027 | 17034 | | |
17028 | 17035 | | |
17029 | | - | |
17030 | | - | |
17031 | | - | |
17032 | | - | |
17033 | | - | |
17034 | | - | |
17035 | | - | |
17036 | | - | |
17037 | | - | |
17038 | | - | |
17039 | | - | |
17040 | | - | |
17041 | | - | |
17042 | | - | |
17043 | | - | |
17044 | | - | |
17045 | | - | |
17046 | | - | |
17047 | | - | |
17048 | | - | |
17049 | | - | |
17050 | | - | |
17051 | | - | |
17052 | | - | |
17053 | | - | |
17054 | | - | |
17055 | | - | |
17056 | | - | |
17057 | | - | |
17058 | | - | |
17059 | | - | |
17060 | | - | |
17061 | | - | |
17062 | | - | |
| 17036 | + | |
17063 | 17037 | | |
17064 | 17038 | | |
17065 | 17039 | | |
| |||
18160 | 18134 | | |
18161 | 18135 | | |
18162 | 18136 | | |
| 18137 | + | |
| 18138 | + | |
| 18139 | + | |
18163 | 18140 | | |
18164 | 18141 | | |
18165 | 18142 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
0 commit comments