PlayMacroAction rendering

This commit is contained in:
József Farkas
2016-06-25 14:24:07 +02:00
parent 71760289e2
commit 948060f9bf
4 changed files with 59 additions and 2 deletions
@@ -1,7 +1,8 @@
import {Serializable} from '../Serializable';
import {ModuleConfigurations} from './ModuleConfigurations';
import {Keymaps} from './Keymaps';
import {Keymap} from './Keymap';
import {Keymaps} from './Keymaps';
import {Macro} from './Macro';
import {Macros} from './Macros';
import {UhkBuffer} from '../UhkBuffer';
import {assertUInt8, assertUInt32} from '../assert';
@@ -95,4 +96,8 @@ export class UhkConfiguration extends Serializable<UhkConfiguration> {
}
}
}
getMacro(macroId: number): Macro {
return this.macros.elements.find(macro => macroId === macro.id);
}
}