diff options
Diffstat (limited to 'src/capabilities.c')
| -rw-r--r-- | src/capabilities.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/capabilities.c b/src/capabilities.c index 513a254..d0a157b 100644 --- a/src/capabilities.c +++ b/src/capabilities.c | |||
| @@ -62,11 +62,13 @@ int read_capabilities(struct Capabilities *cap, int fd) | |||
| 62 | SETABS(cap, orientation, absbits, ABS_MT_ORIENTATION, fd); | 62 | SETABS(cap, orientation, absbits, ABS_MT_ORIENTATION, fd); |
| 63 | SETABS(cap, position_x, absbits, ABS_MT_POSITION_X, fd); | 63 | SETABS(cap, position_x, absbits, ABS_MT_POSITION_X, fd); |
| 64 | SETABS(cap, position_y, absbits, ABS_MT_POSITION_Y, fd); | 64 | SETABS(cap, position_y, absbits, ABS_MT_POSITION_Y, fd); |
| 65 | |||
| 66 | return 0; | ||
| 65 | } | 67 | } |
| 66 | 68 | ||
| 67 | //////////////////////////////////////////////////////// | 69 | //////////////////////////////////////////////////////// |
| 68 | 70 | ||
| 69 | int output_capabilities(const struct Capabilities *cap) | 71 | void output_capabilities(const struct Capabilities *cap) |
| 70 | { | 72 | { |
| 71 | char line[1024]; | 73 | char line[1024]; |
| 72 | memset(line, 0, sizeof(line)); | 74 | memset(line, 0, sizeof(line)); |
