diff --git a/dir_9dc252854a5b01c7c4bd5889aefb1f34.html b/dir_9dc252854a5b01c7c4bd5889aefb1f34.html new file mode 100644 index 0000000..ff573cf --- /dev/null +++ b/dir_9dc252854a5b01c7c4bd5889aefb1f34.html @@ -0,0 +1,82 @@ + + +
+ + + + +
+ libx52
+ 0.2.3
+
+ Saitek X52/X52Pro drivers for Linux/Unix
+ |
+
Most libx52 functions to update the joystick state do not directly write to the connected joystick, but only update internal data structures within the device context. In order to actually update the joystick, the application must call libx52_update. This function writes the updates to the joystick and resets any internal state.
Example
@@ -105,11 +105,11 @@ Joystick UpdatesMost libx52 functions return a standard libx52_error_code integer value that indicates the status of the operation. As long as the operation succeeded, the function will return LIBX52_SUCCESS. Other values returned indicate a failure of some sort.
libx52_strerror can convert the return code into a descriptive string that may be displayed to users.
-libx52_strerror automatically handles internationalization. As long as your application sets up the locale correctly, and the error strings have been translated to that locale, the returned strings will correspond to the translated values for your locale.
diff --git a/pages.html b/pages.html index 08b70a0..b3742de 100644 --- a/pages.html +++ b/pages.html @@ -69,11 +69,12 @@ $(function() {
+ libx52
+ 0.2.3
+
+ Saitek X52/X52Pro drivers for Linux/Unix
+ |
+
+x52bugreport - System information utility for bug reports +
+x52bugreport
x52bugreport is a utility that collects and reports information on the current system and build environment. The reported information can be provided when raising a bug report on https://github.com/nirenjan/libx52/issues.
+x52bugreport
+x52cli - Command line interface to libx52
-x52cli commands [command-options]
x52cli is a command line interface to the X52 library that allows you to set the LEDs and different parameters on the multifunction display (MFD).
Running x52cli without any arguments will display a brief help message.
-Commands are not case sensitive.
This is the list of LED IDs and corresponding states supported by the X52 Pro. Note that the on state is only allowed for the fire and throttle LEDs, and they do not support the red, amber and green states. The remaining LEDs do not support the on state, but support all the other states.
x52cli does not maintain any state between invocations. As a result the clock command will reset the relative offsets for clocks 2 and 3 back to 0 and configure them to be in 12 hour mode. To work around this, use the date and time commands instead to manually configure the date and time.
You must have write permissions to the USB device in order to use the libx52 library, and by extension, x52cli.
The simplest method to obtain such permissions is to run x52cli as root, possibly through sudo(8)
diff --git a/x52d.html b/x52d.html index bdc4cd8..980311e 100644 --- a/x52d.html +++ b/x52d.html @@ -74,7 +74,7 @@ $(function() {-f
- Run daemon in foreground (default: no)-p
- Path to PID file-o
- Configuration override - only applied during startupx52d can be controlled by means of a configuration file. The default location of the configuration file is in /etc/x52d/x52d.conf
. The configuration file is an INI style file, and the default configuration is as listed below:
Configuration overrides are a means of testing a configuration parameter for a single instance of x52d, or to override the default configuration. The syntax for an override is section.key=value
, where section
, key
and value
correspond to the configuration section, key and value respectively.
For example, to override the secondary clock timezone to US Eastern Time, use the following syntax. Note that while the section and key are case-insensitive, the value may be case-sensitive, depending on which parameter is being overridden.