40 lines
1.2 KiB
C
40 lines
1.2 KiB
C
|
|
/*************************************************************************
|
||
|
|
* Copyright (C) 2019 by Justin Byers
|
||
|
|
*
|
||
|
|
* This file is part of clubdance_v2.
|
||
|
|
*
|
||
|
|
* clubdance_v2 is free software: you can redistribute it and/or modify
|
||
|
|
* it under the terms of the GNU General Public License as published by
|
||
|
|
* the Free Software Foundation, either version 3 of the License, or
|
||
|
|
* (at your option) any later version.
|
||
|
|
*
|
||
|
|
* clubdance_v2 is distributed in the hope that it will be useful,
|
||
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||
|
|
* GNU General Public License for more details.
|
||
|
|
*
|
||
|
|
* You should have received a copy of the GNU General Public License
|
||
|
|
* along with clubdance_v2. If not, see <https://www.gnu.org/licenses/>.
|
||
|
|
*************************************************************************/
|
||
|
|
/**
|
||
|
|
* @file dancepad.h
|
||
|
|
* @author Justin Byers
|
||
|
|
* @date 6 Aug 2019
|
||
|
|
* @brief Processes pad inputs and communicates with USB host.
|
||
|
|
*/
|
||
|
|
#ifndef DANCEPAD_H
|
||
|
|
#define DANCEPAD_H
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Initialize the driver.
|
||
|
|
*/
|
||
|
|
void DANCEPAD_Initialize();
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Perform any driver-related tasks. Must be called once every loop.
|
||
|
|
*/
|
||
|
|
void DANCEPAD_Tasks();
|
||
|
|
|
||
|
|
#endif /* DANCEPAD_H */
|
||
|
|
|