diff options
author | Thomas White <taw27@cam.ac.uk> | 2008-12-01 20:38:28 +0000 |
---|---|---|
committer | Thomas White <taw27@cam.ac.uk> | 2008-12-01 20:38:28 +0000 |
commit | 71ba0cfa22d42746503e39cfe31e128fc3f333a8 (patch) | |
tree | e08016c93dc2ab67146684db1c514a9c24b64511 /src/types.h | |
parent | 24be2709909e3870bfb412a123afe02519d2eaad (diff) | |
parent | c5fce104c22dae327714559562383b3e85bb7df1 (diff) |
Merge branch 'hdaps'
Diffstat (limited to 'src/types.h')
-rw-r--r-- | src/types.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/types.h b/src/types.h index b864742..7870081 100644 --- a/src/types.h +++ b/src/types.h @@ -4,6 +4,7 @@ * Data types * * (c) 2008 Thomas White <taw27@srcf.ucam.org> + * (c) 2008 Joachim Breitner <mail@joachim-breitner.de> * * This file is part of OpenMooCow - accelerometer moobox simulator * @@ -33,6 +34,7 @@ typedef enum { ACCEL_UNKNOWN, ACCEL_FREERUNNER, /* Openmoko Neo Freerunner */ + ACCEL_HDAPS, /* Thinkpad HDAPS */ } AccelType; typedef struct { @@ -49,6 +51,9 @@ typedef struct { int lx; int ly; int lz; + + /* Current state (driver dependent) */ + int state; } AccelHandle; |