diff options
| author | Henrik Rydberg <rydberg@bitmath.org> | 2010-09-07 15:38:19 +0200 |
|---|---|---|
| committer | Henrik Rydberg <rydberg@euromail.se> | 2010-09-07 16:08:44 +0200 |
| commit | 676b4003302e025d10a0822357c55b97dbab3707 (patch) | |
| tree | 4d575e9f05dbd3870dd32e1ecfe537ab6aba5c4b /test | |
| parent | a2ea1c9154c0d746f8c4e72425435fc017324d43 (diff) | |
Complete mtdev property mapping
Add the missing property values to the mapgen output, and insert the
result in the mtdev mapping header file.
Signed-off-by: Henrik Rydberg <rydberg@bitmath.org>
Diffstat (limited to 'test')
| -rw-r--r-- | test/mtdev-mapgen.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/test/mtdev-mapgen.c b/test/mtdev-mapgen.c index 0200175..8f70998 100644 --- a/test/mtdev-mapgen.c +++ b/test/mtdev-mapgen.c | |||
| @@ -63,14 +63,17 @@ int main(int argc, char *argv[]) | |||
| 63 | for (i = 0; i < MT_ABS_SIZE; i++) | 63 | for (i = 0; i < MT_ABS_SIZE; i++) |
| 64 | printf(" 0x%04x,%s", cmt2abs[i], newln(i, MT_ABS_SIZE)); | 64 | printf(" 0x%04x,%s", cmt2abs[i], newln(i, MT_ABS_SIZE)); |
| 65 | printf("};\n\n"); | 65 | printf("};\n\n"); |
| 66 | BIT_DEF(TRACKING_ID); | ||
| 67 | BIT_DEF(POSITION_X); | ||
| 68 | BIT_DEF(POSITION_Y); | ||
| 69 | BIT_DEF(TOUCH_MAJOR); | 66 | BIT_DEF(TOUCH_MAJOR); |
| 70 | BIT_DEF(TOUCH_MINOR); | 67 | BIT_DEF(TOUCH_MINOR); |
| 71 | BIT_DEF(WIDTH_MAJOR); | 68 | BIT_DEF(WIDTH_MAJOR); |
| 72 | BIT_DEF(WIDTH_MINOR); | 69 | BIT_DEF(WIDTH_MINOR); |
| 73 | BIT_DEF(ORIENTATION); | 70 | BIT_DEF(ORIENTATION); |
| 71 | BIT_DEF(POSITION_X); | ||
| 72 | BIT_DEF(POSITION_Y); | ||
| 73 | BIT_DEF(TOOL_TYPE); | ||
| 74 | BIT_DEF(BLOB_ID); | ||
| 75 | BIT_DEF(TRACKING_ID); | ||
| 76 | BIT_DEF(PRESSURE); | ||
| 74 | printf("\n"); | 77 | printf("\n"); |
| 75 | return 0; | 78 | return 0; |
| 76 | } | 79 | } |
