-
Notifications
You must be signed in to change notification settings - Fork 4
/
phukdlib_leonardo.h
28 lines (27 loc) · 1.01 KB
/
phukdlib_leonardo.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#ifndef Phukd_h
#define Phukd_h
#include "Arduino.h"
#include "Keyboard.h"
extern void CommandAtRunBarMSWIN(char *SomeCommand); //Opens the run bar and executes the command.
extern void RunProgramAdminMSWIN(char *SomeCommand); //Run the program with admin privileges.
extern void MinimizeWindowMSWIN(); //Minimize all windows.
extern void CommandOpenSearchMSWIN(); //Open the search command.
extern void BlockSessionMSWIN(); //Block active sessions.
extern void CloseProgramsMSWIN(); //Close active program.
extern void CommandAtRunBarGnome(char *SomeCommand);
extern void CommandAtRunBarOSX(char *SomeCommand);
extern void CommandAtNewTerminal(char *SomeCommand);
extern void ShrinkCurWinOSX();
extern void ShrinkCurWin();
extern void ShrinkCurWinMSWIN();
extern void ShrinkCurWinGnome();
extern void PressAndRelease(int KeyCode,int KeyCount);
extern void ShowDiag();
/*
extern volatile uint8_t keyboard_leds;
extern int ledkeys();
extern boolean IsNumbOn(void);
extern boolean IsCapsOn(void);
extern boolean IsScrlOn(void);
*/
#endif