summaryrefslogtreecommitdiff
path: root/sys/dev/wscons
AgeCommit message (Collapse)Author
2018-02-19Remove almost unused `flags' argument of suser().Martin Pieuchot
The account flag `ASU' will no longer be set but that makes suser() mpsafe since it no longer mess with a per-process field. No objection from millert@, ok tedu@, bluhm@
2018-01-22More sizes for free() in wscons(4).Frederic Cambus
OK visa@
2018-01-17Add sizes for free() in wscons(4).Frederic Cambus
OK deraadt@, visa@, mpi@
2018-01-13coordinate again: polishingUlf Brosziewski
2018-01-11Improve the handling of coordinate inputs and filters.Ulf Brosziewski
Single-touch and multi-touch coordinate inputs are treated more uniformly, and the hysteresis filters have a more consistent implementation. If possible, pointer control will be assigned to touches with coordinate updates that pass the default hysteresis filter (the function has been moved to wsmouse.c). The "strong" variant of hysteresis has been improved, the new version won't double the threshold when a movement changes the orientation on an axis. There is an additional change in wstpad_configure, which ensures that a zero size disables an edge area even if the coordinate limits are misconfigured.
2017-12-23scrolling: take care of noise.Ulf Brosziewski
2017-12-221. Use unfiltered deltas for scrolling. 2. (Re-)Simplify the edge areaUlf Brosziewski
setup.
2017-11-26Add various improvements to the default configuration (better defaultUlf Brosziewski
sizes of edge areas, vertical edge areas as default, and a check for the WSMOUSE_TYPE that may detect clickpads where software buttons should be placed at the top edge).
2017-11-231. Prepare a consistent treatment of edge areas. 2. Add mechanismsUlf Brosziewski
that identify and mask touches resting in the bottom area.
2017-11-15Remove unused compat macros.anton
ok kettenis@ mpi@
2017-10-24remove defines for ioctls the kernel doesn't recogniseJonathan Gray
ok mpi@
2017-09-08If you use sys/param.h, you don't need sys/types.hTheo de Raadt
2017-08-25Reduce the delay before scrolling starts.Ulf Brosziewski
2017-08-18Backout because it breaks ramdisks. Anyone making changes in the kernelTheo de Raadt
is required to consider or test ramdisks before commit.
2017-08-18Add compressed fonts support in the kernel.Frederic Cambus
The wsdisplay_font structure has been modified to add two new members (zdata and zdata_len) to store compressed font data and its size. We define compressed fonts by setting the data field to NULL and populating the zdata and zdata_len fields. In wsfont_lock(), we check if the selected font needs to be inflated, and we call the newly introduced wsfont_inflate() if required. OK kettenis@
2017-08-10Remove some case statements which have been compiled out since 2000.Frederic Cambus
OK mpi@
2017-07-27Use variable edge masks (again).Ulf Brosziewski
The properties of edge areas will be more consistent even though in some cases the driver remains in the dark about the exact coordinate limits.
2017-07-26Do not add plain edge areas as default.Ulf Brosziewski
Given how the Synaptics models report min/max coordinates, adding "small" edge areas per default might consume too much space.
2017-07-19Fix previous commit; check the enter_ddb function pointer instead of theMark Kettenis
"accessops" pointer before calling it.
2017-07-19Add a enter_ddb() "accessop" to wsdisplay(4) to allow KMS drivers to bypassMark Kettenis
the modeset lock when entering ddb. This avoids triggering various asserts when the kernel panics while running X. ok deraadt@
2017-07-18Prevent integer overflow in WSDISPLAYIO_LDFONT ioctl.Mark Kettenis
Issue found by Ilja van Sprundel. ok deraadt@
2017-07-16Explain the multi-touch tracking function.Ulf Brosziewski
2017-07-16Minor changes in the setup.Ulf Brosziewski
1. Add middle-button areas to the clickpad defaults. 2. Handle the edge areas more uniformly. 3. Don't disable sw buttons at the bottom edge.
2017-06-18Remove remnants of old versions.Ulf Brosziewski
2017-06-15We do not support iso7 nor pcvt encoding, so remove macro definitionsFrederic Cambus
and commented entries. OK mlarkin@
2017-06-13Increase WSFONT_NAME_SIZE size, this will allow storing longer fontFrederic Cambus
names in wsdisplay_font structures. OK deraadt@
2017-06-12specify free() size from the old allocation, not new allocation.Theo de Raadt
fix from C Turt
2017-06-06Set the weak variant of hysteresis as default.Ulf Brosziewski
2017-06-06Add support for tap gestures.Ulf Brosziewski
2017-05-27Add missing comments for CAN and SUB, for consistency.Frederic Cambus
OK tb@
2017-05-12Introduce a new keyboard console hook to enter ddb(4) and make ukbd(4)Martin Pieuchot
use it. Instead of defering every input of a USB console keyboard to a timeout via a queue of one element, only differ entering ddb(4) once a matching control sequenece has been typed. This prevent loosing inputs when a USB console keyboard is "too fast". Fix a problem reported by matthieu@, Adam McDougall and Hrvoje Popovski. ok stsp@, dlg@
2017-05-10Adapt the filter parameters to the X/Y ratio.Ulf Brosziewski
ok mpi@
2017-05-08improved coordinate filtersUlf Brosziewski
ok mpi@
2017-04-30Rename Debugger() into db_enter().Martin Pieuchot
Using a name with the 'db_' prefix makes it invisible from the dynamic profiler. ok deraadt@, kettenis@, visa@
2017-04-11Partially revert previous mallocarray conversions that containDavid Hill
constants. The consensus is that if both operands are constant, we don't need mallocarray. Reminded by tedu@ ok deraadt@
2017-04-09Convert some malloc(9) to mallocarray(9)David Hill
ok deraadt@
2017-03-16Simplify wstpad option handling:Martin Pieuchot
- Remove unnecessary abstraction - Make it possible to support new features/options without ABI break - Remove some complexity and hard limits - Simplify & keep documentation close to options ok bru@
2017-03-11Introduce a new knob to force the first USB keyboard as console input.Martin Pieuchot
By setting "machdep.forceukbd=1" you can now use your USB keyboard in ddb(4) even if your BIOS emulates a pckbd(4). ok tom@, kettenis@, deraadt@
2017-03-06Guard headers to make sure userland do not look at them.Martin Pieuchot
ok bru@
2017-03-06Use 'inline' rather than _any of_ __the __other__ variants__.Martin Pieuchot
ok bru@
2017-02-27Handle touchpad input in wsmouse.Ulf Brosziewski
The wstpad file contains the core of a touchpad-input driver that is coupled with wsmouse. It is active in compat-mode if wsmouse has been configured for it. ok @matthieu @stsp @mpi
2017-01-23Only allow change-setting ioctls when FWRITE is set on the descriptor.Theo de Raadt
ok I forget who
2017-01-11Use explicit_bzero() to wipe copybuffer when logging out of the console.Frederic Cambus
OK deraadt@
2016-11-07Split PID from TID, giving processes a PID unrelated to the TID of theirPhilip Guenther
initial thread ok jsing@ kettenis@
2016-10-23Improved parameter handling in wsmouse and new ioctls for reading andUlf Brosziewski
setting parameter values. ok matthieu@
2016-09-30Add a WSKBDIO_GETENCODINGS ioctl that returns the supported keyboardMark Kettenis
encodings. ok deraadt@, jca@
2016-09-14limit the number of fonts that can be loadedJoshua Stein
ok millert mlarkin deraadt
2016-09-04remove some more sparc remnants. ok deraadtTed Unangst
2016-08-31Estonian keymapJeremie Courreges-Anglas
Original diff from Taavi Tani in 2005 (!), adapted to -current by Mart Tonso. ok mpi@
2016-08-18Reset the input state completely when wsmouse is (re-)opened.Ulf Brosziewski
ok mpi@