summaryrefslogtreecommitdiffstats
path: root/sys/dev/wscons/wsmoused.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Stop supporting wsmoused and X in parallel. This code is racy andmpi2014-10-271-3/+1
| | | | | | known to break mice upon resume. ok shadchin@
* wsmoused() called if cmd == WSDISPLAYIO_WSMOUSED only,shadchin2014-05-141-2/+2
| | | | | | don't need check cmd twice. ok miod@
* The wsmouse support code has been written for pcvt long ago, then liftedmiod2009-05-311-72/+52
| | | | | | | | | | | | | | | to work with wscons. Back then, the universe was simple and there was only one single wsdisplay device, so that code would use global variables. Overhaul this, and make sure the various routines take the wsscreen or wsdisplay they operate on as arguments. This will eventually allow multiple wsmoused to run, one per wsdisplay device. While there, use more appropriate integer types in that code, so that unholy big displays do not cause integer overflows in coordinates computations. As a bonus, this makes the code smaller.
* Use a better strategy to make the mouse pointer visible in inverse_char();miod2006-12-021-7/+1
| | | | | also check the return value of alloc_attr() for failure. No functional change.
* Change the getchar wsdisplay_accessops function to not return amiod2006-11-291-18/+17
| | | | | | | | | | display-dependent value, but instead fill a structure with the chaarcter and a valid attribute, suitable for use with unpack_attr. Adapt the wsmoused code to these changes, and remove all knowledge of the text-mode style pc video attributes in it. This will eventually allow wsmoused to be used on non-pcdisplay devices.
* Remove dead sysbeep driver and unused sysbeep() routine. No functional change.miod2006-02-121-3/+1
|
* Add X-Window support to wsmoused(8). This allows running wsmoused(8) andjbm2002-03-271-1/+4
| | | | | X-Window at the same time, removing the need to kill wsmoused(8) before starting X-Window.
* initialized data cannot be common, dunno how it compiled beforemickey2002-03-141-4/+5
|
* First round of __P removal in sysmillert2002-03-141-30/+30
|
* Kernel support for console mouse functionality which will be controlled byaaron2001-04-141-0/+127
the wsmoused daemon (replacement for moused which was used with PCVT). Adds a "getchar" method to the display drivers which returns the value of the character currently under the cursor (e.g., so it may be inversed). From jbm@. Still needs a bit of cleanup and improvement, especially X cohabitation features. The pointer moves to fast as well. These sorts of issues will be corrected in-tree.