There is no dinstinction between drivers and plugins in Crystal Space. The typical way to extend CS is to create a plugin module. Your plugin's primary job will be to query the glove's state and then post that state to the CS event queue. You probably want to look at iEventQueue, iEventOutlet, and iEvent (see the API documentation at http://www.crystalspace3d.org/docs/online/api
). How you actually query the device for state depends upon the context. You may want to poll the device each time through the CS run-loop, or you may want to spawn a thread which watches the device, and then posts CS events as the device state changes.