summaryrefslogtreecommitdiffstats
path: root/sbin/wsconsctl/mouse.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add a field for enabling/disabling reverse scrolling.bru2019-08-191-3/+6
| | | | ok patrick@
* When system calls indicate an error they return -1, not some arbitraryderaadt2019-06-281-8/+8
| | | | | | value < 0. errno is only updated in this case. Change all (most?) callers of syscalls to follow this better, and let's see if this strictness helps us in the future.
* Add the logging parameters to mousecfg.c, and make the 'param' fieldbru2018-05-071-10/+18
| | | | available for all wsmouse devices.
* 1. Add a field for configuring the size of edge areas on touchpads.bru2018-01-221-1/+2
| | | | | 2. Remove code that is obsolete because all touchpad drivers configure wsmouse for compat mode now.
* remove defines for ioctls the kernel doesn't recognisejsg2017-10-241-7/+1
| | | | ok mpi@
* Handle the flags of mousecfg fields correctly.bru2017-08-011-2/+2
|
* Add fields for wsmouse/touchpad configuration.bru2017-07-211-1/+63
|
* fix type (part from NetBSD)shadchin2012-08-081-4/+4
| | | | ok miod@
* zap whitespaceshadchin2012-07-141-6/+6
| | | | ok deraadt@
* Don't silently ignore errors if we cannot open the device. While I'm herefgsch2010-08-201-16/+10
| | | | | simplify the code and apply some style(9). Discussed with and ok miod@
* Learn wsconsctl to handle more than the first keyboard, mouse and display.maja2010-07-011-1/+19
| | | | | | | | E.g. if we have a /dev/wskbd1 keyboard1 will show up when doing a -a. wsconsctl keyboard1 will now show you all variables for keyboard1. feedback and ok miod@. -moj
* Preserve rawmode when setting scale. ok miod@, oga@.matthieu2009-11-241-2/+9
|
* for rw query and print value that has actually been set in themartynas2009-07-151-18/+14
| | | | | | | similar way that mixerctl does. so that info for setting things like brightness makes sense (since we scale, like, 8 values to per-cent). also, it consistifies get/put, shrinks code since we don't need to do that in every single 'driver'. ok miod@
* First pass at removing clauses 3 and 4 from NetBSD licenses.ray2008-06-261-8/+1
| | | | | | | | | Not sure what's more surprising: how long it took for NetBSD to catch up to the rest of the BSDs (including UCB), or the amount of code that NetBSD has claimed for itself without attributing to the actual authors. OK deraadt@
* Introduce the mouse.rawmode and mouse.scale fields forrobert2007-05-081-1/+52
| | | | | | touchscreen calibration via ioctls. ok miod@
* ansideraadt2002-12-111-9/+7
|
* - repair usage() outputmiod2001-10-241-12/+12
| | | | | | | | | | | - when changing display.foo settings, print "display.foo -> bar" like done for mouse.* and keyboard.* - use warn() over err() whenever possible and appropriate code path to display as much as useful information as possible even if one ioctl fails. This is especially useful to get the display.* settings via wsconsctl -a if your mouse can't be probed, like on the iBook. ok mcikye@
* Correct diagnostic string per PR 1981 by Kaspar Toomik.hugh2001-08-011-2/+2
|
* make it more sysctl-like, ommit -kmd switches.mickey2001-06-301-11/+11
| | | | | no backwards compatibility keeped. add ability to change screens from cmd line.
* wscons control tool; initial import from newtbsd treemickey2000-07-011-0/+86