summaryrefslogtreecommitdiffhomepage
path: root/tracker-trackhat
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-05-09 19:14:32 +0200
committerStanislaw Halik <sthalik@misaki.pl>2022-05-10 05:01:33 +0200
commitef1b350512efc5218f5b127a30ee497be89df972 (patch)
treeee98cee1795ab94d2c696f69507edf74aa7482f1 /tracker-trackhat
parent448f39a4e144d7c01911aa84375dfa4f24ba44a1 (diff)
tracker/{pt-base,trackhat}: add variable deadzone factortrackhat-opentrack-2.0
Diffstat (limited to 'tracker-trackhat')
-rw-r--r--tracker-trackhat/trackhat.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tracker-trackhat/trackhat.hpp b/tracker-trackhat/trackhat.hpp
index 6e228f9c..d94841d2 100644
--- a/tracker-trackhat/trackhat.hpp
+++ b/tracker-trackhat/trackhat.hpp
@@ -124,6 +124,8 @@ struct trackhat_camera final : pt_camera
void set_fov(f value) override;
void show_camera_settings() override;
+ f deadzone_amount() const override { return 10; }
+
static constexpr int sensor_size = 2940;
static constexpr int sensor_fov = 52;
static constexpr int point_count = TRACK_HAT_NUMBER_OF_POINTS;