mirror of https://github.com/nirenjan/libx52.git
Fix Readme & help output
parent
5d0684a154
commit
9dcc3507ed
|
@ -26,13 +26,13 @@ You will need the following packages:
|
||||||
|
|
||||||
* automake
|
* automake
|
||||||
* autoconf
|
* autoconf
|
||||||
* libusb-1.0-0-dev
|
* libusb-1.0-0-dev (Package name may vary across distributions)
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
1. Clone the parent Git repository
|
1. Clone the parent Git repository
|
||||||
2. CD to the libx52 folder and run autogen.sh
|
2. Run autogen.sh
|
||||||
3. Run configure; make and sudo make install.
|
3. Run configure; make and sudo make install.
|
||||||
|
|
||||||
The test program is not installed, there will be a separate command line utility
|
The test program is not installed. Use x52cli to communicate with the joystick
|
||||||
in the future that utilizes the library and communicates with the joystick.
|
and set the LEDs and MFD state.
|
||||||
|
|
|
@ -297,7 +297,7 @@ static int do_help(const struct command_handler *cmd)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
if (cmd) {
|
if (cmd) {
|
||||||
fprintf(stderr, "Command usage: %s", cmd->help);
|
fprintf(stderr, "Command usage: %s\n", cmd->help);
|
||||||
} else {
|
} else {
|
||||||
printf("\nCommands:\n");
|
printf("\nCommands:\n");
|
||||||
for (i = 0; i < X52_CTL_CMD_MAX; i++) {
|
for (i = 0; i < X52_CTL_CMD_MAX; i++) {
|
||||||
|
|
Loading…
Reference in New Issue