Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switching feature #10

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

yas-mnkornym
Copy link

Added a feature to switch between virtual desktops by additional shortcut keys.
A screenshot of the updated settings dialog is available here: http://t.co/u24QnGsfrp

[Changes]

  • Add 2 shortcut settings
    • SwitchLeft (Default: N/A)
    • SwitchRight (Default: N/A)
  • Add GetLeftDesktop() and GetRightDesktop() private methods to HookService class
  • Add if conditions to KeyHookOnPressed() in HookService class to handle SwitchLeft / SwitchRight
  • Add "Switch virtual desktop" section to "Shortcut key" section in settings dialog

[Tests]
Manual tests

  • Set shortcut keys to switching feature, verify desktop is switched by the shortcut keys.
    • with "Loop" option enabled/disabled
  • Verify default shortcut keys (Ctrl + Win + <-/->) still work correctly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant