Skip to content

feat: add support for hotkeys - #1984

Merged
rsdmike merged 2 commits into
mainfrom
kvmEnhancement
Jul 29, 2025
Merged

feat: add support for hotkeys#1984
rsdmike merged 2 commits into
mainfrom
kvmEnhancement

Conversation

@rsdmike

@rsdmike rsdmike commented Jul 29, 2025

Copy link
Copy Markdown
Member

contributes to #1391

PR Checklist

  • Unit Tests have been added for new changes
  • API tests have been updated if applicable
  • All commented code has been removed
  • If you've added a dependency, you've ensured license is compatible with Apache 2.0 and clearly outlined the added dependency.

What are you changing?

Anything the reviewer should know when reviewing this PR?

If the there are associated PRs in other repositories, please link them here (i.e. device-management-toolkit/repo#365 )

Copilot AI review requested due to automatic review settings July 29, 2025 18:53

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds hotkey support to the KVM component, allowing users to send predefined keyboard shortcuts to remote devices. The implementation includes various Windows and standard keyboard combinations like Ctrl-Alt-Del, Alt-Tab, and Windows key sequences.

  • Adds hotkey input property and effect handler to trigger hotkey sequences
  • Implements sendHotkey method with timing-based key sequence execution
  • Provides comprehensive hotkey mapping for common Windows and system shortcuts
Comments suppressed due to low confidence (1)

kvm/src/kvm.component.ts:229

  • The sendHotkey method and its complex key sequence logic lack test coverage. Consider adding unit tests to verify correct key sequences are generated and sent for each hotkey type.
  sendHotkey(hotKeyType: string): void {

Comment thread kvm/src/kvm.component.ts Outdated
Comment thread kvm/src/kvm.component.ts Outdated
Comment thread kvm/src/kvm.component.ts Outdated
Comment thread kvm/src/kvm.component.ts Outdated
Comment thread kvm/src/kvm.component.ts Outdated
Comment thread kvm/src/kvm.component.ts Outdated
Comment thread kvm/src/kvm.component.ts Outdated
@rsdmike
rsdmike force-pushed the kvmEnhancement branch 2 times, most recently from 7032f61 to 1827413 Compare July 29, 2025 20:00
@rsdmike
rsdmike merged commit 47ce911 into main Jul 29, 2025
5 checks passed
@rsdmike
rsdmike deleted the kvmEnhancement branch July 29, 2025 20:34
RosieAMT pushed a commit that referenced this pull request Jul 29, 2025
# [10.1.0](v10.0.0...v10.1.0) (2025-07-29)

### Features

* add support for hotkeys ([#1984](#1984)) ([47ce911](47ce911))
@RosieAMT

Copy link
Copy Markdown

🎉 This PR is included in version 10.1.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants