#ifndef SHOOTER_H
#define SHOOTER_H

/* shooter.h */
/* Shooter module public functions */

// Initialize gun ports (TIMER MUST BE INITIALIZED ELSEWHERE)
void initShooter(void);

// Functions check to see if triggers are pulled and gun is able to fire
unsigned char checkTrigger1(void);
unsigned char checkTrigger2(void);

// Check to see if gun needs to be turned off
unsigned char checkShooter1(void);
unsigned char checkShooter2(void);

// Fires gun
void fireShooter1(void);
void fireShooter2(void);

// Deactivates gun
void turnOffShooter1(void);
void turnOffShooter2(void);

// Returns if the gun is actively firing
unsigned char isFiring1(void);
unsigned char isFiring2(void);

// Turns on vibrate motor
void vibrate1(void); 
void vibrate2(void); 

// Check to see if vibrate motor needs to be turned off
unsigned char checkVibrate1(void);
unsigned char checkVibrate2(void);

// Turns off vibrate motor
void turnOffVibrate1(void);
void turnOffVibrate2(void);

// Deactivates the shooter module
void endShooter(void);
#endif /* SHOOTER_H*/