first working version of serial port integration

This commit is contained in:
Nikolaos Stefanou
2020-02-24 17:42:28 +00:00
parent 9705a1b5b5
commit 6348e7b8f0
29 changed files with 2667 additions and 3 deletions

View File

@@ -0,0 +1,17 @@
import { Injectable } from '@angular/core'
import { HotkeyDescription, HotkeyProvider } from 'terminus-core'
/** @hidden */
@Injectable()
export class SerialHotkeyProvider extends HotkeyProvider {
hotkeys: HotkeyDescription[] = [
{
id: 'serial',
name: 'Show Serial connections',
},
]
async provide (): Promise<HotkeyDescription[]> {
return this.hotkeys
}
}