feat: Display/hide left keyboard half and merged/unmerged state (#987)

* feat: Display/hide left keyboard half and merged/unmerged state

* feat: improve the animation

* feat: decrease left fade animation time
This commit is contained in:
Róbert Kiss
2019-07-25 23:41:20 +02:00
committed by László Monda
parent a409c219d8
commit cbccaba1c5
18 changed files with 149 additions and 80 deletions

View File

@@ -1,4 +1,5 @@
import { UdevRulesInfo } from './udev-rules-info';
import { HalvesInfo } from './halves-info';
export interface DeviceConnectionState {
connected: boolean;
@@ -6,4 +7,5 @@ export interface DeviceConnectionState {
bootloaderActive: boolean;
zeroInterfaceAvailable: boolean;
udevRulesInfo: UdevRulesInfo;
halvesInfo: HalvesInfo;
}

View File

@@ -0,0 +1,4 @@
export interface HalvesInfo {
areHalvesMerged: boolean;
isLeftHalfConnected: boolean;
}

View File

@@ -11,3 +11,4 @@ export * from './hardware-module-info';
export * from './save-user-configuration-data';
export * from './udev-rules-info';
export * from './update-firmware-data';
export * from './halves-info';