-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.c
33 lines (24 loc) · 907 Bytes
/
main.c
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
29
30
31
32
33
#include "src/main.c"
#include "stdio.h"
int main(int argc, char **argv) {
// printf("Windows Version: %d\n", GetWindowsVersion());
// printf("Memory Usage: %d%%", memoryUsePercentage());
// int freeMem = freeDiskMemory(GTQ_MEM_MB, L"C:\\");
// printf("Free Memory: %dmb", freeMem);
// int freeMem = freeDiskMemory(GTQ_MEM_GB, L"C:\\");
// printf("Free Memory: %dgb", freeMem);
// int freeMem = totalDiskMemory(GTQ_MEM_GB, L"C:\\");
// printf("Total Memory: %dgb", freeMem);
// int freeMem = occupiedDiskMemory(GTQ_MEM_GB, L"C:\\");
// printf("Total Memory: %dgb", freeMem);
// printf("Cpu speed: %luMHz", getCpuSpeed());
// playSound("sample.wav");
while (1) {
int i = keyGet(KEY_F1);
if (i == KEY_CLICKED) {
printf("F1 is pressed\n");
} else {
printf("F1 is not pressed\n");
}
}
}