Gadgeteer
Next
Gadgeteer
Device Driver Authoring Guide
Version 0.4
$Date: 2003/12/05 20:36:50 $
Table of Contents
I. Introduction
1. Overview of Gadgeteer
Goals of Gadgeteer
Goals for Device Driver Authors
Portability
Maintainability
Efficiency
Modularity
2. Using the VR Juggler Portable Runtime
Buffered I/O
Serial Ports
Sockets
Threads
Programmer Reference
II. Programming
3. Drivers and the Input Manager
Drivers as Input Manager Plug-Ins
Device Types
Position
Digital
Analog
Glove
Gesture
Simulator
The Input Mixer
4. Device Driver Conventions
Separation of Code
5. Writing Device Drivers
Identifying the Device Type
Implementing the Standalone Device Driver
Implementing the Gadgeteer Wrapper Class
Choose the Base Class(es)
Register the Driver with the Input Manager
6. Configuration
Configuration Files
Writing Code that Accepts the Configuration
III. Appendices
A. Complete Device Driver Code
Standalone Driver
Gadgeteer Wrapper
Makefile Templates
Bibliography
Glossary of Terms
Index
List of Examples
6.1.
button_device.jdef: Configuration Definition File for Simple Button Device
6.2.
button_device.jconf: Configuration File for Simple Button Device
A.1.
ButtonDevice.h
A.2.
ButtonDevice.cpp
A.3.
Makefile.in for Gadgeteer Build System
A.4.
Makefile for Use Outside Gadgeteer Source Tree