aboutsummaryrefslogtreecommitdiff
path: root/share/man/man4/hidraw.4
diff options
context:
space:
mode:
Diffstat (limited to 'share/man/man4/hidraw.4')
-rw-r--r--share/man/man4/hidraw.414
1 files changed, 9 insertions, 5 deletions
diff --git a/share/man/man4/hidraw.4 b/share/man/man4/hidraw.4
index 4631e253c1ef..0353e49a7425 100644
--- a/share/man/man4/hidraw.4
+++ b/share/man/man4/hidraw.4
@@ -27,7 +27,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd August 6, 2023
+.Dd April 27, 2025
.Dt HIDRAW 4
.Os
.Sh NAME
@@ -198,7 +198,7 @@ specified by
.Va buf .
.It Dv HIDIOCGRAWPHYS(len) Pq Vt "char[] buf"
Get the newbus path to the device.
-.\For Bluetooth devices, it returns the hardware (MAC) address of the device.
+.\"For Bluetooth devices, it returns the hardware (MAC) address of the device.
Copies a maximum of
.Va len
bytes of the newbus device path
@@ -206,10 +206,12 @@ into the memory
specified by
.Va buf .
.It Dv HIDIOCGFEATURE(len) Pq Vt "void[] buf"
-Get a feature report from the device.
+.It Dv HIDIOCGINPUT(len) Pq Vt "void[] buf"
+.It Dv HIDIOCGOUTPUT(len) Pq Vt "void[] buf"
+Get respectively a feature, input or output report from the device.
Copies a maximum of
.Va len
-bytes of the feature report data into the memory specified by
+bytes of the report data into the memory specified by
.Va buf .
The first byte of the supplied buffer should be set to the report
number of the requested report.
@@ -218,7 +220,9 @@ The report will be returned starting at the first byte of the buffer
(ie: the report number is not returned).
This call may fail if the device does not support this feature.
.It Dv HIDIOCSFEATURE(len) Pq Vt "void[] buf"
-Set a feature Report in the device.
+.It Dv HIDIOCSINPUT(len) Pq Vt "void[] buf"
+.It Dv HIDIOCSOUTPUT(len) Pq Vt "void[] buf"
+Set respectively a feature, input or output Report in the device.
The value of the report is specified by the
.Va buf
and the