Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
Cam authored Mar 18, 2023
1 parent 35725f5 commit 84c5b13
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/nagaX11.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -517,7 +517,7 @@ int main(const int argc, const char *const argv[])
{
stopD();
clog << "Starting naga daemon in hidden mode, keep the window for the logs..." << endl;
usleep(40000);
usleep(70000);
(void)!(system("/usr/local/bin/Naga_Linux/nagaXinputStart.sh"));

if (argc > 2)
Expand All @@ -534,7 +534,7 @@ int main(const int argc, const char *const argv[])
stopD();
clog << "Fixing dead keypad syndrome... STUTTER!!" << endl;
(void)!(system("pkexec --user root bash -c \"modprobe -r usbhid && modprobe -r psmouse && modprobe usbhid && modprobe psmouse\""));
usleep(50000);
usleep(70000);

if (argc > 2)
(void)!(system(("naga start " + string(argv[2])).c_str()));
Expand Down

0 comments on commit 84c5b13

Please sign in to comment.