keymaps
This commit is contained in:
11
config-serializer/config-items/KeyMaps.ts
Normal file
11
config-serializer/config-items/KeyMaps.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
class KeyMaps extends ClassArray<KeyMap> {
|
||||
|
||||
jsObjectToClass(jsObject: any): Serializable<KeyMap> {
|
||||
return new KeyMap().fromJsObject(jsObject);
|
||||
}
|
||||
|
||||
binaryToClass(buffer: UhkBuffer): Serializable<KeyMap> {
|
||||
return new KeyMap().fromBinary(buffer);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user