cozuya / secret-hitler

A web adaptation of the social deduction board game Secret Hitler. https://secrethitler.io
Other
837 stars 202 forks source link

change binding from j/k to left/right arrow keys #1852

Closed denisecheung3 closed 3 years ago

denisecheung3 commented 3 years ago

Changes

Screenshots

not very useful but tested locally image


Below you'll find a checklist. For each item on the list, check one option (if completed) and delete the other as appropriate. (Delete this line too)

Tested Locally

Tests

Changelog

Changelog Entry (delete this section if this PR does not need a changelog entry)

Check one, delete the other:

Check one, delete the other:

Changelog Headline: maintain hjkl replay keys, add left/right and shift + left/right controls

Changelog Details: replay controls will now be: Use j/k or left/right arrow keys on replay to go backward/forward one tick Use h/l or shift + left/right arrow keys on replay to go backward/forward one gov

Vigasaurus commented 3 years ago

Nice, thanks! To be clear, that issue isn't super detailed, but it would also include changing the forward/back an entire gov to be Ctrl+Arrow or Shift+Arrow instead of the h/l it is now.

denisecheung3 commented 3 years ago

Nice, thanks! To be clear, that issue isn't super detailed, but it would also include changing the forward/back an entire gov to be Ctrl+Arrow or Shift+Arrow instead of the h/l it is now.

Ok that makes alot of sense, will try to work on it ASAP

Vigasaurus commented 3 years ago

Also, there was an addendum request there to maintain the hjkl keybinds, and just tack the arrow keys on top.

Vigasaurus commented 3 years ago

Awesome, thanks!