From 11bb753de457cfce719e1edbe4509739f557cbbc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A9ry=20Casiez?= Date: Fri, 10 Apr 2020 14:23:46 +0200 Subject: [PATCH] Fixed pb of latency on macOS with node binding --- bindings/Node/libpointing/package.json | 2 +- bindings/Node/libpointing/pointing/pointing.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bindings/Node/libpointing/package.json b/bindings/Node/libpointing/package.json index c7845c6d..fbfa6e55 100644 --- a/bindings/Node/libpointing/package.json +++ b/bindings/Node/libpointing/package.json @@ -1,6 +1,6 @@ { "name": "libpointing", - "version": "2.1.0", + "version": "2.1.1", "description": "An open-source cross-platform library to get raw events from pointing devices and master transfer functions", "homepage": "http://libpointing.org", "contributors": [ diff --git a/bindings/Node/libpointing/pointing/pointing.cc b/bindings/Node/libpointing/pointing/pointing.cc index f51a7cc5..818b6a6a 100644 --- a/bindings/Node/libpointing/pointing/pointing.cc +++ b/bindings/Node/libpointing/pointing/pointing.cc @@ -27,7 +27,7 @@ uv_idle_t idler; void perform_while_idle(uv_idle_t* handle) { - pointing::PointingDevice::idle(25); + pointing::PointingDevice::idle(4); // uv_idle_stop(handle); }