Deluge Firmware
Loading...
Searching...
No Matches
matrixdriver.h
Go to the documentation of this file.
1/*
2 * Copyright © 2014-2023 Synthstrom Audible Limited
3 *
4 * This file is part of The Synthstrom Audible Deluge Firmware.
5 *
6 * The Synthstrom Audible Deluge Firmware is free software: you can redistribute it and/or modify it under the
7 * terms of the GNU General Public License as published by the Free Software Foundation,
8 * either version 3 of the License, or (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
11 * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
12 * See the GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License along with this program.
15 * If not, see <https://www.gnu.org/licenses/>.
16*/
17
18#ifndef DISPLAYMANAGER_H
19#define DISPLAYMANAGER_H
20
21#include "definitions.h"
22#include "r_typedefs.h"
23#include "WaveformRenderData.h"
24
25
26class AudioClip;
27
29{
30public:
32
33 bool isPadPressed(int x, int y);
34
35 int padAction(int x, int y, int velocity);
36 void noPressesHappening(bool inCardRoutine);
38
40
41};
42
44
45
47#endif // DISPLAYMANAGER_H
Definition: AudioClip.h:32
Definition: matrixdriver.h:29
bool isUserDoingBootloaderOverwriteAction()
Definition: matrixdriver.cpp:93
void noPressesHappening(bool inCardRoutine)
Definition: matrixdriver.cpp:64
bool isPadPressed(int x, int y)
Definition: matrixdriver.cpp:87
MatrixDriver()
Definition: matrixdriver.cpp:51
int padAction(int x, int y, int velocity)
Definition: matrixdriver.cpp:78
bool padStates[displayWidth+sideBarWidth][displayHeight]
Definition: matrixdriver.h:39
#define displayWidth
Definition: definitions.h:176
#define displayHeight
Definition: definitions.h:174
#define sideBarWidth
Definition: definitions.h:222
char * matrixDriverDisplayWritePos
MatrixDriver matrixDriver
Definition: matrixdriver.cpp:48