mirror of
https://gitlab.com/drummyfish/anarch.git
synced 2024-12-21 23:08:49 -05:00
Update build script
This commit is contained in:
parent
b3decffc39
commit
362a05c08b
2
game.h
2
game.h
@ -67,7 +67,7 @@
|
||||
#endif
|
||||
|
||||
#ifndef SFG_CPU_LOAD
|
||||
#define SFG_CPU_LOAD(percent) ; ///< Can be redefined to check CPU load in %.
|
||||
#define SFG_CPU_LOAD(percent) {} ///< Can be redefined to check CPU load in %.
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
@ -5,6 +5,8 @@
|
||||
priviledges (sudo) to work! This frontend is more of an experiment, don't
|
||||
expect it to work perfectly and everywhere.
|
||||
|
||||
Needs to be run with sudo.
|
||||
|
||||
by Miloslav Ciz (drummyfish), 2019
|
||||
|
||||
Released under CC0 1.0 (https://creativecommons.org/publicdomain/zero/1.0/)
|
||||
@ -138,7 +140,8 @@ int main()
|
||||
|
||||
timeStart = getTime();
|
||||
|
||||
devFile = open("/dev/input/event0", O_RDONLY);
|
||||
devFile = open("/dev/input/event0",O_RDONLY);
|
||||
// ^ replace with your specific keyboard file
|
||||
|
||||
fcntl(devFile, F_SETFL, O_NONBLOCK);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user