mirror of
https://github.com/blondie7575/WeeGUI.git
synced 2025-03-03 17:30:17 +00:00
- Fixed mouse clicks not being detected unless mouse moved recently
This commit is contained in:
parent
325db1bd10
commit
99095e297d
BIN
guidemo.dsk
BIN
guidemo.dsk
Binary file not shown.
3
mouse.s
3
mouse.s
@ -270,7 +270,6 @@ WGFindMouse_done:
|
||||
;
|
||||
WGMouseInterruptHandler:
|
||||
cld ; ProDOS interrupt handlers must open with this
|
||||
|
||||
SAVE_AXY
|
||||
|
||||
CALLMOUSE SERVEMOUSE
|
||||
@ -332,7 +331,6 @@ WGMouseInterruptHandler_disregard:
|
||||
rts
|
||||
|
||||
WGMouseInterruptHandler_button:
|
||||
|
||||
CALLMOUSE READMOUSE
|
||||
ldx WG_MOUSE_SLOT
|
||||
lda MOUSTAT,x ; Movement/button status bits are now valid
|
||||
@ -340,7 +338,6 @@ WGMouseInterruptHandler_button:
|
||||
|
||||
bit WG_MOUSE_STAT ; Check for rising edge of button state
|
||||
bpl WGMouseInterruptHandler_intDone
|
||||
bvs WGMouseInterruptHandler_intDone
|
||||
|
||||
lda WG_MOUSEPOS_X ; Where did we click?
|
||||
sta PARAM0
|
||||
|
Loading…
x
Reference in New Issue
Block a user