SimulaVR / SimulaVR/Simula

Add mouse buttons to keyboard shortcuts

Open
#182 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Haskell
Stars
3.2k
Forks
111
PR merge metrics
No merged PRs in 30d

Description

See https://github.com/SimulaVR/Simula/issues/180 for original request. @jfrconley

We're working on a solution now that will allow us to add

  , { _keyCombination = ["KEY_BUTTON_LEFT"]                    , _keyAction = "clickLeft"        }
  , { _keyCombination = ["KEY_BUTTON_RIGHT"]                   , _keyAction = "clickRight"       }
  , { _keyCombination = ["KEY_BUTTON_MIDDLE"]                 , _keyAction = "clickMiddle"       }
  , { _keyCombination = ["KEY_BUTTON_WHEEL_UP"]           , _keyAction = "scrollUp"              }
  , { _keyCombination = ["KEY_BUTTON_WHEEL_DOWN"      , _keyAction = "scrollDown"                }
  , { _keyCombination = ["KEY_BUTTON_XBUTTON1"]            , _keyAction = "...something else..." }
  , { _keyCombination = ["KEY_BUTTON_XBUTTON2"]            , _keyAction = "...something else.."  }

to ./config/config.dhall. The intended use case in this instance is to allow KEY_BUTTON_XBUTTON1 and KEY_BUTTON_XBUTTON2 to send Control +PgUp/PgDn (to switch browser tabs).

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Read the original request in issue 180, then inspect ./config/config.dhall and the existing keyboard shortcut configuration. Confirm how mouse button names such as KEY_BUTTON_LEFT and KEY_BUTTON_XBUTTON1 are represented, and finish when the requested buttons can trigger configured actions including browser-tab switching with Control+PgUp/PgDn.

Written by the indexing model from the issue text.

Assessment

Tech stack
haskell
Domain
desktop
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.