rust-mobile / android-activity

Glue for building Rust applications on Android with NativeActivity or GameActivity
239 stars 48 forks source link

game-activity: Remove Deref implementations for Key/MotionEvent types #100

Closed rib closed 1 year ago

rib commented 1 year ago

It was a mistake to expose a public Deref implementation for the KeyEvent and MotionEvent types for the GameActivity backend.

It was very surprising to see these Winit changes temporarily rely on this: https://github.com/rust-windowing/winit/commit/918430979f8219648daade44796c00893e42fdd8#diff-9169a22d6397a250be741006cd857b8a575f804c74cc07e3a4fb8f3341606d9b

Fixes: #91