diff options
| author | Henrik Rydberg <rydberg@euromail.se> | 2010-03-29 23:50:05 +0200 |
|---|---|---|
| committer | Henrik Rydberg <rydberg@euromail.se> | 2010-04-15 06:10:07 +0200 |
| commit | 9c24576540ba57449c31bafcb8f4aab41b8623b7 (patch) | |
| tree | 8a9001c10f2598b74d141ea783114575c91fd39c /src/mtouch.c | |
| parent | 173d728d812e78b299cbc9475fc237b9023eee2b (diff) | |
Rename State to HWState
Rename the hardware state struct State to HWState, to make
room for additional state structures.
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Diffstat (limited to 'src/mtouch.c')
| -rw-r--r-- | src/mtouch.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mtouch.c b/src/mtouch.c index f7ffb12..5bf72ec 100644 --- a/src/mtouch.c +++ b/src/mtouch.c | |||
| @@ -35,8 +35,8 @@ int open_mtouch(struct MTouch *mt, int fd) | |||
| 35 | int rc; | 35 | int rc; |
| 36 | init_iobuf(&mt->buf); | 36 | init_iobuf(&mt->buf); |
| 37 | init_hwdata(&mt->hw); | 37 | init_hwdata(&mt->hw); |
| 38 | init_state(&mt->os); | 38 | init_hwstate(&mt->ohs); |
| 39 | init_state(&mt->ns); | 39 | init_hwstate(&mt->nhs); |
| 40 | SYSCALL(rc = ioctl(fd, EVIOCGRAB, (pointer)1)); | 40 | SYSCALL(rc = ioctl(fd, EVIOCGRAB, (pointer)1)); |
| 41 | return rc; | 41 | return rc; |
| 42 | } | 42 | } |
| @@ -59,5 +59,5 @@ int read_synchronized_event(struct MTouch *mt, int fd) | |||
| 59 | 59 | ||
| 60 | void parse_event(struct MTouch *mt) | 60 | void parse_event(struct MTouch *mt) |
| 61 | { | 61 | { |
| 62 | modify_state(&mt->ns, &mt->hw, &mt->caps); | 62 | modify_hwstate(&mt->nhs, &mt->hw, &mt->caps); |
| 63 | } | 63 | } |
