Subversion Repositories Code-Repo

Rev

Rev 238 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 238 Rev 240
Line 22... Line 22...
22
    uint8_t ctrl_2_buttons_prev;
22
    uint8_t ctrl_2_buttons_prev;
23
    uint8_t ctrl_2_leds;
23
    uint8_t ctrl_2_leds;
24
    uint8_t ctrl_2_active;
24
    uint8_t ctrl_2_active;
25
} CONTROLLER_DATA;
25
} CONTROLLER_DATA;
26
 
26
 
27
void Controller_Init(CONTROLLER_DATA *data, BOARD_STATE *state,
27
void Controller_Init(CONTROLLER_DATA *data, 
28
        void (*btn_change_callback)(uint8_t, uint8_t));
28
        void (*btn_change_callback)(uint8_t, uint8_t));
29
void Controller_Update(void);
29
void Controller_Update(void);
30
void Controller_Set_Leds(uint8_t ctrl_1, uint8_t ctrl_2);
30
void Controller_Set_Leds(uint8_t ctrl_1, uint8_t ctrl_2);
31
void Controller_Btn_Change(void (*callback)(uint8_t, uint8_t));
31
void Controller_Btn_Change(void (*callback)(uint8_t, uint8_t));
-
 
32
uint8_t Controller_Query(void);
32
 
33
 
33
#endif	/* CONTROLLERS_H */
34
#endif	/* CONTROLLERS_H */
34
 
35