mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2026-04-04 15:06:08 +00:00
Implement latest pen/touch protocol updates
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user