diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/lmctl/mx-support-cmdline.patch |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/lmctl/mx-support-cmdline.patch')
-rw-r--r-- | community/lmctl/mx-support-cmdline.patch | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/community/lmctl/mx-support-cmdline.patch b/community/lmctl/mx-support-cmdline.patch new file mode 100644 index 000000000..f2f7cf068 --- /dev/null +++ b/community/lmctl/mx-support-cmdline.patch @@ -0,0 +1,37 @@ +--- lmctl-org/src/cmdline.c 2004-09-07 22:40:15.000000000 +0000 ++++ lmctl-0.3.1/src/cmdline.c 2005-06-29 13:36:33.000000000 +0000 +@@ -128,6 +128,10 @@ + "Set matching devices to a resolution of 400cpi"}, + { "800", '8', NULL, 0, + "Set matching devices to a resolution of 800cpi"}, ++ { "1200", 'm', NULL, 0, ++ "Set matching devices to a medium resolution of 1200cpi"}, ++ { "1600", 'h', NULL, 0, ++ "Set matching devices to a high resolution of 1600cpi"}, + + { NULL, 0, NULL, 0, _("SmartScroll/Cruise Control (SMS command set)") }, + +@@ -227,13 +231,22 @@ + command = cmd_set; + set_res = (int) (key - '0') * 100; + break; ++ ++ case 'm': ++ command = cmd_set; ++ set_res = (int) (12) * 100; ++ break; ++ case 'h': ++ command = cmd_set; ++ set_res = (int) (16) *100; ++ break; + + case '1': /* set the channel */ + case '2': + command = cmd_set; + set_channel = (int) (key - '0'); + break; +- ++ + case 'u': + command = cmd_set; + set_unlock = 1; |