mirror of
https://github.com/VibedByKaKi/alexandroid.git
synced 2026-11-16 10:57:17 +01:00
12 lines
460 B
Java
12 lines
460 B
Java
package com.amazon.apl.android.utils;
|
|
|
|
import android.view.KeyEvent;
|
|
|
|
/* compiled from: r8-map-id-b9432e0f623b4a4bff4ba50a8a24c4aafad2c1e11092747b9fb5e6a22af5a940 */
|
|
/* loaded from: classes20.dex */
|
|
public class KeyUtils {
|
|
public static boolean isKeyEventDirectional(KeyEvent keyEvent) {
|
|
int keyCode = keyEvent.getKeyCode();
|
|
return keyCode == 22 || keyCode == 21 || keyCode == 23 || keyCode == 20 || keyCode == 19 || keyCode == 61;
|
|
}
|
|
}
|