about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2024-05-19 23:13:52 -0700
committerKartik K. Agaram <vc@akkartik.com>2024-05-19 23:13:52 -0700
commit3e0cb2ed10c35961ea357afc674de204e9c9c83c (patch)
treea5bd5548ed246407a6147f69102cbaaebeb34152
parent8219db2bcd31bee0f5cf5c4a92c3f6cd6a684e6d (diff)
downloadtext.love-3e0cb2ed10c35961ea357afc674de204e9c9c83c.tar.gz
document recent handlers
-rw-r--r--reference.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/reference.md b/reference.md
index 8256e1d..1aadc41 100644
--- a/reference.md
+++ b/reference.md
@@ -73,12 +73,19 @@ automatically called for you as appropriate.
   button. Provides the same arguments as `App.mousepressed()` above.
   (Based on [LÖVE](https://love2d.org/wiki/love.mousereleased).)
 
+* `App.mousemoved(x,y, dx,dy, is_touch)` -- called any time the mouse moves.
+  (Based on [LÖVE](https://love2d.org/wiki/love.mousemoved).)
+
 * `App.wheelmoved(dx,dy)` -- called when you use the scroll wheel on a mouse
   that has it. Provides in `dx` and `dy` an indication of how fast the wheel
   is being scrolled. Positive values for `dx` indicate movement to the right.
   Positive values for `dy` indicate upward movement.
   (Based on [LÖVE](https://love2d.org/wiki/love.wheelmoved).)
 
+* `App.mousefocus(in_focus)` -- called when the mouse pointer moves on or off
+  the app window.
+  (Based on [LÖVE](https://love2d.org/wiki/love.mousefocus).)
+
 * `App.keychord_press(chord, key)` -- called when you press a key-combination.
   Provides in `key` a string name for the key most recently pressed ([valid
   values](https://love2d.org/wiki/KeyConstant)). Provides in `chord` a