Skip to content

Comments

Implement keyboard map panning (map scrolling)#7

Merged
t-wy merged 3 commits intot-wy:custom-improvefrom
due2e:panning
Nov 30, 2025
Merged

Implement keyboard map panning (map scrolling)#7
t-wy merged 3 commits intot-wy:custom-improvefrom
due2e:panning

Conversation

@due2e
Copy link

@due2e due2e commented Nov 29, 2025

Adds the ability to scroll the map using WASD and arrow keys.

@t-wy t-wy merged commit 24e9bdf into t-wy:custom-improve Nov 30, 2025
github-actions bot added a commit that referenced this pull request Nov 30, 2025
Implement keyboard map panning (map scrolling)
github-actions bot added a commit that referenced this pull request Nov 30, 2025
Implement keyboard map panning (map scrolling)
github-actions bot added a commit that referenced this pull request Nov 30, 2025
Implement keyboard map panning (map scrolling)
@due2e due2e deleted the panning branch December 1, 2025 00:48
@t-wy
Copy link
Owner

t-wy commented Dec 26, 2025

Some updates:
It seems that wplace has its own default keybinds: (Check the source code of 4.(hash).js near {panStep:100,bearingStep:15,pitchStep:10})

  • 61, 107, 171, 187 (+ or =/+): zoom in
  • 189, 109, 173 (- or -/_): zoom out
  • 37 (): move left (+shift: rotate clockwise)
  • 39 (): move right (+shift: rotate anti-clockwise)
  • 38 (): move upwards (+shift: tilt up, probably not for 2D map)
  • 40 (): move downwards (+shift: tilt down, probably not for 2D map)

As ↑←↓→ may conflict with the rotations, and their default "move" that only accepts a single axis direction is quite dumb, I may be just keeping the wasd part as an option for better panning.
Also, per request I am moving the options to the user settings which is off by default. Make sure to select so for map panning to work.

t-wy added a commit that referenced this pull request Dec 26, 2025
github-actions bot added a commit that referenced this pull request Dec 26, 2025
github-actions bot added a commit that referenced this pull request Dec 26, 2025
github-actions bot added a commit that referenced this pull request Dec 26, 2025
@due2e
Copy link
Author

due2e commented Dec 26, 2025

Great catch on that fix! Thanks for the update 👍

korobkakonfet pushed a commit to korobkakonfet/rusmarble that referenced this pull request Feb 23, 2026
Implement keyboard map panning (map scrolling)
korobkakonfet pushed a commit to korobkakonfet/rusmarble that referenced this pull request Feb 23, 2026
Implement keyboard map panning (map scrolling)
korobkakonfet pushed a commit to korobkakonfet/rusmarble that referenced this pull request Feb 23, 2026
korobkakonfet pushed a commit to korobkakonfet/rusmarble that referenced this pull request Feb 23, 2026
korobkakonfet pushed a commit to korobkakonfet/rusmarble that referenced this pull request Feb 23, 2026
Implement keyboard map panning (map scrolling)
korobkakonfet pushed a commit to korobkakonfet/rusmarble that referenced this pull request Feb 23, 2026
Implement keyboard map panning (map scrolling)
korobkakonfet pushed a commit to korobkakonfet/rusmarble that referenced this pull request Feb 23, 2026
korobkakonfet pushed a commit to korobkakonfet/rusmarble that referenced this pull request Feb 23, 2026
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.

2 participants