summaryrefslogtreecommitdiff
path: root/sys/dev/usb/uts.c
AgeCommit message (Collapse)Author
2009-02-14remove dead assignments and newly created unused variables.Charles Longeau
Found by LLVM/Clang Static Analyzer. ok fgsch@ krw@
2008-12-29typoMiod Vallat
2007-10-11treat usb vendor/product names as a locator, and have usbd_print handle it,Theo de Raadt
so that it shows up before the :. as a result, all the usb devices do not need to have name printing code anymore. all this now works and prints nicely because usbd_probe_and_attach() is serialized. ok kettenis
2007-09-18Do not return from uts_intr() without restoring spl if it has been changed,Miod Vallat
also clean up uts_get_pos() interface while there; spotted by and joint work with fgsch@, ok matthieu@ robert@
2007-09-16some style(9). no binary change.Federico G. Schwindt
2007-09-06Return pressure as absolute z axis on ITM touchscreens. Other modelsMatthieu Herrb
just return 0 or 1 on this axis, depending on the contact. Ok robert@ miod@.
2007-08-30don't swap X and Y coordinates while in raw mode. ok robert@Matthieu Herrb
2007-06-14Remove the definition and usage of the USB_DECLARE_DRIVER_CLASS andMarc Balmer
USB_DECLARE_DRIVER macros. No binary change. ok dlg.
2007-06-13Apply some KNF after the recent removal of macros and type definitions.Marc Balmer
No binary change. ok ray.
2007-06-12Remove the definition and use of the device_ptr_t which was a struct device *.Marc Balmer
No binary change. ok mk.
2007-06-11usbd_devinfo_alloc() uses M_WAITOK so don't check return value.Jonathan Gray
From Karl Sjödahl <dunceor@gmail.com>
2007-06-10Remove the definition and use of the USBDEVNAME macro.Marc Balmer
(This might look easy, but it was a big diff. Thanks to dlg and especially jsg for looking over it; we found at least four mistakes in the initial diff.) ok jsg.
2007-06-10Remove the definition and use of the USBDEV macro. It only created confusionMarc Balmer
and the address of it's argument: USBDEV(sc->sc_dev) yields &sc->sc_dev. No binary changes. ok jsg.
2007-06-06Mechanical removal of USBBASEDEVICE. No binary change.Michael Knudsen
Tested by thib and myself. ok mbalmer jsg
2007-06-05Remove the "Static" declaration of many functions. It was defined to be emptyMarc Balmer
and it was not consistently used. It was confusing as it suggested these functions were static, which they were not. discussed with dlg and jsg, ok jsg.
2007-05-31add Gunze USB Touch Panel supportRobert Nagy
2007-05-27Farewell USB_{ATTACH,MATCH,DETACH}* you will not be missed.Jonathan Gray
ok deraadt@ krw@ mbalmer@
2007-05-18fix the check of wsmouse_calibcoords values andRobert Nagy
invert the X or Y coordinates to make the top left corner (0,0).
2007-05-08Make use of struct wsmouse_calibcoords and add ioctl supportRobert Nagy
for getting and passing calibration values. Move the scale struct to uts_softc so that each device can have it's own values instead of using the global one. ok miod@
2007-04-26USB device lists do not need a terminating sentinel, so don't provide any;Miod Vallat
this should prevent phantom devices from attaching axe or uberry on some machines. ok deraadt@
2007-04-25Add suport for printing debug information like coordinates if UTS_DEBUGRobert Nagy
is defined and make sure that we are calling wsmouse_input every time the screen gets touched on different types of touchscreens. Some minor cleanups while here.
2007-04-10Add support for a fourth axis on wsmouse devices, e.g. on the Apple MightMiod Vallat
Mouse. Currently limited to USB mice. Adapted from a diff from Gareth <garf@loveandnature.co.za> on tech@
2007-03-23the input length is different on the eGalax and ITM screens,Robert Nagy
so let's adapt the code by specifing the corrent length and and move the check to the correct place.
2007-03-16uts(4) is a driver for USB Touchscreens;Robert Nagy
currently the driver only support touchscreens made by eGalax and Future Technology Devices (ITM) ok deraadt@