systemd/0046-hwdb-add-Apple-MagicMouse-entry.patch
2015-06-10 15:08:55 -04:00

32 lines
960 B
Diff

From 78ec5ea630547d9ec60c4e6afd6abf054681dbd6 Mon Sep 17 00:00:00 2001
From: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu, 4 Jun 2015 16:05:08 +1000
Subject: [PATCH] hwdb: add Apple MagicMouse entry
(cherry picked from commit 68a6ac91a1b8454a5f21846ffef3e1f024707b27)
---
hwdb/70-mouse.hwdb | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/hwdb/70-mouse.hwdb b/hwdb/70-mouse.hwdb
index 8174f2762e..2784b941a1 100644
--- a/hwdb/70-mouse.hwdb
+++ b/hwdb/70-mouse.hwdb
@@ -102,6 +102,16 @@
# For mice with switchable resolution, sort by the starred entry.
##########################################
+# Apple
+##########################################
+
+# Apple MagicMouse
+# Note: this device changes name once connected to a mac, the name ends up
+# as $username`s mouse
+mouse:bluetooth:v05acp030d:name:*:
+ MOUSE_DPI=1300@1000
+
+##########################################
# Chicony
##########################################