-
Notifications
You must be signed in to change notification settings - Fork 270
Expand file tree
/
Copy pathmacro.h
More file actions
48 lines (35 loc) · 1.52 KB
/
Copy pathmacro.h
File metadata and controls
48 lines (35 loc) · 1.52 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
/* Copyright (C) 2014-2018 by Jacob Alexander
*
* This file 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 3 of the License, or
* (at your option) any later version.
*
* This file 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.
*
* You should have received a copy of the GNU General Public License
* along with this file. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
// ----- Includes -----
// Project Includes
#include <Lib/time.h>
// Compiler Includes
#include <stdint.h>
// ----- Functions -----
void Macro_analogState( uint16_t scanCode, uint8_t state );
void Macro_animationState( uint16_t animationIndex, uint8_t state );
void Macro_keyState( uint16_t scanCode, uint8_t state );
void Macro_layerState( uint16_t layerIndex, uint8_t state );
void Macro_ledState( uint16_t ledCode, uint8_t state );
void Macro_timeState( uint8_t type, uint16_t cur_time, uint8_t state );
void Macro_rotationState( uint8_t index, int8_t increment );
uint8_t Macro_tick_update( TickStore *store, uint8_t type );
void Macro_periodic();
void Screensaver_periodic();
void Macro_poll();
void Macro_setup();
uint8_t Macro_pressReleaseAdd( void *trigger ); // triggers is of type TriggerGuide, void* for circular dependencies