mousecontrol: Mouse CPI table will be maintained in xorg-conf
We now maintain the mouse CPI table in the xorg-conf package instead.
So, add a warning message here to prevent people adding new entries
to it.
BUG=chromium:418001
TEST=N/A
Change-Id: I7864465fe4b110bf01a631c04d47412db324389d
Reviewed-on: https://chromium-review.googlesource.com/221401
Reviewed-by: Chung-yih Wang <[email protected]>
Tested-by: Tai-Hsu Lin <[email protected]>
Commit-Queue: Tai-Hsu Lin <[email protected]>
diff --git a/mousecontrol b/mousecontrol
index 9f4d453..24f73dc 100755
--- a/mousecontrol
+++ b/mousecontrol
@@ -140,6 +140,10 @@
done
}
+# WARNING: This table is now deprecated. If you want to add new entries to it,
+# please instead add a new section in the 20-mouse.conf file in the xorg-conf
+# package.
+#
# Returns the CPI (counts per inch) of the newly attached mouse. Since mice
# generally don't report CPI, we use the following approach: By default, we
# assume a CPI of 1000, as this is quite close to most mice on the market today