Initial port to Linux (using Allegro).
64-bit fixes. Some changes to aid portability. A few other tweaks.
This commit is contained in:
parent
4b3f77c926
commit
56b455844e
70 changed files with 12702 additions and 282 deletions
|
|
@ -124,11 +124,11 @@ void mouse_ps2_poll(int x, int y, int b)
|
|||
packet[0] |= 0x10;
|
||||
if (ps2_y < 0)
|
||||
packet[0] |= 0x20;
|
||||
if (mouse_b & 1)
|
||||
if (mouse_buttons & 1)
|
||||
packet[0] |= 1;
|
||||
if (mouse_b & 2)
|
||||
if (mouse_buttons & 2)
|
||||
packet[0] |= 2;
|
||||
if (mouse_b & 4)
|
||||
if (mouse_buttons & 4)
|
||||
packet[0] |= 4;
|
||||
packet[1] = ps2_x & 0xff;
|
||||
packet[2] = ps2_y & 0xff;
|
||||
|
|
|
|||
Loading…
Reference in a new issue