2015-06-14 20:56:56 +00:00
|
|
|
/* Copyright (C) 2014-2015 by Jacob Alexander
|
2014-04-06 18:49:27 +00:00
|
|
|
*
|
2014-08-01 08:26:25 +00:00
|
|
|
* 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.
|
2014-04-06 18:49:27 +00:00
|
|
|
*
|
2014-08-01 08:26:25 +00:00
|
|
|
* 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.
|
2014-04-06 18:49:27 +00:00
|
|
|
*
|
2014-08-01 08:26:25 +00:00
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this file. If not, see <http://www.gnu.org/licenses/>.
|
2011-10-16 08:18:08 +00:00
|
|
|
*/
|
|
|
|
|
2015-06-14 20:56:56 +00:00
|
|
|
#pragma once
|
2014-04-06 18:49:27 +00:00
|
|
|
|
|
|
|
// ----- Includes -----
|
|
|
|
|
|
|
|
// Compiler Includes
|
|
|
|
#include <stdint.h>
|
2011-10-16 08:18:08 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
2014-04-06 18:49:27 +00:00
|
|
|
// ----- Functions -----
|
2011-10-16 08:18:08 +00:00
|
|
|
|
2014-06-23 03:45:56 +00:00
|
|
|
void Macro_analogState( uint8_t scanCode, uint8_t state );
|
2015-03-15 23:58:01 +00:00
|
|
|
void Macro_keyState( uint8_t scanCode, uint8_t state );
|
2014-06-23 03:45:56 +00:00
|
|
|
void Macro_ledState( uint8_t ledCode, uint8_t state );
|
2016-07-06 16:00:57 +00:00
|
|
|
void Macro_pressReleaseAdd( void *trigger ); // triggers is of type TriggerGuide, void* for circular dependencies
|
2014-04-06 18:49:27 +00:00
|
|
|
void Macro_process();
|
|
|
|
void Macro_setup();
|
2011-10-16 08:18:08 +00:00
|
|
|
|