9 Commits
Author SHA1 Message Date
Jeroen Oortwijn 72f7f7d976 USB_hid.h: Add Report Type constants
From "Device Class Definition for Human Interface Devices (HID)
Ver. 1.11", par. 7.2.1, page 51.

Change-Id: I4628f8ca940758aaf4a09290e9fa407d30374e7a
Reviewed-on: https://review.haiku-os.org/c/1450
Reviewed-by: waddlesplash <[email protected]>
2019-05-14 07:24:09 +00:00
Jeroen Oortwijn 419190fdc2 usb_hid: Use In Range data instead of state
According to the HID Usage Tables document (Hut1_12.pdf), the In Range
usage is a Momentary Control (MC) (par. 16.3.1). A MC has a Logical
Minimum of 0 and a Logical Maximum of 1 (par. 3.4.1.3).

As the In Range usage is a bit quantity, the value can't be outside
the Logical Minimum and Maximum and therefore can't be in an invalid
state.

Now the inRange boolean value properly changes.
The pointer still moves to the upper left corner when the pen is out
of range, though. Maybe the input_server add-on doesn't use this value?

Change-Id: Idf511ac237158e90eb2e8f01422757655a7eea3a
Reviewed-on: https://review.haiku-os.org/c/1449
Reviewed-by: waddlesplash <[email protected]>
Reviewed-by: Stephan Aßmus <[email protected]>
2019-05-14 07:24:09 +00:00
Jeroen Oortwijn 7625dca0e9 input_server/tablet: Only send event messages when pen is in range.
When the pen is moved out of range, the Wacom tablet sends one last
message with all values set to 0 and the In Range value set to false.
Don't send mouse event messages in this case.

Change-Id: I419d57cede47a6ef40a160322f3025ef372ecaa3
Reviewed-on: https://review.haiku-os.org/c/1448
Reviewed-by: waddlesplash <[email protected]>
Reviewed-by: Stephan Aßmus <[email protected]>
2019-05-14 07:24:09 +00:00
Jeroen Oortwijn ef9b129675 bfs_fuse: Allow non-root to mount BFS partitions.
* Most FUSE options are only allowed for root, so don't add these options
  when user is not root.
* Fixes ticket #8254.

Signed-off-by: Augustin Cavalier <[email protected]>
Coding style looks OK to me and there are multiple comments that
it works, so just merging it.
2016-06-18 22:11:21 -04:00
Jeroen Oortwijn ea74aafd98 configure: Add host as valid build target in help.
Signed-off-by: Augustin Cavalier <[email protected]>
2015-12-15 21:02:02 -05:00
Jeroen Oortwijn 467f4ab3a8 Fix for whitespace in paths
Signed-off-by: Ingo Weinhold <[email protected]>
2013-11-26 02:06:09 +01:00
Jeroen Oortwijn eaef83a97a configure: fix error message
Signed-off-by: Matt Madia <[email protected]>
2013-10-20 14:02:06 -04:00
Jeroen Oortwijn 4ab51d63e2 Wacom input device: Update Wacom Bamboo proximity check
* changes the proximity check to be much more forgiving when you go over
  the edge of the active area.
2012-02-18 15:42:54 +01:00
Jeroen Oortwijn fe055bf343 change html output to confirm to XHTML Strict
Several errors in the html output caused WebPositive to not render
the file completely.

Signed-off-by: Adrien Destugues <[email protected]>

Fixes #12387.
2015-10-26 18:36:50 +01:00