1
0
mirror of https://github.com/dschmenk/PLASMA.git synced 2026-04-21 07:17:03 +00:00

Functional mouse API

This commit is contained in:
David Schmenk
2018-04-28 18:43:57 -07:00
parent 78a068e6d2
commit 3d44c8533b
3 changed files with 19 additions and 8 deletions
+2 -1
View File
@@ -14,11 +14,12 @@ import mouse
const VBL_INT_ENABLE = $08
const BUTTON_INT_ENABLE= $04
const MOVE_INT_ENABLE = $02
const MOUSE_ENABLE = $01
//
// Mouse API
//
struc t_mouse
word chkVbl
word chkVBL
word chkMouse
word readMouse // readMouse()#3
word setMouse // setMouse(mode)