Commit graph

5 commits

Author SHA1 Message Date
AbdAlrahman Ghanem
d444f26282 docs: add ScrcpyKeyMapper tool to key mapping documentation 2024-12-22 16:36:16 +08:00
AbdAlrahman Ghanem
2f2452403b feat: add configurable drag speed and delay
Some checks failed
MacOS / Build (push) Has been cancelled
Ubuntu / Build (push) Has been cancelled
Windows / Build (push) Has been cancelled
Added new features to drag functionality:
- Added startDelay parameter to specify delay before drag movement
- Added dragSpeed parameter to control movement speed
- Updated documentation in both English and Chinese

This allows users to fine-tune both the timing and speed of drag movements.
2024-12-20 22:07:46 +08:00
Sven Eden
5cec73b6f0 Enhance speedRatio setting and allow individual axis values (#270 #290) (#354)
* Enhance speedRatio settings (#270 #290)

This commit changes the way the mouse sensitivity works as follows:

1. Turn speedRatio into a QPointF, so we have two floats instead of
   one integer.
2. Default the y-speedRatio to be x-speedRatio / 2.25, which takes
   the ultra-wideness of modern phone screens into account.
3. Add new configuration value speedRatioX to allow users to
   configure an individual X-ratio
4. Add new configuration value speedRatioY to allow users to
   configure an individual Y-ratio
5. Optimze distance-translation a bit.
6. Add keymaps/FRAG.json using new speedRatioX/speedRatioY for the
   game "FRAG! Pro Shooter"

Bug: #270
Bug: #290
Signed-off-by: Sven Eden <sven.eden@prydeworx.com>

* Document new speedRatio behavior in docs/KeyMapDes.md

Signed-off-by: Sven Eden <sven.eden@prydeworx.com>
2021-03-06 14:54:25 +08:00
rankun
41cc42a96d feat: add click multi 2020-08-02 12:46:33 +08:00
rankun
bbf8d49dd1 docs: keymap des for english
Close #247
2020-07-08 12:03:41 +08:00