We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 50f0099 commit 3f1fc99Copy full SHA for 3f1fc99
1 file changed
app/src/main/kotlin/com/nendo/argosy/MainActivity.kt
@@ -1,5 +1,6 @@
1
package com.nendo.argosy
2
3
+import android.annotation.SuppressLint
4
import android.os.Bundle
5
import android.view.KeyEvent
6
import android.view.WindowManager
@@ -43,6 +44,7 @@ class MainActivity : ComponentActivity() {
43
44
}
45
46
47
+ @SuppressLint("RestrictedApi")
48
override fun dispatchKeyEvent(event: KeyEvent?): Boolean {
49
if (event != null && gamepadInputHandler.handleKeyEvent(event)) {
50
return true
0 commit comments