diff options
author | Michael Pavone <pavone@retrodev.com> | 2017-01-24 23:16:21 -0800 |
---|---|---|
committer | Michael Pavone <pavone@retrodev.com> | 2017-01-24 23:16:21 -0800 |
commit | a9ebebf22235360a452792d610fc086f8890f854 (patch) | |
tree | 054522de4251ca83ed606a0cd4406a3def7ce3b8 | |
parent | 3bc43c2527b606b7d3c6be0324e11f09e143394a (diff) |
Minor cleanup to handle_mouse_moved
-rw-r--r-- | io.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -476,7 +476,6 @@ void handle_mouse_moved(int mouse, uint16_t x, uint16_t y, int16_t deltax, int16 if (mouse >= MAX_MICE || !mice[mouse].motion_port) { return; } - //TODO: relative mode switch(current_io->mouse_mode) { case MOUSE_ABSOLUTE: { @@ -497,6 +496,7 @@ void handle_mouse_moved(int mouse, uint16_t x, uint16_t y, int16_t deltax, int16 mice[mouse].motion_port->device.mouse.cur_x += deltax; mice[mouse].motion_port->device.mouse.cur_y += deltay; } + break; } } } |