Xantomen / GamesInputPal

http://xantomen.com/gamesinputpal/
GNU General Public License v3.0
2 stars 0 forks source link

To Consider: When clicking on a button, directly activate one label to write on #40

Open Xantomen opened 8 years ago

Xantomen commented 8 years ago

Suggested by Tobias

Xantomen commented 8 years ago

Main Arguments against this and other "fixed choice" approaches:

-I'm uncomfortable about erasing flexibility from it. It potentially means that there'll be some controllers or games for which someone won't be able to make their expressive layout properly. -It would mean customizing code for every new controller. More work per layout.

Potential medium solutions:

-Make it so once it's done you can redraw the line and carry the text to a different box.(Difficult to make intuitive, and probably requires me to pass to SVG Lines and make a line that follows the mouse before) -Make it so you can reorder the boxes positions, like a list. Ex: Move the first element to the third place. Jquery UI might help me with this?

Xantomen commented 8 years ago

Still to revise if I automatise the Input Box choice, but I did implement the sortable functionality in the boxes

Xantomen commented 8 years ago

Now that the text boxes can be sorted dynamically, allowing for automatic selection of a box should be more straightforward. However, there is still the problem of choosing side for it. I don't see how to properly choose if the box should be on the left or the right of the controller without doing individual work for every controller button that gets introduced, which is not desirable.