Mercurial > remote-gamepad-server
comparison ds.c @ 2:f362b20de51e
Remove trailing whitespaces.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Sun, 22 Feb 2015 18:03:26 +0100 |
parents | e70ea46d6073 |
children | 73c20831be0a |
comparison
equal
deleted
inserted
replaced
1:05c8e0aef77d | 2:f362b20de51e |
---|---|
65 else if( previous.Select && !ds->Select ) | 65 else if( previous.Select && !ds->Select ) |
66 do_uinput(uinput_fd, BTN_SELECT, 0, EV_KEY); | 66 do_uinput(uinput_fd, BTN_SELECT, 0, EV_KEY); |
67 | 67 |
68 | 68 |
69 /* DIRECTIONS */ | 69 /* DIRECTIONS */ |
70 | 70 |
71 if(previous.aX != ds->aX) | 71 if(previous.aX != ds->aX) |
72 do_uinput(uinput_fd, ABS_X, ds->aX, EV_ABS); | 72 do_uinput(uinput_fd, ABS_X, ds->aX, EV_ABS); |
73 | 73 |
74 if(previous.aY != ds->aY) | 74 if(previous.aY != ds->aY) |
75 do_uinput(uinput_fd, ABS_Y, ds->aY, EV_ABS); | 75 do_uinput(uinput_fd, ABS_Y, ds->aY, EV_ABS); |
76 | 76 |
77 memcpy(&previous, ds, sizeof(ds_t)); | 77 memcpy(&previous, ds, sizeof(ds_t)); |
78 | 78 |
79 return; | 79 return; |
80 } | 80 } |