mirror of
https://github.com/jkocon/g-helper.git
synced 2026-02-23 13:00:52 +01:00
Added option to disable tablet mode switch in config
This commit is contained in:
@@ -342,6 +342,7 @@ namespace GHelper.Input
|
||||
|
||||
public static void TabletMode()
|
||||
{
|
||||
if (AppConfig.Is("disable_tablet")) return;
|
||||
|
||||
bool touchpadState = GetTouchpadState();
|
||||
bool tabletState = Program.acpi.DeviceGet(AsusACPI.TabletState) > 0;
|
||||
|
||||
Reference in New Issue
Block a user