summaryrefslogtreecommitdiffstats
path: root/sbin/wsconsctl
AgeCommit message (Collapse)AuthorFilesLines
2021-03-03Add a configurable button mapping for tap gestures on touchpads.bru1-5/+37
Thanks to RJ Johnson for this work! ok mpi@
2021-03-02Read general and touchpad-specific wsmouse settings separately.bru1-2/+8
Correct the identification of the device type when reading the touchpad parameters fails. ok jcs@
2020-10-01Teach wsconsctl about astfb(4).kettenis1-2/+3
2020-04-02avoid sys/param.h poisoning, and replace nitems with a local declderaadt1-2/+7
2020-03-03Teach wsconsctl about rkdrm(4).kettenis1-2/+3
requested by jsg@
2019-08-19Add a field for enabling/disabling reverse scrolling.bru3-6/+16
ok patrick@
2019-06-28When system calls indicate an error they return -1, not some arbitraryderaadt4-35/+35
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.
2019-03-27Add support for displaying fontwidth and fontheight values, this allowsfcambus1-3/+14
users to know the size of the currently used font. Based on a diff from Artturi Alm, thanks! OK sthen@, kettenis@, tedu@, jcs@
2018-07-30recognize WSMOUSE_TYPE_TOUCHPAD devicesjcs2-2/+4
ok bru
2018-05-07Add the logging parameters to mousecfg.c, and make the 'param' fieldbru3-33/+48
available for all wsmouse devices.
2018-01-221. Add a field for configuring the size of edge areas on touchpads.bru3-19/+58
2. Remove code that is obsolete because all touchpad drivers configure wsmouse for compat mode now.
2018-01-02Add missing mouse type. Reported by bit shifter on misc@; ok bru@anton1-1/+2
2017-12-31Remove an unused variable and instruct lex not to produce the input() functionanton2-4/+3
since it's never used; ok guenther@
2017-10-24remove defines for ioctls the kernel doesn't recognisejsg1-7/+1
ok mpi@
2017-09-02teach wsconsctl about efifbphessler1-2/+3
OK patrick@
2017-08-01Handle the flags of mousecfg fields correctly.bru1-2/+2
2017-07-21Add fields for wsmouse/touchpad configuration.bru7-9/+455
2017-07-10remove misc. depend and yacc nits that no longer matter.espie1-3/+2
okay millert@
2017-07-09have bsd.prog.mk/bsd.lib.mk generate .y -> .c/.h rules without intermediateespie1-2/+2
files. This fixes up parallel builds in the default case. FreeBSD does something similar. okay millert@
2017-06-16mark files as BUILDFIRST, or write explicit dependencies, so that mostespie1-1/+2
programs will build even without a make depend first. okay tb@ millert@
2017-05-27Mention the display.font variable in EXAMPLES.fcambus1-2/+6
As mentioned by miod@ here [1], wsconsctl(8) has a currently undocumented 'display.font' variable allowing to change the current font on framebuffer consoles. [1] http://undeadly.org/cgi?action=article&sid=20131023125815 OK deraadt@
2017-04-06document -=; while here, simplify things so that we don;t add a separatejmc2-11/+8
usage every time we think of a new way to use this; -= bits from anton lindqvist ok tb tom
2016-05-12more hppa64 cleaningderaadt1-2/+2
2016-03-31Simplify MACHINE tests, the only platforms in the tree without wsdisplayjsg1-9/+2
are octeon and hppa64.
2016-03-09We are done providing support for the vax.deraadt1-3/+2
lots of agreement.
2016-02-10Permit negative x and y coordinates in mouse.scale for uts and ums.guenther1-8/+8
Needed by some touchscreens. no objection matthieu@
2015-12-12add keyboard backlight variablejung1-1/+40
tested by Bryan Vyhmeister, krw, tb, and myself ok jcs krw tb
2015-11-19lexer fixes to work with new flex. from Serguey Parkhomovskytedu1-3/+3
2015-05-26build wsconsctl and wsconscfg on armv7jsg1-2/+2
2015-05-08Add a new `don't read back' flag for variables, to prevent reading their valuemiod3-6/+9
after modifying them. Give this flag to `display.focus', since screen switching is asynchronous, and reading back will return the screen we are switching from if the switch has not completed yet. Also, disallow -= and += syntax for display.focus, as it doesn't make any sense.
2015-04-18Convert many atoi() calls to strtonum(), adding range checks and failurederaadt1-2/+7
handling along the way. Reviews by Brendan MacDonell, Jeremy Devenport, florian, doug, millert
2015-02-15These functions turned up in my grep for bcmp. There are already perfectlytedu1-47/+17
good cmp functions written for qsort, but then different versions were written which (ab)use the fact that bsearch doesn't strictly require the key type to be the same as the element type. Nevertheless, I think it's clearer and cleaner to create a complete key struct and search with that. As a bonus, we don't need two different compare functions just to compare with two different encoding values. ok millert
2014-03-18Retire hp300, mvme68k and mvme88k ports. These ports have no users, keepingmiod1-2/+2
this hardware alive is becoming increasingly difficult, and I should heed the message sent by the three disks which have died on me over the last few days. Noone sane will mourn these ports anyway. So long, and thanks for the fish.
2013-11-17Distinguish between inteldrm and radeondrm.kettenis1-2/+3
ok jsg@, miod@
2013-10-20Introduce write-only (for now) display.font parameter, which issues amiod3-4/+18
WSDISPLAYIO_USEFONT ioctl, asking the wsdisplay driver to change its current display font to the one requested (by name).
2013-10-20WSDISPLAYIO_GTYPE ioctl support for KMS drivers. ok jsg@miod1-2/+3
2013-08-18Fix calls to printf-like functions which passed a non-fixed stringguenther1-3/+3
as the format and no variable args. Replace "%#0.*X" with "%#.*X": the zero-fill flag is ignored/implied on numeric conversions when a precision is specified. ok jung@ millert@ krw@
2013-03-25the unused palm code goes away.deraadt1-3/+2
2013-03-21Correctly issue WSKBDIO_GETDEFAULTKEYREPEAT instead of WSKBDIO_GETKEYREPEATmiod1-3/+3
ioctl when getting the default repeat settings; bug report by ``Creamy'' on tech@
2012-10-29Teach wsconsctl(8) about the elantech mouse type. Diff from shadchin@.stsp1-2/+3
2012-08-08fix type (part from NetBSD)shadchin3-9/+9
ok miod@
2012-07-14ansifyshadchin2-5/+4
ok deraadt@
2012-07-14fix typo in commentshadchin1-2/+2
ok deraadt@
2012-07-14zap whitespaceshadchin4-13/+13
ok deraadt@
2012-06-20more mac68k bits for the atticmatthew1-2/+2
2012-05-14ansi. no binary changejsg1-5/+3
2012-04-17typoderaadt1-2/+2
2012-04-17Add type numbers for upcoming sgi work, forgotten during newport(4) import.miod1-2/+7
2012-01-31fix a typo; Steffen Daode Nurpmesoderaadt1-2/+2
2011-09-20Prepare to add support ALPS touchpadsshadchin1-2/+3
no objections mpi@ and matthieu@