Wiimote as Input


I’m trying to use the Wiimote as an input device in JME. JME engine supports the mouse, keyboard and joystick as input devices, but not the Wiimote. My idea is to create a Wiimote extends Joystick class in order for the engine to handle the Joystick input the way it normally does.

Is there a better idea to implement the Wiimote as an input device, or is this the way to go? If this is the way to go what other classes + methods do I need to implement to make it work?