|
/*******************************************************************************
|
|
Copyright 2016 Microchip Technology Inc. (www.microchip.com)
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
|
|
To request to license the code under the MLA license (www.microchip.com/mla_license),
|
|
please contact mla_licensing@microchip.com
|
|
*******************************************************************************/
|
|
|
|
/*********************************************************************
|
|
* Function: void APP_DeviceJoystickInitialize(void);
|
|
*
|
|
* Overview: Initializes the demo code
|
|
*
|
|
* PreCondition: None
|
|
*
|
|
* Input: None
|
|
*
|
|
* Output: None
|
|
*
|
|
********************************************************************/
|
|
void APP_DeviceJoystickInitialize(void);
|
|
|
|
/*********************************************************************
|
|
* Function: void APP_DeviceJoystickStart(void);
|
|
*
|
|
* Overview: Starts running the demo.
|
|
*
|
|
* PreCondition: The device should be configured into the configuration
|
|
* that contains the custome HID interface. The APP_DeviceJoystickInitialize()
|
|
* function should also have been called before calling this function.
|
|
*
|
|
* Input: None
|
|
*
|
|
* Output: None
|
|
*
|
|
********************************************************************/
|
|
void APP_DeviceJoystickStart(void);
|
|
|
|
/*********************************************************************
|
|
* Function: void APP_DeviceJoystickTasks(void);
|
|
*
|
|
* Overview: Keeps the demo running.
|
|
*
|
|
* PreCondition: The demo should have been initialized and started via
|
|
* the APP_DeviceJoystickInitialize() and APP_DeviceJoystickStart() demos
|
|
* respectively.
|
|
*
|
|
* Input: None
|
|
*
|
|
* Output: None
|
|
*
|
|
********************************************************************/
|
|
void APP_DeviceJoystickTasks(void);
|