I am posting here as a continuation of this thread : http://oldforum.freegamedev.net/index.php?t=msg&th=3024&start=0&S=7b964f4b7ce90d4d2530c6fca6836dba
As stated there, I would like to add support for the wiimote to STK (Irrlicht SVN version), and I plan to use Wiiuse for this (only portable Wiimote library, though it does not handle MacOS X).
This requires adding Wiiuse to the build system, and I think the best option would be to provide its sources in the SVN, as is done with Bullet for example.
I would like also to have a discussion about the GUI for integrating this stuff.
Currently, I have seen that we can "add keyboards", but not remove them (or maybe I haven't found how to do so ?). Where is the association between the "keyboards" and the players done ? I suppose this should be done in the "Players" tab in the "Options" screen ? If this is the case, I think the "using wiimote N" option should be set in this screen too. Maybe you already handle this kind of stuff with joysticks, but I do not have any joystick to test, and I do not have so much time for looking at the code in depth...
I think the wiimote's controls should be standard and not customisable, as is on every Wii game. What do you think about this ?
Yet another thing about the GUI : for the wiimotes, there is a need for a "discovery" phase, where every player using a wiimote presses "1+2" on the remote control. I suggest there should be a button for this in the "Controls" tab in the "Options" screen. Again, what is your opinion about this ?
Last question : would you like me to create patches for the code, or could I have write access to the SVN ? I understand if you do not want to give write access to a complete stranger ^^. I could also have my own branch for wiimote support in the SVN...
I will try to conform as much as possible to the coding style of STK of course ^^
Thank you for your answers, STK developers and others
