mirror of https://github.com/MLXXXp/Arduboy2.git
Combine function __attribute__ statments
Also delete getInput keyword and add buttonsState keyword
This commit is contained in:
parent
7f8897cd20
commit
2d0a6317a3
|
@ -14,6 +14,7 @@ Arduboy KEYWORD1
|
||||||
|
|
||||||
allPixelsOn KEYWORD2
|
allPixelsOn KEYWORD2
|
||||||
blank KEYWORD2
|
blank KEYWORD2
|
||||||
|
buttonsState KEYWORD2
|
||||||
clear KEYWORD2
|
clear KEYWORD2
|
||||||
cpuLoad KEYWORD2
|
cpuLoad KEYWORD2
|
||||||
display KEYWORD2
|
display KEYWORD2
|
||||||
|
@ -38,7 +39,6 @@ fillTriangle KEYWORD2
|
||||||
flipVertical KEYWORD2
|
flipVertical KEYWORD2
|
||||||
flipHorizontal KEYWORD2
|
flipHorizontal KEYWORD2
|
||||||
getBuffer KEYWORD2
|
getBuffer KEYWORD2
|
||||||
getInput KEYWORD2
|
|
||||||
idle KEYWORD2
|
idle KEYWORD2
|
||||||
initRandomSeed KEYWORD2
|
initRandomSeed KEYWORD2
|
||||||
invert KEYWORD2
|
invert KEYWORD2
|
||||||
|
|
|
@ -69,7 +69,7 @@ public:
|
||||||
*/
|
*/
|
||||||
// void boot(); // defined in core.cpp
|
// void boot(); // defined in core.cpp
|
||||||
|
|
||||||
void start() __attribute__((deprecated)) __attribute__ ((warning("use begin() instead")));
|
void start() __attribute__((deprecated, warning("use begin() instead")));
|
||||||
|
|
||||||
/// Scrolls in the Arduboy logo
|
/// Scrolls in the Arduboy logo
|
||||||
void bootLogo();
|
void bootLogo();
|
||||||
|
@ -85,7 +85,7 @@ public:
|
||||||
|
|
||||||
/// Clears display.
|
/// Clears display.
|
||||||
void clear();
|
void clear();
|
||||||
void clearDisplay() __attribute__((deprecated)) __attribute__ ((warning("use clear() instead")));
|
void clearDisplay() __attribute__((deprecated, warning("use clear() instead")));
|
||||||
|
|
||||||
/// Copies the contents of the screen buffer to the screen.
|
/// Copies the contents of the screen buffer to the screen.
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -182,7 +182,7 @@ public:
|
||||||
* LEFT_BUTTON, A_BUTTON, UP_BUTTON, etc.
|
* LEFT_BUTTON, A_BUTTON, UP_BUTTON, etc.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
uint8_t static getInput(); __attribute__((deprecated)) __attribute__ ((warning("use buttonsState() instead")));
|
uint8_t static getInput() __attribute__((deprecated, warning("use buttonsState() instead")));
|
||||||
uint8_t static buttonsState();
|
uint8_t static buttonsState();
|
||||||
|
|
||||||
// paints 8 pixels (vertically) from a single byte
|
// paints 8 pixels (vertically) from a single byte
|
||||||
|
|
Loading…
Reference in New Issue