Implement latest pen/touch protocol updates

This commit is contained in:
Cameron Gutman
2023-06-27 22:21:39 -05:00
parent 69a4502f90
commit 0d72a0e009
3 changed files with 5 additions and 2 deletions

View File

@@ -1469,9 +1469,11 @@ public class Game extends Activity implements SurfaceHolder.Callback,
case MotionEvent.ACTION_HOVER_ENTER:
case MotionEvent.ACTION_HOVER_MOVE:
case MotionEvent.ACTION_HOVER_EXIT:
return MoonBridge.LI_TOUCH_EVENT_HOVER;
case MotionEvent.ACTION_HOVER_EXIT:
return MoonBridge.LI_TOUCH_EVENT_HOVER_LEAVE;
case MotionEvent.ACTION_BUTTON_PRESS:
case MotionEvent.ACTION_BUTTON_RELEASE:
return MoonBridge.LI_TOUCH_EVENT_BUTTON_ONLY;