2020-03-17 13:47:30 -06:00
.TH MOUSE_M908 1
.SH NAME
2020-07-29 15:26:57 -06:00
mouse_m908 \- control the Redragon M908 Impact and M709 gaming mice
2020-03-17 13:47:30 -06:00
.SH SYNOPSIS
.B mouse_m908
[\fI OPTIONS\fR ]... \fB \- c\fR \fI FILE\fR
.br
.B mouse_m908
[\fI OPTIONS\fR ]... \fB \- m\fR \fI FILE\fR \fB \- n\fR \fI NUMBER\fR
.br
.B mouse_m908
[\fI OPTIONS\fR ]... \fB \- p\fR \fI NUMBER\fR
.br
.B mouse_m908
\fB \- h\fR
.SH DESCRIPTION
2020-07-29 15:26:57 -06:00
Change the LED lighting, the button mapping and the active profile of the Redragon M908 Impact and M709 gaming mice. Support for the M709 is currently experimental, see \fI README.md\fR for details.
2020-03-17 13:47:30 -06:00
.SH OPTIONS
.TP
\fB \- h\fR , \fB \- \- help\fR
Print a help message.
.TP
\fB \- c\fR , \fB \- \- config\fR =\fI FILE\fR
Send the configuration from the specified .ini file to the mouse.
.TP
\fB \- m\fR , \fB \- \- macro\fR =\fI FILE\fR
2020-05-13 11:28:09 -06:00
Send the macros from the specified file, requires \fB \- n\fR when old macro format.
2020-03-17 13:47:30 -06:00
.TP
\fB \- n\fR , \fB \- \- number\fR =\fI FILE\fR
Select the macro slot to send to (1-15), requires \fB \- m\fR .
.TP
\fB \- p\fR , \fB \- \- profile\fR =\fI NUMBER\fR
Set the currently active profile (1-5).
.TP
\fB \- b\fR , \fB \- \- bus\fR =\fI NUMBER\fR
USB bus id, with this option the mouse gets opened by its bus id and device address instead of the VID and PID. Requires \fB \- d\fR .
.TP
\fB \- d\fR , \fB \- \- device\fR =\fI NUMBER\fR
USB device address, with this option the mouse gets opened by its bus id and device address instead of the VID and PID. Requires \fB \- b\fR .
.TP
\fB \- k\fR , \fB \- \- kernel\- driver\fR
Do not attempt to detach the kernel drivers. Useful for compatibility on some systems.
2020-05-02 08:50:55 -06:00
.TP
\fB \- v\fR , \fB \- \- version\fR
Print version.
2020-05-09 14:33:14 -06:00
.TP
2020-05-11 08:49:58 -06:00
\fB \- R\fR , \fB \- \- read\fR =\fI FILE\fR
Read settings from the mouse and print the configuration to the specfied file. Uses stdout when \fI FILE\fR is "-".
2020-05-09 15:36:23 -06:00
.TP
2020-05-11 08:49:58 -06:00
\fB \- D\fR , \fB \- \- dump\fR =\fI FILE\fR
Read settings from the mouse and dump the raw data to the specfied file. Uses stdout when \fI FILE\fR is "-". Only useful for debugging and development.
2020-07-12 14:02:29 -06:00
.TP
\fB \- M\fR , \fB \- \- model\fR =\fI NAME\fR
Specifies the model of the mouse (709, 908).
2020-03-17 13:47:30 -06:00
.SH EXAMPLES
To send the configuration from example.ini
.PP
.nf
.RS
mouse_m908 -c example.ini
.RE
.fi
.PP
2020-07-29 15:26:57 -06:00
For any model except the M908, use the \fB \- \- model\fR option, e.g. for the M709
.PP
.nf
.RS
mouse_m908 -c example_m709.ini -M 709
.RE
.fi
.PP
2020-03-17 13:47:30 -06:00
To send the macro from example.macro to slot 1
.PP
.nf
.RS
mouse_m908 -m example.macro -n 1
.RE
.fi
.PP
2020-05-13 11:28:09 -06:00
To send all macros from example.ini
.PP
.nf
.RS
mouse_m908 -m example.ini
.RE
.fi
.PP
2020-05-11 08:49:58 -06:00
To read and print the current config in .ini format
.PP
.nf
.RS
mouse_m908 -R -
.RE
.fi
.PP
2020-03-17 13:47:30 -06:00
.SH FILES
2020-05-27 08:55:04 -06:00
Examples and the configuration file description can be found in \fI /usr/share/doc/mouse_m908\fR , \fI /system/documentation/packages/mouse_m908\fR on Haiku.
2020-03-28 11:10:12 -06:00
.SH COPYRIGHT
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.