@@ -41,10 +45,13 @@ import {CaptureKeystrokeButtonComponent} from './capture-keystroke-button.compon
`,
directives: [CaptureKeystrokeButtonComponent]
})
-export class KeypressEditComponent implements OnInit {
+export class KeypressTabComponent implements OnInit {
private leftModifiers: string[];
private rightModifiers: string[];
+ private leftModifierSelects: boolean[];
+ private rightModifierSelects: boolean[];
+
constructor() {
this.leftModifiers = ['LShift', 'LCtrl', 'LSuper', 'LAlt'];
this.rightModifiers = ['RShift', 'RCtrl', 'RSuper', 'RAlt'];
@@ -52,4 +59,8 @@ export class KeypressEditComponent implements OnInit {
ngOnInit() { }
+ getKeyAction(): KeystrokeAction | KeystrokeModifiersAction | KeystrokeWithModifiersAction {
+ return;
+ }
+
}
diff --git a/src/components/popover/tab/layer-tab.component.ts b/src/components/popover/tab/layer-tab.component.ts
new file mode 100644
index 00000000..194372b4
--- /dev/null
+++ b/src/components/popover/tab/layer-tab.component.ts
@@ -0,0 +1,28 @@
+import { Component, OnInit } from '@angular/core';
+
+@Component({
+ moduleId: module.id,
+ selector: 'layer-tab',
+ template:
+ `
+
+
the
+
+
+ layer by holding this key.
+
+ `
+})
+export class LayerTabComponent implements OnInit {
+ constructor() { }
+
+ ngOnInit() { }
+
+}
diff --git a/src/components/popover/tab/macro-tab.component.ts b/src/components/popover/tab/macro-tab.component.ts
new file mode 100644
index 00000000..1abf2b3f
--- /dev/null
+++ b/src/components/popover/tab/macro-tab.component.ts
@@ -0,0 +1,16 @@
+import { Component, OnInit } from '@angular/core';
+
+@Component({
+ moduleId: module.id,
+ selector: 'macro-tab',
+ template:
+ `
+ Macro
+ `
+})
+export class MacroTabComponent implements OnInit {
+ constructor() { }
+
+ ngOnInit() { }
+
+}
diff --git a/src/components/popover/tab/mouse-tab.component.ts b/src/components/popover/tab/mouse-tab.component.ts
new file mode 100644
index 00000000..40f5bcfb
--- /dev/null
+++ b/src/components/popover/tab/mouse-tab.component.ts
@@ -0,0 +1,40 @@
+import { Component, OnInit } from '@angular/core';
+
+@Component({
+ moduleId: module.id,
+ selector: 'mouse-tab',
+ template:
+ `
+
+
+
+ `,
+ styles:
+ [`
+ :host {
+ display: flex;
+ }
+
+ .mouse-action {
+ flex: 1;
+ border-right: 1px solid black;
+ }
+
+ .details {
+ flex: 2;
+ }
+ `]
+})
+export class MouseTabComponent implements OnInit {
+ constructor() { }
+
+ ngOnInit() { }
+
+}
diff --git a/src/components/popover/tab/none-tab.component.ts b/src/components/popover/tab/none-tab.component.ts
new file mode 100644
index 00000000..563919dc
--- /dev/null
+++ b/src/components/popover/tab/none-tab.component.ts
@@ -0,0 +1,21 @@
+import { Component, OnInit } from '@angular/core';
+
+@Component({
+ moduleId: module.id,
+ selector: 'none-tab',
+ template: `This key is unassigned and has no functionality.`,
+ styles:
+ [`
+ :host {
+ display: flex;
+ justify-content: center;
+ padding: 2rem 0;
+ }
+ `]
+})
+export class NoneTabComponent implements OnInit {
+ constructor() { }
+
+ ngOnInit() { }
+
+}
diff --git a/src/components/popover/capture-keystroke-button.component.ts b/src/components/popover/widgets/capture-keystroke-button.component.ts
similarity index 100%
rename from src/components/popover/capture-keystroke-button.component.ts
rename to src/components/popover/widgets/capture-keystroke-button.component.ts