mirror of
https://github.com/spice2x/spice2x.github.io.git
synced 2026-08-01 22:30:42 -07:00
4d32dde83e
The old pages UI was not intuitive and often led to questions like: * How do I bind multiple controllers to a single input?? (failure to discover) * I have a ghost input that won't go away, how do I fix this? Is this a bug? (non-intuitive UI - there are too many pages and finding out where each binding is potentially requires scrolling through 100 pages) * Potential perf issue - user binds too many by accident, or puts bindings all the way in page 99, requiring us to walk each element in the vector, wasting precious CPU cycles during an input poll. This PR removes the multiple pages, and puts everything on a single page, showing multiple binds in a tree structure. It also puts a hard limit on how many alternate bindings can be made (8 for buttons, 16 for lights), though if the user has configured more in older version they will be respected.