Open kamlekar opened 3 years ago
Why? Playing chess using a controller sounds horrible. I can't imagine this would be used by more than a few people.
If anything, this sounds more like something an extension could do.
Playing chess using a controller sounds horrible
It won't. It is not about playing quick steps but playing comfortably.
I can't imagine this would be used by more than a few people.
If added there will be many who love playing with controllers. There are many who have Xbox controllers (not sure about PS). There is already a game on Steam: Simply chess which does support controller fully but it is not as good as Lichess.
If anything, this sounds more like something an extension could do.
I feel it is better to include this here rather than as an extension. It will definitely add value but not a greater one. After all open source software is supposed to evolve as per the community. I will try to support as much I can.
How would this work? Can you explain the flows? Which buttons do what?
Can we please add Xbox controller support?
There is an HTML5 Gamepad API available that could help with this.
Also a thought, loading gamepad libraries by default might not be good for performance. So maybe if the user explicitly states in the URL then maybe those gamepad libraries can be loaded. Similar to what agar.io does. It loads the gamepad library only when the user mentions in the URL like:
agar.io?gamepad