summaryrefslogtreecommitdiff
path: root/sbin/wsconsctl
AgeCommit message (Collapse)Author
2022-02-06remove please from manual pagesJonathan Gray
ok jmc@ sthen@ millert@
2021-03-03Add a configurable button mapping for tap gestures on touchpads.Ulf Brosziewski
Thanks to RJ Johnson for this work! ok mpi@
2021-03-02Read general and touchpad-specific wsmouse settings separately.Ulf Brosziewski
Correct the identification of the device type when reading the touchpad parameters fails. ok jcs@
2020-10-01Teach wsconsctl about astfb(4).Mark Kettenis
2020-04-02avoid sys/param.h poisoning, and replace nitems with a local declTheo de Raadt
2020-03-03Teach wsconsctl about rkdrm(4).Mark Kettenis
requested by jsg@
2019-08-19Add a field for enabling/disabling reverse scrolling.Ulf Brosziewski
ok patrick@
2019-06-28When system calls indicate an error they return -1, not some arbitraryTheo de Raadt
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 allowsFrederic Cambus
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 devicesJoshua Stein
ok bru
2018-05-07Add the logging parameters to mousecfg.c, and make the 'param' fieldUlf Brosziewski
available for all wsmouse devices.
2018-01-221. Add a field for configuring the size of edge areas on touchpads.Ulf Brosziewski
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@anton
2017-12-31Remove an unused variable and instruct lex not to produce the input() functionanton
since it's never used; ok guenther@
2017-10-24remove defines for ioctls the kernel doesn't recogniseJonathan Gray
ok mpi@
2017-09-02teach wsconsctl about efifbPeter Hessler
OK patrick@
2017-08-01Handle the flags of mousecfg fields correctly.Ulf Brosziewski
2017-07-21Add fields for wsmouse/touchpad configuration.Ulf Brosziewski
2017-07-10remove misc. depend and yacc nits that no longer matter.Marc Espie
okay millert@
2017-07-09have bsd.prog.mk/bsd.lib.mk generate .y -> .c/.h rules without intermediateMarc Espie
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 mostMarc Espie
programs will build even without a make depend first. okay tb@ millert@
2017-05-27Mention the display.font variable in EXAMPLES.Frederic Cambus
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 separateJason McIntyre
usage every time we think of a new way to use this; -= bits from anton lindqvist ok tb tom
2016-05-12more hppa64 cleaningTheo de Raadt
2016-03-31Simplify MACHINE tests, the only platforms in the tree without wsdisplayJonathan Gray
are octeon and hppa64.
2016-03-09We are done providing support for the vax.Theo de Raadt
lots of agreement.
2016-02-10Permit negative x and y coordinates in mouse.scale for uts and ums.Philip Guenther
Needed by some touchscreens. no objection matthieu@
2015-12-12add keyboard backlight variableJoerg Jung
tested by Bryan Vyhmeister, krw, tb, and myself ok jcs krw tb
2015-11-19lexer fixes to work with new flex. from Serguey ParkhomovskyTed Unangst
2015-05-26build wsconsctl and wsconscfg on armv7Jonathan Gray
2015-05-08Add a new `don't read back' flag for variables, to prevent reading their valueMiod Vallat
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 failureTheo de Raadt
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 perfectlyTed Unangst
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, keepingMiod Vallat
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.Mark Kettenis
ok jsg@, miod@
2013-10-20Introduce write-only (for now) display.font parameter, which issues aMiod Vallat
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@Miod Vallat
2013-08-18Fix calls to printf-like functions which passed a non-fixed stringPhilip Guenther
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.Theo de Raadt
2013-03-21Correctly issue WSKBDIO_GETDEFAULTKEYREPEAT instead of WSKBDIO_GETKEYREPEATMiod Vallat
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@.Stefan Sperling
2012-08-08fix type (part from NetBSD)Alexandr Shadchin
ok miod@
2012-07-14ansifyAlexandr Shadchin
ok deraadt@
2012-07-14fix typo in commentAlexandr Shadchin
ok deraadt@
2012-07-14zap whitespaceAlexandr Shadchin
ok deraadt@
2012-06-20more mac68k bits for the atticMatthew Dempsky
2012-05-14ansi. no binary changeJonathan Gray
2012-04-17typoTheo de Raadt
2012-04-17Add type numbers for upcoming sgi work, forgotten during newport(4) import.Miod Vallat
2012-01-31fix a typo; Steffen Daode NurpmesoTheo de Raadt