X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Macro%2FPartialMap%2Fmacro.h;h=2df411e1c1914141baeaee84db67cac2a9fc45a1;hb=d7fabf97e9f3c0768bc52942006a690dc594f730;hp=1d4717f24b23fde69adb464597f35b6f7bfef6dd;hpb=622ea5d85f94be4b1694fdf08e30fa76eeb18fe4;p=kiibohd-controller.git diff --git a/Macro/PartialMap/macro.h b/Macro/PartialMap/macro.h index 1d4717f..2df411e 100644 --- a/Macro/PartialMap/macro.h +++ b/Macro/PartialMap/macro.h @@ -1,4 +1,4 @@ -/* Copyright (C) 2014 by Jacob Alexander +/* Copyright (C) 2014-2015 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 @@ -14,8 +14,7 @@ * along with this file. If not, see . */ -#ifndef __macro_h -#define __macro_h +#pragma once // ----- Includes ----- @@ -24,23 +23,12 @@ -// ----- Capabilities ----- - -void Macro_layerState_capability( uint8_t state, uint8_t stateType, uint8_t *args ); -void Macro_layerLatch_capability( uint8_t state, uint8_t stateType, uint8_t *args ); -void Macro_layerLock_capability( uint8_t state, uint8_t stateType, uint8_t *args ); -void Macro_layerShift_capability( uint8_t state, uint8_t stateType, uint8_t *args ); - - - // ----- Functions ----- void Macro_analogState( uint8_t scanCode, uint8_t state ); void Macro_keyState( uint8_t scanCode, uint8_t state ); void Macro_ledState( uint8_t ledCode, uint8_t state ); -void Macro_triggerState( void *triggers, uint8_t num ); // triggers is of type TriggerGuide, void* for circular dependencies +void Macro_interconnectAdd( void *trigger ); // triggers is of type TriggerGuide, void* for circular dependencies void Macro_process(); void Macro_setup(); -#endif -