Commit graph

3 commits

Author SHA1 Message Date
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