summaryrefslogtreecommitdiff
path: root/sbin/wsconsctl/wsconsctl.h
AgeCommit message (Collapse)Author
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.
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).
2010-08-20Don't silently ignore errors if we cannot open the device. While I'm hereFederico G. Schwindt
simplify the code and apply some style(9). Discussed with and ok miod@
2010-07-01Learn wsconsctl to handle more than the first keyboard, mouse and display.Mats O Jansson
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
2010-07-01add screen types and emulations to things to be shown for displays.Mats O Jansson
ok miod@. -moj
2010-06-28A long time ago when wsconsctl was written it expected that ksym was uniq.Mats O Jansson
That isn't the case. eg thorn, Cyrillic_CHE, L2_tcedilla, L5_scedilla and L7_zcaron has the same (0xfe). So you have a 20% chance to get the right output from wsconsctl. Use the ksym name to decide which ksyms isn't Latin-1. Store that information in the ksym tables. The use the keyboard encoding to make an educated guess of which character to return. Let say your encoding is pl. You have Latin-2 characters in the map. Then check first for Latin-2 characters if none found try Latin-1. ok miod@ -moj
2009-07-15for rw query and print value that has actually been set in theMartynas Venckus
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@
2008-06-26First pass at removing clauses 3 and 4 from NetBSD licenses.Ray Lai
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@
2007-05-08Introduce the mouse.rawmode and mouse.scale fields forRobert Nagy
touchscreen calibration via ioctls. ok miod@
2002-12-17display.focus is a signed int, make it so; this fixes a problem under x11, ↵Michael Shalayeff
which is now a correct -1
2002-05-22implement new type: %%, given min,cur,max print the value in %%.Michael Shalayeff
also accepts -= and += to adjust the value. implement new flags: INIT, DEAD. init means to prefetch the variable before setting, where dead means to assume the variable is not implemented (enottty was observed, most likely), set by the low-level routines (upon observing the ioctl results). add the variables for screen brightness,contrast,backlight -- all are precent-type, also rework the display.c to be easier on the eyes. requested, commented and helped upon by miod@ and drahn@. there was a discussion on wheather truncate or round (the thin and think ends of the same egg) where decided to allow it to truncate until demanded otherwise by the eager masses.
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ↵Todd C. Miller
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
2001-06-30make it more sysctl-like, ommit -kmd switches.Michael Shalayeff
no backwards compatibility keeped. add ability to change screens from cmd line.
2001-05-08add more display variables (for screen burner).Michael Shalayeff
implement boolean type for variables.
2000-07-01wscons control tool; initial import from newtbsd treeMichael Shalayeff