projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
CI: Build on Arch (bleeding-ege) and Ubuntu (stable) AVR-GCC toolchains.
[pub/USBasp.git]
/
BuildTests
/
BoardDriverTest
/
Board
/
Joystick.h
diff --git
a/BuildTests/BoardDriverTest/Board/Joystick.h
b/BuildTests/BoardDriverTest/Board/Joystick.h
index
4d71352
..
cc07e2c
100644
(file)
--- a/
BuildTests/BoardDriverTest/Board/Joystick.h
+++ b/
BuildTests/BoardDriverTest/Board/Joystick.h
@@
-1,13
+1,13
@@
/*
LUFA Library
/*
LUFA Library
- Copyright (C) Dean Camera, 201
3
.
+ Copyright (C) Dean Camera, 201
8
.
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
*/
/*
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
*/
/*
- Copyright 201
3
Dean Camera (dean [at] fourwalledcubicle [dot] com)
+ Copyright 201
8
Dean Camera (dean [at] fourwalledcubicle [dot] com)
Permission to use, copy, modify, distribute, and sell this
software and its documentation for any purpose is hereby granted
Permission to use, copy, modify, distribute, and sell this
software and its documentation for any purpose is hereby granted
@@
-57,33
+57,35
@@
#error Do not include this file directly. Include LUFA/Drivers/Board/Joystick.h instead.
#endif
#error Do not include this file directly. Include LUFA/Drivers/Board/Joystick.h instead.
#endif
+ #define BOARD_DUMMY_JOYSTICK_IMPLEMENTATION
+
/* Public Interface - May be used in end-application: */
/* Macros: */
/** Mask for the joystick being pushed in the left direction. */
/* Public Interface - May be used in end-application: */
/* Macros: */
/** Mask for the joystick being pushed in the left direction. */
- #define JOY_LEFT
// TODO: Add mask to indicate joystick left position here
+ #define JOY_LEFT
0
/** Mask for the joystick being pushed in the right direction. */
/** Mask for the joystick being pushed in the right direction. */
- #define JOY_RIGHT
// TODO: Add mask to indicate joystick right position here
+ #define JOY_RIGHT
0
/** Mask for the joystick being pushed in the upward direction. */
/** Mask for the joystick being pushed in the upward direction. */
- #define JOY_UP
// TODO: Add mask to indicate joystick up position here
+ #define JOY_UP
0
/** Mask for the joystick being pushed in the downward direction. */
/** Mask for the joystick being pushed in the downward direction. */
- #define JOY_DOWN
// TODO: Add mask to indicate joystick down position here
+ #define JOY_DOWN
0
/** Mask for the joystick being pushed inward. */
/** Mask for the joystick being pushed inward. */
- #define JOY_PRESS
// TODO: Add mask to indicate joystick pressed position here
+ #define JOY_PRESS
0
/* Inline Functions: */
#if !defined(__DOXYGEN__)
static inline void Joystick_Init(void)
{
/* Inline Functions: */
#if !defined(__DOXYGEN__)
static inline void Joystick_Init(void)
{
-
+
}
static inline void Joystick_Disable(void)
{
}
static inline void Joystick_Disable(void)
{
-
+
}
static inline uint8_t Joystick_GetStatus(void) ATTR_WARN_UNUSED_RESULT;
}
static inline uint8_t Joystick_GetStatus(void) ATTR_WARN_UNUSED_RESULT;