diff options
| author | Javier <dev.git@javispedro.com> | 2026-08-15 01:58:31 +0200 |
|---|---|---|
| committer | Javier <dev.git@javispedro.com> | 2026-08-15 01:58:31 +0200 |
| commit | d25f344b9980c2d030f8388df84aaf8ff88d2591 (patch) | |
| tree | d4e2bedb2bee5f2163da8e9ab80b099b7a5e2b78 | |
| parent | 4f949d0d1a1b60b4ae396077e92c7d5ab57a950e (diff) | |
| download | vbados-master.tar.gz vbados-master.zip | |
| -rw-r--r-- | mousetsr.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -848,13 +848,13 @@ static void handle_ps2_packet(void) } if (vmw.status & VMWARE_ABSPOINTER_STATUS_BUTTON_LEFT) { - status |= PS2M_STATUS_BUTTON_1; + buttons |= PS2M_STATUS_BUTTON_1; } if (vmw.status & VMWARE_ABSPOINTER_STATUS_BUTTON_RIGHT) { - status |= PS2M_STATUS_BUTTON_2; + buttons |= PS2M_STATUS_BUTTON_2; } if (vmw.status & VMWARE_ABSPOINTER_STATUS_BUTTON_MIDDLE) { - status |= PS2M_STATUS_BUTTON_3; + buttons |= PS2M_STATUS_BUTTON_3; } } else { return; // Ignore the PS/2 packet otherwise, it is likely garbage |
