51 lines
968 B
Java
51 lines
968 B
Java
package com.ubt.jimu.controller.data.keymap;
|
|
|
|
import com.thoughtworks.xstream.annotations.XStreamAlias;
|
|
import com.thoughtworks.xstream.annotations.XStreamOmitField;
|
|
import com.ubt.jimu.controller.data.keymap.entity.Key;
|
|
|
|
@XStreamAlias("KeyMap")
|
|
/* loaded from: classes.dex */
|
|
public class KeyMap {
|
|
|
|
@XStreamAlias("ActionId")
|
|
private String a;
|
|
|
|
@XStreamAlias("Key")
|
|
private String b;
|
|
|
|
@XStreamOmitField
|
|
private int c;
|
|
|
|
public KeyMap() {
|
|
this.c = 1;
|
|
}
|
|
|
|
public String a() {
|
|
return this.a;
|
|
}
|
|
|
|
public String b() {
|
|
return this.b;
|
|
}
|
|
|
|
public int c() {
|
|
return this.c;
|
|
}
|
|
|
|
public String toString() {
|
|
return "keyName:" + this.b + " actionId:" + this.a + "keyType:" + this.c;
|
|
}
|
|
|
|
public void a(int i) {
|
|
this.c = i;
|
|
}
|
|
|
|
public KeyMap(Key key, String str) {
|
|
this.c = 1;
|
|
this.b = key.a();
|
|
this.c = key.b();
|
|
this.a = str;
|
|
}
|
|
}
|