Small fix for the InPort mouse, makes it work in every OS now, including IBM OS/2 1.x.
This commit is contained in:
@@ -258,6 +258,7 @@ static uint8_t inport_read(uint16_t port, void *priv)
|
|||||||
{
|
{
|
||||||
case INP_CTRL_READ_BUTTONS:
|
case INP_CTRL_READ_BUTTONS:
|
||||||
r = inport->but;
|
r = inport->but;
|
||||||
|
r |= 0x40;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case INP_CTRL_READ_X:
|
case INP_CTRL_READ_X:
|
||||||
|
|||||||
Reference in New Issue
Block a user