Paparazzi UAS v7.1_unstable
Paparazzi is a free software Unmanned Aircraft System.
Loading...
Searching...
No Matches
joystick.c File Reference
#include "modules/joystick/joystick.h"
#include "modules/datalink/datalink.h"
#include "modules/core/abi.h"
#include "pprzlink/dl_protocol.h"
#include "generated/airframe.h"
Include dependency graph for joystick.c:

Go to the source code of this file.

Functions

void joystick_init (void)
 Init function.
void joystick_parse (uint8_t *buf)
 JOYSTICK_RAW message parser if valid, send a JOYSTICK ABI message.

Variables

struct Joystick joystick

Detailed Description

Author
Gautier Hattenberger Handle JOYSTICK_RAW messages

Definition in file joystick.c.

Function Documentation

◆ joystick_init()

void joystick_init ( void )

Init function.

Definition at line 34 of file joystick.c.

References joystick.

◆ joystick_parse()

void joystick_parse ( uint8_t * buf)

JOYSTICK_RAW message parser if valid, send a JOYSTICK ABI message.

Definition at line 42 of file joystick.c.

References joystick, and JOYSTICK_ID.

Variable Documentation

◆ joystick

struct Joystick joystick

Definition at line 32 of file joystick.c.

Referenced by joystick_init(), and joystick_parse().