]> git.donarmstrong.com Git - kiibohd-controller.git/blobdiff - Scan/MD1/scan_loop.h
Adding dynamic USB power support
[kiibohd-controller.git] / Scan / MD1 / scan_loop.h
index 73508bbef4dd8bd8598c1c6f0007f7de3ca21a26..339ede543d887c251ce28bf71d36a9b3df84e218 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 2014 by Jacob Alexander
+/* Copyright (C) 2014-2016 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
  * THE SOFTWARE.
  */
 
-#ifndef __SCAN_LOOP_H
-#define __SCAN_LOOP_H
+#pragma once
 
 // ----- Includes -----
 
 // Compiler Includes
 #include <stdint.h>
 
-// Local Includes
-
-
-
-// ----- Defines -----
-
-
-
-// ----- Variables -----
-
 
 
 // ----- Functions -----
@@ -49,6 +38,13 @@ uint8_t Scan_loop( void );
 void Scan_finishedWithMacro( uint8_t sentKeys );  // Called by Macro Module
 void Scan_finishedWithOutput( uint8_t sentKeys ); // Called by Output Module
 
+void Scan_currentChange( unsigned int current ); // Called by Output Module
+
+
+// ----- Capabilities -----
 
-#endif // __SCAN_LOOP_H
+// Example capabilities
+void CustomAction_action1_capability( uint8_t state, uint8_t stateType, uint8_t *args );
+void CustomAction_blockHold_capability( uint8_t state, uint8_t stateType, uint8_t *args );
+void CustomAction_blockKey_capability( uint8_t state, uint8_t stateType, uint8_t *args );