-
Notifications
You must be signed in to change notification settings - Fork 24
Expand file tree
/
Copy pathzyncontrol_none.c
More file actions
56 lines (46 loc) · 1.62 KB
/
zyncontrol_none.c
File metadata and controls
56 lines (46 loc) · 1.62 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
/*
* ******************************************************************
* ZYNTHIAN PROJECT: Null zyncontrol Library (touch only)
*
* Do nothing!
*
* Copyright (C) 2015-2025 Fernando Moyano <jofemodo@zynthian.org>
*
* ******************************************************************
*
* This program 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 2 of
* the License, or any later version.
*
* This program 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.
*
* For a full copy of the GNU General Public License see the LICENSE.txt file.
*
* ******************************************************************
*/
//-----------------------------------------------------------------------------
// Wrap functions to inform the GUI about not having zynpots nor zynswitches
//-----------------------------------------------------------------------------
int get_num_zynswitches() {
return 28;
}
int get_last_zynswitch_index() {
return -1;
}
int get_num_zynpots() {
return 0;
}
//-----------------------------------------------------------------------------
// Zyncontrol Initialization
//-----------------------------------------------------------------------------
int init_zyncontrol() {
return 1;
}
int end_zyncontrol() {
return 1;
}
//-----------------------------------------------------------------------------