Compare commits

..

No commits in common. "c05a23912f61e89ccc02bdca609d0b2f1b86b700" and "fa6757b221091663a0c0a7b4dc116b1ac4fa40dc" have entirely different histories.

2 changed files with 2 additions and 3 deletions

View file

@ -1,8 +1,6 @@
const HOLDING_THRESHOLD_MS = 300; const HOLDING_THRESHOLD_MS = 300;
const SCROLL_X_DAMPENING = 0.02; const SCROLL_X_DAMPENING = 0.02;
const SCROLL_Y_DAMPENING = 0.09; const SCROLL_Y_DAMPENING = 0.09;
const MOVE_X_MULTIPLIER = 1.64;
const MOVE_Y_MULTIPLIER = 1.64;
class TouchpadController { class TouchpadController {
constructor(connection) { constructor(connection) {
@ -121,7 +119,7 @@ class TouchpadController {
this._sendSingleClick("right"); this._sendSingleClick("right");
} else { } else {
if ( if (
this._sendRelativeMouseMovement(deltaX * MOVE_X_MULTIPLIER, deltaY * MOVE_Y_MULTIPLIER) this._sendRelativeMouseMovement(deltaX, deltaY)
) { ) {
shouldMarkTouchesAsMoved = true; shouldMarkTouchesAsMoved = true;
} }

View file

@ -1,3 +1,4 @@
import "simple-keyboard/build/css/index.css";
import "./styles/main.css"; import "./styles/main.css";
import App from "./App"; import App from "./App";