Initial commit
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
package com.ubt.jimu.controller.data.keymap.entity;
|
||||
|
||||
import com.thoughtworks.xstream.annotations.XStreamAlias;
|
||||
import com.thoughtworks.xstream.annotations.XStreamImplicit;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
@XStreamAlias("GameControllerConfigData")
|
||||
/* loaded from: classes.dex */
|
||||
public class GameControllerConfigData {
|
||||
|
||||
@XStreamImplicit
|
||||
private List<KeyMapData> a = new ArrayList();
|
||||
|
||||
public List<KeyMapData> a() {
|
||||
return this.a;
|
||||
}
|
||||
|
||||
public void a(List<KeyMapData> list) {
|
||||
this.a = list;
|
||||
}
|
||||
}
|
21
sources/com/ubt/jimu/controller/data/keymap/entity/Key.java
Normal file
21
sources/com/ubt/jimu/controller/data/keymap/entity/Key.java
Normal file
@@ -0,0 +1,21 @@
|
||||
package com.ubt.jimu.controller.data.keymap.entity;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public class Key {
|
||||
private int a;
|
||||
private String b;
|
||||
|
||||
public Key(String str, int i) {
|
||||
this.a = 1;
|
||||
this.b = str;
|
||||
this.a = i;
|
||||
}
|
||||
|
||||
public String a() {
|
||||
return this.b;
|
||||
}
|
||||
|
||||
public int b() {
|
||||
return this.a;
|
||||
}
|
||||
}
|
@@ -0,0 +1,38 @@
|
||||
package com.ubt.jimu.controller.data.keymap.entity;
|
||||
|
||||
import com.thoughtworks.xstream.annotations.XStreamAlias;
|
||||
import com.ubt.jimu.controller.data.keymap.KeyMap;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Iterator;
|
||||
import java.util.List;
|
||||
|
||||
@XStreamAlias("KeyMapData")
|
||||
/* loaded from: classes.dex */
|
||||
public class KeyMapData {
|
||||
|
||||
@XStreamAlias("ButtonKeyMap")
|
||||
private List<KeyMap> a = new ArrayList();
|
||||
|
||||
@XStreamAlias("JoystickKeyMap")
|
||||
private List<KeyMap> b = new ArrayList();
|
||||
|
||||
public List<KeyMap> a() {
|
||||
return this.a;
|
||||
}
|
||||
|
||||
public List<KeyMap> b() {
|
||||
Iterator<KeyMap> it = this.b.iterator();
|
||||
while (it.hasNext()) {
|
||||
it.next().a(2);
|
||||
}
|
||||
return this.b;
|
||||
}
|
||||
|
||||
public void a(List<KeyMap> list) {
|
||||
this.a = list;
|
||||
}
|
||||
|
||||
public void b(List<KeyMap> list) {
|
||||
this.b = list;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user