Microchip® Advanced Software Framework

controller.h File Reference
#include "compiler.h"

Macros

#define CONTROLLER_LONG_PRESS_TIME_MS   3000
 

Functions

void controller_init (int cpu_hz, int hsb_hz, int pba_hz, int pbb_hz)
 
bool controller_key_back (void)
 
bool controller_key_fct1 (void)
 
bool controller_key_fct1_pressed (void)
 
bool controller_key_fct2 (void)
 
bool controller_key_fct2_pressed (void)
 
bool controller_key_fct3 (void)
 
bool controller_key_fct3_pressed (void)
 
bool controller_key_pressed (void)
 
bool controller_key_released (void)
 
bool controller_key_reset (void)
 
void controller_reset (void)
 
void controller_task (void)
 
bool controller_wheel_left (int wheel_inc)
 
bool controller_wheel_pressed (void)
 
bool controller_wheel_right (int wheel_inc)
 

#define CONTROLLER_LONG_PRESS_TIME_MS   3000

bool controller_key_fct1 ( void  )

References is_joystick_released_up().

Referenced by state_machine_task().

bool controller_key_fct1_pressed ( void  )
bool controller_key_fct2 ( void  )
bool controller_key_fct2_pressed ( void  )
bool controller_key_fct3 ( void  )
bool controller_key_fct3_pressed ( void  )

References IS_JOYSTICK_KEY_DOWN.

Referenced by state_machine_task().

bool controller_key_reset ( void  )

Referenced by state_machine_task().

void controller_reset ( void  )
void controller_task ( void  )

Referenced by main().

bool controller_wheel_left ( int  wheel_inc)
bool controller_wheel_pressed ( void  )
bool controller_wheel_right ( int  wheel_inc)