diff options
Diffstat (limited to 'src/hwdata.c')
| -rw-r--r-- | src/hwdata.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/hwdata.c b/src/hwdata.c index 3b7c41c..bd42710 100644 --- a/src/hwdata.c +++ b/src/hwdata.c | |||
| @@ -21,16 +21,12 @@ | |||
| 21 | 21 | ||
| 22 | #include "hwdata.h" | 22 | #include "hwdata.h" |
| 23 | 23 | ||
| 24 | /******************************************************/ | ||
| 25 | |||
| 26 | void init_hwdata(struct HWData *hw) | 24 | void init_hwdata(struct HWData *hw) |
| 27 | { | 25 | { |
| 28 | memset(hw, 0, sizeof(struct HWData)); | 26 | memset(hw, 0, sizeof(struct HWData)); |
| 29 | } | 27 | } |
| 30 | 28 | ||
| 31 | /******************************************************/ | 29 | int read_hwdata(struct HWData *hw, const struct input_event* ev) |
| 32 | |||
| 33 | bool read_hwdata(struct HWData *hw, const struct input_event* ev) | ||
| 34 | { | 30 | { |
| 35 | switch (ev->type) { | 31 | switch (ev->type) { |
| 36 | case EV_SYN: | 32 | case EV_SYN: |
| @@ -97,10 +93,6 @@ bool read_hwdata(struct HWData *hw, const struct input_event* ev) | |||
| 97 | return 0; | 93 | return 0; |
| 98 | } | 94 | } |
| 99 | 95 | ||
| 100 | /******************************************************/ | ||
| 101 | |||
| 102 | void output_hwdata(const struct HWData *hw) | 96 | void output_hwdata(const struct HWData *hw) |
| 103 | { | 97 | { |
| 104 | } | 98 | } |
| 105 | |||
| 106 | /******************************************************/ | ||
