summaryrefslogtreecommitdiff
path: root/sys/dev/wscons/wsmoused.h
AgeCommit message (Collapse)Author
2009-05-31The wsmouse support code has been written for pcvt long ago, then liftedMiod Vallat
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.
2006-12-02Use a better strategy to make the mouse pointer visible in inverse_char();Miod Vallat
also check the return value of alloc_attr() for failure. No functional change.
2006-11-29Change the getchar wsdisplay_accessops function to not return aMiod Vallat
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.
2006-02-12Remove dead sysbeep driver and unused sysbeep() routine. No functional change.Miod Vallat
2002-03-27Add X-Window support to wsmoused(8). This allows running wsmoused(8) andjbm
X-Window at the same time, removing the need to kill wsmoused(8) before starting X-Window.
2002-03-14initialized data cannot be common, dunno how it compiled beforeMichael Shalayeff
2002-03-14First round of __P removal in sysTodd C. Miller
2001-04-14Kernel support for console mouse functionality which will be controlled byAaron Campbell
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.