X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Macro%2Fbasic%2Fmacro.h;h=41358d6e31438d3911e07a3de516b8993c6802b6;hb=5f262ea4b68a07e9b94ce0a49c0f7196e5f32b3b;hp=abfbda4c79ccb471ba12cce96aeb54b9c5705d5c;hpb=c01efa2d532377d3a13c3a0f76372a5c2994d9c5;p=kiibohd-controller.git diff --git a/Macro/basic/macro.h b/Macro/basic/macro.h index abfbda4..41358d6 100644 --- a/Macro/basic/macro.h +++ b/Macro/basic/macro.h @@ -1,15 +1,15 @@ -/* Copyright (C) 2011 by Jacob Alexander - * +/* Copyright (C) 2011,2015 by Jacob Alexander + * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * copies of the Software, and to permit persons to whom the Software is * furnished to do so, subject to the following conditions: - * + * * The above copyright notice and this permission notice shall be included in * all copies or substantial portions of the Software. - * + * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE @@ -19,8 +19,7 @@ * THE SOFTWARE. */ -#ifndef __macro_h -#define __macro_h +#pragma once // ----- Includes ----- @@ -31,8 +30,6 @@ // ----- Functions ----- -void keyPressDetection( uint8_t *keys, uint8_t *validKeys, uint8_t numberOfKeys, uint8_t *modifiers, uint8_t numberOfModifiers, uint8_t *map ); +void keyPressDetection( uint8_t *keys, uint8_t numberOfKeys, uint8_t *modifiers, uint8_t numberOfModifiers, uint8_t *map ); void process_macros(void); -#endif -