usb: make the HID controller doorway honest
This commit is contained in:
parent
9ceaf61fa6
commit
78d6743776
1 changed files with 11 additions and 18 deletions
|
|
@ -291,7 +291,9 @@ Scope {
|
|||
Layout.fillWidth: true
|
||||
icon: "keyboard"
|
||||
title: "USB HID Injection"
|
||||
detail: "Let this screen become the other machine's hands"
|
||||
detail: UsbState.mode === "hid"
|
||||
? "Keyboard and pointer link armed"
|
||||
: "Let this screen become the other machine's hands"
|
||||
badge: UsbState.mode === "hid" ? "active"
|
||||
: UsbState.hasMode("hid_mode") ? "wired" : "building"
|
||||
inset: 10
|
||||
|
|
@ -313,11 +315,11 @@ Scope {
|
|||
|
||||
SheetLocal.PowerOptionRow {
|
||||
Layout.fillWidth: true
|
||||
icon: "keyboard_mouse"
|
||||
title: "Keyboard + pointer"
|
||||
icon: "cable"
|
||||
title: "USB control link"
|
||||
detail: UsbState.mode === "hid"
|
||||
? "Active · tap to restore developer USB"
|
||||
: "Tap to arm boot keyboard, pointer and NCM"
|
||||
? "Armed · tap to restore developer USB"
|
||||
: "Expose keyboard, pointer and developer network"
|
||||
badge: UsbState.busy ? "switching"
|
||||
: UsbState.mode === "hid" ? "active"
|
||||
: UsbState.hasMode("hid_mode") ? "ready" : "not installed"
|
||||
|
|
@ -329,19 +331,10 @@ Scope {
|
|||
|
||||
SheetLocal.PowerOptionRow {
|
||||
Layout.fillWidth: true
|
||||
icon: "text_fields"
|
||||
title: "Type text…"
|
||||
detail: "A guarded text payload for the attached host"
|
||||
badge: "planned"
|
||||
inset: 28
|
||||
}
|
||||
|
||||
SheetLocal.PowerOptionRow {
|
||||
Layout.fillWidth: true
|
||||
icon: "security"
|
||||
title: "Secure attention"
|
||||
detail: "Hold to send Ctrl + Alt + Delete"
|
||||
badge: "planned"
|
||||
icon: "keyboard_mouse"
|
||||
title: "Keyboard & trackpad"
|
||||
detail: "Typing, pointer and guarded quick actions"
|
||||
badge: "app next"
|
||||
inset: 28
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue