mirror of
https://github.com/xmrig/xmrig.git
synced 2026-04-18 13:22:43 -04:00
Added pause-on-active option
Windows only for now. When set to true, pauses mining when user touches mouse or keyboard.
This commit is contained in:
@@ -158,3 +158,10 @@ bool xmrig::Platform::isOnBatteryPower()
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
bool xmrig::Platform::isUserActive()
|
||||
{
|
||||
// TODO
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user