mouse

Overview

Typically unused by cartridges, instead handled by events.lua.

Called when the mouse data is changed. It contains the following properties in the msg table:

mx

x-position of the mouse

my

y-position of the mouse

mb

bitfield of the mouse's button presses