Moerill / Moerill/fvtt-pointer

[FEATURE] Allow for long press ping

Open
#2 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Feature Suggestion good first issue
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

  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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.