Moerill / Moerill/fvtt-pointer
[FEATURE] Allow for long press ping
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 5
- Forks
- 19
- PR merge metrics
- No merged PRs in 30d
Description
Is your feature request related to a problem? Please describe.
I am using a Mac & trackpad and I like the ability to quickly Ping with one hand. I currently have the Ping set to RightClick, however it is frustrating that whenever I use the RightClick+hold to move the map, it also creates a Ping.
Describe the solution you'd like
It would be great if there was an option to only create a Ping if a button/click is long pressed or something along those lines. That way any short RightClick or RightClick+hold don't create Pings while stilling allowing Pings to be done by a simple one-handed click.
Describe alternatives you've considered
I originally had the Ping on LeftClick but that made it even worse since a lot of other things use LeftClick. I've tried setting the Ping to shift+RightClick which works fine but it is not as handy since it is no longer a quick one handed gesture - a lot of my Pings are done after mouse movement so having it associated with a simple one-hand click right after I use the trackpad/mouse makes the flow work really well. It is possible that maybe long press is already working but it seems like on a Mac trackpad it just thinks it is a normal short click.
Additional context
Nothing else to add - no worries if you can't add this feature. I already really like the mod and appreciate it - my group uses a lot of pings! :)
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no files, tests, or entry points. Start by locating the Ping input binding and map-movement handling, then determine how a long press should differ from a short click or held right-click; done means the configured gesture creates a Ping without interfering with map movement.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100