X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Scan%2FDPH%2Fscan_loop.h;h=83a9a1b48c9199e4fc2e50da3ae10bd1b9925418;hb=5f262ea4b68a07e9b94ce0a49c0f7196e5f32b3b;hp=bfad6ebd1ad18ad06a03c96fc10d1a2d3ccf9f38;hpb=15ec4ff71c1f92ce2e20302195a91e0c8390ad8a;p=kiibohd-controller.git diff --git a/Scan/DPH/scan_loop.h b/Scan/DPH/scan_loop.h index bfad6eb..83a9a1b 100644 --- a/Scan/DPH/scan_loop.h +++ b/Scan/DPH/scan_loop.h @@ -1,5 +1,5 @@ -/* Copyright (C) 2013 by Jacob Alexander - * +/* Copyright (C) 2013-2015 by Jacob Alexander + * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either @@ -14,8 +14,7 @@ * License along with this library. If not, see . */ -#ifndef __SCAN_LOOP_H -#define __SCAN_LOOP_H +#pragma once // ----- Includes ----- @@ -46,19 +45,13 @@ extern volatile uint8_t KeyIndex_BufferUsed; // ----- Functions ----- // Functions used by main.c -void scan_setup( void ); -uint8_t scan_loop( void ); +void Scan_setup(); +uint8_t Scan_loop(); // Functions available to macro.c -uint8_t scan_sendData( uint8_t dataPayload ); - -void scan_finishedWithBuffer( uint8_t sentKeys ); -void scan_finishedWithUSBBuffer( uint8_t sentKeys ); -void scan_lockKeyboard( void ); -void scan_unlockKeyboard( void ); -void scan_resetKeyboard( void ); - +uint8_t Scan_sendData( uint8_t dataPayload ); -#endif // __SCAN_LOOP_H +void Scan_finishedWithMacro( uint8_t sentKeys ); +void Scan_finishedWithOutput( uint8_t sentKeys );