libx52
0.3.2
Saitek X52/X52Pro drivers for Linux/Unix
|
Functions, structures and enumerations for the Saitek X52 MFD & LED daemon communication library. More...
Go to the source code of this file.
Typedefs | |
typedef int(* | x52d_notify_callback_fn) (int argc, char **argv) |
Notification callback function type. | |
Functions | |
int | x52d_dial_command (const char *sock_path) |
Open a connection to the daemon command socket. More... | |
int | x52d_dial_notify (const char *sock_path) |
Open a connection to the daemon notify socket. More... | |
int | x52d_format_command (int argc, const char **argv, char *buffer, size_t buflen) |
Format a series of command strings into a buffer. More... | |
int | x52d_send_command (int sock_fd, char *buffer, size_t bufin, size_t bufout) |
Send a command to the daemon and retrieve the response. More... | |
int | x52d_recv_notification (int sock_fd, x52d_notify_callback_fn callback) |
Receive a notification from the daemon. More... | |
Functions, structures and enumerations for the Saitek X52 MFD & LED daemon communication library.
This file contains the type, enum and function prototypes for the Saitek X52 daemon communication library. These functions allow a client application to communicate with a running X52 daemon, execute commands and retrieve data.