Compare commits

..

235 Commits

Author SHA1 Message Date
Serge
9bcc0fccd7 Update README.md 2023-08-24 18:09:20 +02:00
Serge
d8df9b03bf Merge branch 'main' of https://github.com/seerge/g-helper 2023-08-24 15:07:54 +02:00
Serge
abfa2388e4 Cleanup 2023-08-24 15:07:52 +02:00
Serge
670f91efa8 Merge pull request #1170 from Oleg52/force-set-gpu-mode
add force set gpu param
2023-08-24 15:03:15 +02:00
Serge
70d442c409 Merge pull request #1171 from seerge/l10n_main
New Crowdin updates
2023-08-24 15:00:39 +02:00
Serge
5f018fa7b5 New translations Strings.resx (Portuguese) 2023-08-24 14:45:40 +02:00
Oleg Yermolenko
94f0b900de add force set gpu param 2023-08-24 14:06:52 +03:00
Serge
e17ff8fc94 Version Bump 2023-08-24 12:37:18 +02:00
Serge
bd4ee506ac Vivo Mode swap https://github.com/seerge/g-helper/issues/1168 2023-08-24 12:03:44 +02:00
Serge
8c5b224dc2 Vivobook modes swap https://github.com/seerge/g-helper/issues/1168 2023-08-24 12:01:26 +02:00
Serge
f111b5449e Merge branch 'main' of https://github.com/seerge/g-helper 2023-08-24 11:54:11 +02:00
Serge
47f86d222f Minior tweaks 2023-08-24 11:54:09 +02:00
Serge
f9b7073dd7 Merge pull request #1166 from seerge/l10n_main
New Crowdin updates
2023-08-23 19:11:30 +02:00
Serge
a6c11f2ce3 New translations Strings.resx (Portuguese) 2023-08-23 14:01:14 +02:00
Serge
46fad77bac Update README.md 2023-08-23 12:31:14 +02:00
Serge
22a96fcce0 Update README.md 2023-08-23 12:29:37 +02:00
Serge
6df0dc8e9e Merge pull request #1155 from seerge/l10n_main
New Crowdin updates
2023-08-22 18:46:43 +02:00
Serge
ee7c0c6dab New translations Strings.resx (Portuguese) 2023-08-22 15:16:03 +02:00
Serge
6e086da024 New translations Strings.resx (Portuguese) 2023-08-22 14:12:34 +02:00
Serge
292d2a8ebc New translations Strings.resx (Portuguese) 2023-08-22 12:50:32 +02:00
Serge
52e78a8665 Merge pull request #1150 from seerge/l10n_main
New Crowdin updates
2023-08-22 10:49:58 +02:00
Serge
a97bfc2a58 Version bump 2023-08-22 10:39:34 +02:00
Serge
15001d987a Fix Default Curve 2023-08-22 10:37:31 +02:00
Serge
ecbeee82d8 Merge pull request #1153 from charlespeng/fix-default-fan-curve-buffer-size
Fix default fan curve buffer size
2023-08-22 10:28:04 +02:00
Charles Peng
e6c59283c1 Fix default fan curve buffer size 2023-08-22 15:08:30 +08:00
Serge
495b695589 New translations Strings.resx (Polish) 2023-08-22 01:31:34 +02:00
Serge
6ac7d7cc4d New translations Strings.resx (Portuguese) 2023-08-21 23:56:19 +02:00
Serge
0c328b1fda Update README.md 2023-08-21 18:35:01 +02:00
Serge
bd8a670424 Merge pull request #1146 from charlespeng/save-backlight-level-according-to-power-status
Save backlight level according to power status
2023-08-21 12:13:36 +02:00
Charles Peng
5f1139f132 Save backlight level according to power status 2023-08-21 16:04:05 +08:00
Serge
188b01c158 Merge pull request #1142 from seerge/l10n_main
New Crowdin updates
2023-08-21 00:59:32 +02:00
Serge
8307fabe15 New translations Strings.resx (Portuguese) 2023-08-20 19:25:59 +02:00
Serge
cead02eed2 Merge pull request #1141 from seerge/l10n_main
New Crowdin updates
2023-08-20 17:26:42 +02:00
Serge
fabf63655b New translations Strings.resx (Portuguese, Brazilian) 2023-08-20 17:26:04 +02:00
Serge
da2f887c68 New translations Strings.resx (Portuguese, Brazilian) 2023-08-20 17:24:25 +02:00
Serge
26dbd77b05 PT-BR 2023-08-20 17:24:02 +02:00
Serge
63382b748f Merge pull request #1140 from seerge/l10n_main
New Crowdin updates
2023-08-20 17:21:53 +02:00
Serge
1e2a5b0479 New translations Strings.resx (Portuguese, Brazilian) 2023-08-20 17:21:18 +02:00
Serge
341e747f7e New translations Strings.resx (Portuguese) 2023-08-20 17:21:15 +02:00
Serge
348f5a8ea1 Merge pull request #1139 from seerge/l10n_main
New Crowdin updates
2023-08-20 17:17:03 +02:00
Serge
c0b6c444b4 New translations Strings.resx (Portuguese, Brazilian) 2023-08-20 17:16:34 +02:00
Serge
f8d07bad1b New translations Strings.resx (Portuguese) 2023-08-20 17:16:30 +02:00
Serge
a138ebe0e7 New translations Strings.resx (French) 2023-08-20 16:42:09 +02:00
Serge
2260b01480 Merge pull request #1137 from IceStormNG/asus-mouse-support
Support for ROG Harpe Ace Aim Lab Edition (P713).
2023-08-20 15:13:25 +02:00
IceStormNG
9761f10398 Support for Harpe Ace Aim Lab Edition (P713). 2023-08-20 15:08:11 +02:00
Serge
984cb2f53e GPU detection https://github.com/seerge/g-helper/issues/1112 2023-08-19 12:51:33 +02:00
Serge
7c80a02cef Merge branch 'main' of https://github.com/seerge/g-helper 2023-08-19 12:40:32 +02:00
Serge
f545d48179 GPU detection https://github.com/seerge/g-helper/issues/1114
Resetting custom fan curve on XGM on disconnect https://github.com/seerge/g-helper/issues/1123
2023-08-19 12:40:30 +02:00
Serge
07df99aaae Merge pull request #1126 from seerge/l10n_main
New Crowdin updates
2023-08-19 10:31:34 +02:00
Serge
6f60e1af1f Merge pull request #1129 from IceStormNG/main
Added windows based dark mode detection via config override
2023-08-19 10:14:45 +02:00
Serge
e0080ca879 New translations Strings.resx (Italian) 2023-08-19 09:33:58 +02:00
IceStormNG
eaf2483558 Added windows based dark mode detection via config override 2023-08-19 09:06:54 +02:00
Serge
8cac276925 New translations Strings.resx (Vietnamese) 2023-08-19 05:38:10 +02:00
Serge
499c83e3b0 New translations Strings.resx (Vietnamese) 2023-08-19 04:07:58 +02:00
Serge
ba0764aa85 New translations Strings.resx (Spanish) 2023-08-18 20:11:36 +02:00
Serge
53c1ee4c71 New translations Strings.resx (Lithuanian) 2023-08-18 18:51:34 +02:00
Serge
fe1891a2a9 New translations Strings.resx (German) 2023-08-18 18:51:33 +02:00
Serge
0ffb9f11d4 Merge pull request #1122 from seerge/l10n_main
New Crowdin updates
2023-08-18 18:49:52 +02:00
Serge
307cc81f18 Merge pull request #1125 from IceStormNG/main
Dark/Light Mode override
2023-08-18 18:48:44 +02:00
IceStormNG
2384649e09 Better handling for null values. 2023-08-18 18:37:58 +02:00
IceStormNG
4952675749 Light/Dark mode override 2023-08-18 18:36:34 +02:00
Serge
e2596ed9cb Merge branch 'main' of https://github.com/seerge/g-helper 2023-08-18 18:15:14 +02:00
Serge
190786a15a Internal screen detection 2023-08-18 18:15:12 +02:00
Serge
9bcf3f36f8 New translations Strings.resx (Vietnamese) 2023-08-18 16:34:05 +02:00
Serge
26e1ae4d7b New translations Strings.resx (Chinese Traditional) 2023-08-18 16:34:04 +02:00
Serge
98af882970 New translations Strings.resx (Chinese Simplified) 2023-08-18 16:34:03 +02:00
Serge
5835e71947 New translations Strings.resx (Ukrainian) 2023-08-18 16:34:02 +02:00
Serge
f46580bd1b New translations Strings.resx (Turkish) 2023-08-18 16:34:01 +02:00
Serge
a282da6fd7 New translations Strings.resx (Portuguese) 2023-08-18 16:34:00 +02:00
Serge
1420d17413 New translations Strings.resx (Polish) 2023-08-18 16:33:59 +02:00
Serge
b7b6270565 New translations Strings.resx (Lithuanian) 2023-08-18 16:33:58 +02:00
Serge
49eb45749a New translations Strings.resx (Korean) 2023-08-18 16:33:57 +02:00
Serge
ec709f37e8 New translations Strings.resx (Italian) 2023-08-18 16:33:56 +02:00
Serge
615c58ac3c New translations Strings.resx (Hungarian) 2023-08-18 16:33:55 +02:00
Serge
20d698febd New translations Strings.resx (German) 2023-08-18 16:33:54 +02:00
Serge
3bb6bf3228 New translations Strings.resx (Spanish) 2023-08-18 16:33:53 +02:00
Serge
9674f034dd New translations Strings.resx (French) 2023-08-18 16:33:51 +02:00
Serge
f11ed679d9 New translations Strings.resx (Romanian) 2023-08-18 16:33:51 +02:00
Serge
2bb5087a63 Merge pull request #1120 from IceStormNG/asus-mouse-support
Internal improvements for mouse support
2023-08-18 15:20:11 +02:00
IceStormNG
e4aa5f0283 Cleanup of left-overs that shouldn't be there 2023-08-18 15:17:03 +02:00
IceStormNG
18b664a123 Default Profile is 0, so use that if decoding fails to have a sane fallback. 2023-08-18 15:09:12 +02:00
IceStormNG
1d03eb064a Allow subclasses to read whether packet logger is enabled or not 2023-08-18 15:08:40 +02:00
IceStormNG
0ad058ec4a Added feature to read and edit Acceleration and Deceleration values. It seems like only the Harpe Ace really does something with it even though all AimPoint Mice respond to it and store the value. 2023-08-18 15:08:08 +02:00
IceStormNG
18b54886ed Improved packet handling to deal better with empty packets and errors. 2023-08-18 15:05:55 +02:00
IceStormNG
f79a91fb78 Make reportId a constructor variable as some mice might not require 0x00 as most do. 2023-08-18 15:04:49 +02:00
Serge
584755ea93 Cleanup 2023-08-18 12:29:21 +02:00
Serge
3652e4d0ff 50W limit max for Ally 2023-08-18 12:16:19 +02:00
Serge
0069234563 Version bump 2023-08-18 01:23:02 +02:00
Serge
d92a1880ee Merge branch 'main' of https://github.com/seerge/g-helper 2023-08-17 20:28:51 +02:00
Serge
dd72e2b573 Screen detection fix 2023-08-17 20:28:48 +02:00
Serge
10714d1002 Update README.md 2023-08-17 19:58:22 +02:00
Serge
daad1bca53 Merge pull request #1109 from IceStormNG/asus-mouse-support
Support for ROG Keris Wireless Aimpoint (P709_Wireless)
2023-08-17 14:29:17 +02:00
IceStormNG
c82ec8a005 Adds ROG Keris Wireless Aimpoint (P709_Wireless) 2023-08-17 14:25:31 +02:00
IceStormNG
9fbea0a3d3 Fixes crash when DPI was not read yet. 2023-08-17 14:23:55 +02:00
Serge
ed06247206 Merge branch 'main' of https://github.com/seerge/g-helper 2023-08-17 10:52:10 +02:00
Serge
1e7bd816f2 Config overrides https://github.com/seerge/g-helper/issues/1105 2023-08-17 10:52:09 +02:00
Serge
592c4aa07a Update README.md 2023-08-16 14:57:06 +02:00
Serge
59f3aa9af4 Merge pull request #1096 from IceStormNG/main
AniMeMatrix fix for GU604
2023-08-15 23:52:43 +02:00
IceStormNG
8df825e250 AniMeMatrix fix for GU604 2023-08-15 23:27:14 +02:00
Serge
a985cc5bbb Darktheme fix https://github.com/seerge/g-helper/issues/1092
ACPI modes support for Vivobook https://github.com/seerge/g-helper/issues/1089
2023-08-15 13:59:07 +02:00
Serge
bd7985e817 Merge pull request #1093 from seerge/l10n_main
New Crowdin updates
2023-08-15 13:57:22 +02:00
Serge
8706f9f03c New translations Strings.resx (Ukrainian) 2023-08-15 12:53:23 +02:00
Serge
5c6a587745 App dark/light theme detection https://github.com/seerge/g-helper/issues/1092 2023-08-15 12:00:08 +02:00
Serge
de4905f84f Power mode saving https://github.com/seerge/g-helper/issues/1091 2023-08-15 11:21:20 +02:00
Serge
121a9224e9 Power mode saving 2023-08-15 11:19:10 +02:00
Serge
af9626e385 Version bump 2023-08-14 17:32:15 +02:00
Serge
6b3db926fc GPU Aura Mode 2023-08-14 17:19:22 +02:00
Serge
8f8be7a13e Single Color Modes 2023-08-14 16:55:25 +02:00
Serge
12450dbba4 Merge pull request #1084 from seerge/gpu_clock_limit
Gpu clock limit
2023-08-14 16:51:45 +02:00
Serge
4f6de3c6a3 GPU Mode Backlight 2023-08-14 16:48:16 +02:00
Serge
d89420e0f1 Merge pull request #1074 from seerge/l10n_main
New Crowdin updates
2023-08-14 12:06:32 +02:00
Serge
ddc13e0dec New translations Strings.resx (Korean) 2023-08-14 10:07:50 +02:00
Serge
61a3d782e8 New translations Strings.resx (Korean) 2023-08-14 08:37:33 +02:00
Serge
b1c8aa97c8 New translations Strings.resx (Korean) 2023-08-14 07:06:19 +02:00
Serge
3a50ee1784 New translations Strings.resx (Korean) 2023-08-14 05:31:39 +02:00
Serge
a69ce3592f New translations Strings.resx (Polish) 2023-08-13 18:48:23 +02:00
Serge
b49ae96dfe New translations Strings.resx (Polish) 2023-08-13 17:48:00 +02:00
Serge
4c989c9d75 Clock Limit tweaks 2023-08-13 15:48:54 +02:00
Serge
2282e56aad GPU Clock Limiting 2023-08-13 12:53:28 +02:00
Serge
982f2e8e32 Merge pull request #1069 from seerge/l10n_main
New Crowdin updates
2023-08-13 12:14:23 +02:00
Serge
e90f19e3e2 New translations Strings.resx (Chinese Simplified) 2023-08-13 05:08:45 +02:00
Serge
6d6a9c68f2 Merge pull request #1063 from seerge/l10n_main
New Crowdin updates
2023-08-12 17:49:57 +02:00
Serge
8138e44cdd New translations Strings.resx (Chinese Traditional) 2023-08-12 17:16:01 +02:00
Serge
ef788798b7 Version Bump 2023-08-12 16:27:51 +02:00
Serge
07d81e6072 Merge pull request #1062 from seerge/power_modes
Power Mode control
2023-08-12 16:23:24 +02:00
Serge
708e3aa40f Update README.md 2023-08-12 16:22:48 +02:00
Serge
3075e22e1e Power Mode control 2023-08-12 16:04:39 +02:00
Serge
b15109d13e Merge branch 'main' of https://github.com/seerge/g-helper 2023-08-11 22:37:17 +02:00
Serge
c491087a29 Set Balanced plan by default 2023-08-11 22:37:14 +02:00
Serge
cf08ae0789 Update README.md 2023-08-11 22:20:25 +02:00
Serge
624f15be65 Merge pull request #1053 from seerge/l10n_main
New Crowdin updates
2023-08-11 21:58:50 +02:00
Serge
4789d0d782 New translations Strings.resx (Spanish) 2023-08-11 17:36:43 +02:00
Serge
f8fd8a9695 New translations Strings.resx (Italian) 2023-08-11 17:36:42 +02:00
Serge
91cfb8d38c New translations Strings.resx (Lithuanian) 2023-08-11 17:36:41 +02:00
Serge
130d9b73fb Cleanup 2023-08-11 16:01:30 +02:00
Serge
604d24ebbe Merge branch 'main' of https://github.com/seerge/g-helper 2023-08-11 14:27:40 +02:00
Serge
8c3a74a991 FN-Lock Toggle 2023-08-11 14:27:38 +02:00
Serge
ed143a7bba Merge pull request #1048 from seerge/l10n_main
New Crowdin updates
2023-08-11 14:24:29 +02:00
Serge
ac5f1ec1b5 New translations Strings.resx (Vietnamese) 2023-08-11 13:04:07 +02:00
Serge
403db3057c New translations Strings.resx (Ukrainian) 2023-08-11 13:04:06 +02:00
Serge
4dac7b8e9d New translations Strings.resx (Turkish) 2023-08-11 13:04:06 +02:00
Serge
a856f87146 New translations Strings.resx (Portuguese) 2023-08-11 13:04:05 +02:00
Serge
d733101a26 New translations Strings.resx (Polish) 2023-08-11 13:04:04 +02:00
Serge
89741a5e8a New translations Strings.resx (Korean) 2023-08-11 13:04:03 +02:00
Serge
f00026b53a New translations Strings.resx (Hungarian) 2023-08-11 13:04:02 +02:00
Serge
5004358fe2 New translations Strings.resx (German) 2023-08-11 13:04:01 +02:00
Serge
97f6565024 New translations Strings.resx (Spanish) 2023-08-11 13:04:00 +02:00
Serge
f1a69ebad3 New translations Strings.resx (French) 2023-08-11 13:03:59 +02:00
Serge
bf6c3e636e New translations Strings.resx (Romanian) 2023-08-11 13:03:58 +02:00
Serge
a4e98a9fb1 New translations Strings.resx (Italian) 2023-08-11 13:03:57 +02:00
Serge
8b717f856a New translations Strings.resx (Lithuanian) 2023-08-11 13:03:56 +02:00
Serge
4d8f093a4b New translations Strings.resx (Chinese Traditional) 2023-08-11 13:03:55 +02:00
Serge
c699c82bbe New translations Strings.resx (Chinese Simplified) 2023-08-11 13:03:54 +02:00
Serge
5634d75672 Single Color 2023-08-11 12:58:20 +02:00
Serge
cf33b0cc52 Single Color detection 2023-08-11 12:51:03 +02:00
Serge
ddbaeb623b New translations Strings.resx (Lithuanian) 2023-08-11 07:47:01 +02:00
Serge
3efb2e0db9 Version Bump 2023-08-11 00:02:40 +02:00
Serge
8159aec53b New translations Strings.resx (Vietnamese) 2023-08-10 23:57:14 +02:00
Serge
564efb2f32 New translations Strings.resx (Ukrainian) 2023-08-10 23:57:14 +02:00
Serge
4dfcd6a5f9 New translations Strings.resx (Turkish) 2023-08-10 23:57:13 +02:00
Serge
0aa4d873d0 New translations Strings.resx (Portuguese) 2023-08-10 23:57:12 +02:00
Serge
911c01b6b2 New translations Strings.resx (Polish) 2023-08-10 23:57:11 +02:00
Serge
3a5e5fa227 New translations Strings.resx (Korean) 2023-08-10 23:57:10 +02:00
Serge
bf5786aca6 New translations Strings.resx (Hungarian) 2023-08-10 23:57:10 +02:00
Serge
ed065d00dc New translations Strings.resx (German) 2023-08-10 23:57:09 +02:00
Serge
6aa899d989 New translations Strings.resx (Spanish) 2023-08-10 23:57:08 +02:00
Serge
417d156300 New translations Strings.resx (French) 2023-08-10 23:57:07 +02:00
Serge
2471edd82f New translations Strings.resx (Romanian) 2023-08-10 23:57:06 +02:00
Serge
196eda7463 New translations Strings.resx (Italian) 2023-08-10 23:57:05 +02:00
Serge
1d63376c99 New translations Strings.resx (Lithuanian) 2023-08-10 23:57:05 +02:00
Serge
846b05b89e New translations Strings.resx (Chinese Traditional) 2023-08-10 23:57:04 +02:00
Serge
0f3b660824 New translations Strings.resx (Chinese Simplified) 2023-08-10 23:57:03 +02:00
Serge
14565cf8fa Merge branch 'main' of https://github.com/seerge/g-helper 2023-08-10 23:39:48 +02:00
Serge
3d5c0d5ade GPU tweaks 2023-08-10 23:39:45 +02:00
Serge
14e0adaca8 Merge pull request #1044 from seerge/l10n_main
New Crowdin updates
2023-08-10 22:46:36 +02:00
Serge
4365d3b4cb New translations Strings.resx (Italian) 2023-08-10 17:21:13 +02:00
Serge
62ca72e684 New translations Strings.resx (Italian) 2023-08-10 15:32:06 +02:00
Serge
71c0c10f29 New translations Strings.resx (Lithuanian) 2023-08-10 09:44:15 +02:00
Serge
8733ef34d3 New translations Strings.resx (Chinese Traditional) 2023-08-10 05:07:14 +02:00
Serge
ff0a12d104 New translations Strings.resx (Chinese Simplified) 2023-08-10 04:10:42 +02:00
Serge
fe628319b7 Update README.md 2023-08-09 23:37:52 +02:00
Serge
86c11beee6 Update README.md 2023-08-09 23:30:23 +02:00
Serge
e45a72f6c6 Update README.md 2023-08-09 23:28:51 +02:00
Serge
88af725a08 Merge pull request #1039 from seerge/l10n_main
New Crowdin updates
2023-08-09 19:19:31 +02:00
Serge
d3fee87802 Update README.md 2023-08-09 18:49:21 +02:00
Serge
ea61e428da Eco mode GPU fix 2023-08-09 18:43:19 +02:00
Serge
7d5bd42f53 Merge branch 'main' of https://github.com/seerge/g-helper 2023-08-09 18:02:40 +02:00
Serge
78c689eb08 Increased GPU restart delay 2023-08-09 18:02:32 +02:00
Serge
69c2f6ff6e Update README.md 2023-08-09 17:56:36 +02:00
Serge
b59db1432a New translations Strings.resx (Vietnamese) 2023-08-09 15:43:05 +02:00
Serge
4f85cd32aa New translations Strings.resx (Chinese Traditional) 2023-08-09 15:43:04 +02:00
Serge
f0d6d25e93 New translations Strings.resx (Chinese Simplified) 2023-08-09 15:43:03 +02:00
Serge
2d6d4093e9 New translations Strings.resx (Ukrainian) 2023-08-09 15:43:03 +02:00
Serge
8fc167fd57 New translations Strings.resx (Turkish) 2023-08-09 15:43:02 +02:00
Serge
475110af09 New translations Strings.resx (Portuguese) 2023-08-09 15:43:01 +02:00
Serge
3fc4621dc9 New translations Strings.resx (Polish) 2023-08-09 15:43:00 +02:00
Serge
43ddf6585c New translations Strings.resx (Lithuanian) 2023-08-09 15:42:59 +02:00
Serge
61d155d936 New translations Strings.resx (Korean) 2023-08-09 15:42:58 +02:00
Serge
d133162579 New translations Strings.resx (Italian) 2023-08-09 15:42:57 +02:00
Serge
fff4612a8d New translations Strings.resx (Hungarian) 2023-08-09 15:42:55 +02:00
Serge
d6f410c6e6 New translations Strings.resx (German) 2023-08-09 15:42:54 +02:00
Serge
ab11965d50 New translations Strings.resx (Spanish) 2023-08-09 15:42:53 +02:00
Serge
6071f41c33 New translations Strings.resx (French) 2023-08-09 15:42:52 +02:00
Serge
e220ad73b3 Hibernate After control 2023-08-09 14:11:04 +02:00
Serge
f7b9efc3cb Merge branch 'main' of https://github.com/seerge/g-helper 2023-08-09 11:37:24 +02:00
Serge
e19f815498 Re-init anime matrix on wake up https://github.com/seerge/g-helper/issues/1038 2023-08-09 11:37:22 +02:00
Serge
cf95bb1faa Merge pull request #1019 from MrChenYukun/main
Update README.zh-CN.md
2023-08-09 10:32:00 +02:00
Serge
c9b7e4b2af Merge branch 'main' of https://github.com/seerge/g-helper 2023-08-08 17:16:01 +02:00
Serge
1827450f4b Restored RGB for GA503RM https://github.com/seerge/g-helper/discussions/1033, limited max power slider for X13 https://github.com/seerge/g-helper/issues/1029 2023-08-08 17:15:57 +02:00
Serge
a990770ce1 Merge pull request #1025 from seerge/l10n_main
New Crowdin updates
2023-08-08 13:35:44 +02:00
Serge
8bf20a9ed1 New translations Strings.resx (Polish) 2023-08-08 12:12:59 +02:00
Serge
48674dcf90 Accessible controls 2023-08-08 01:03:06 +02:00
Serge
4be50d68da Merge pull request #1016 from seerge/l10n_main
New Crowdin updates
2023-08-07 17:10:22 +02:00
chenyukun1
0c6d31950e unify symbols 2023-08-07 18:44:54 +08:00
chenyukun1
80e8c8fcc2 add FAQ section translation to README.zh-CN.md 2023-08-07 18:39:00 +08:00
Serge
0c7621b798 New translations Strings.resx (Spanish) 2023-08-06 19:53:42 +02:00
Serge
3efe8fb67e Micmute from external keyboards 2023-08-06 18:57:19 +02:00
Serge
5c613af9f2 Cleanup 2023-08-06 16:48:25 +02:00
Serge
e33c13bd19 Merge branch 'main' of https://github.com/seerge/g-helper 2023-08-06 14:49:19 +02:00
Serge
d764a20dc7 TUF brightness fix https://github.com/seerge/g-helper/issues/990 2023-08-06 14:49:17 +02:00
Serge
39a61b5118 Update README.md 2023-08-05 21:51:14 +02:00
Serge
f93594c4ae Universal brightness fix 2023-08-05 21:46:46 +02:00
Serge
3700e4469d Universal brightness fix 2023-08-05 21:26:07 +02:00
Serge
60a154851f Update README.md 2023-08-05 21:21:32 +02:00
Serge
8c621fe6d5 Update README.md 2023-08-05 21:20:23 +02:00
Serge
d01fe2e4b0 Update README.md 2023-08-05 19:05:49 +02:00
Serge
08382a6ec5 Update README.md 2023-08-05 17:06:02 +02:00
Serge
6746916425 Add files via upload 2023-08-05 17:04:21 +02:00
Serge
934ed919e4 Update README.md 2023-08-05 17:02:30 +02:00
Serge
53b0dc343c Update README.md 2023-08-05 16:45:36 +02:00
Serge
c04f26ae00 Update README.md 2023-08-05 16:34:34 +02:00
Serge
3b5587d2e1 Update README.md 2023-08-05 16:29:41 +02:00
Serge
cc48e04530 Merge pull request #1010 from Rakaveli/main
Support for rog keris eva edition mouse
2023-08-05 15:53:02 +02:00
Rakaveli
29f0de9cba wrong wireless flag fixed 2023-08-05 18:11:18 +05:00
Rakaveli
f9a7bd0fe0 Added support for rog keris eva edition mouse 2023-08-05 17:58:22 +05:00
59 changed files with 3358 additions and 910 deletions

View File

@@ -42,7 +42,7 @@ namespace GHelper.AnimeMatrix
}
public void SetMatrix()
public void SetMatrix(bool wakeUp = false)
{
if (!IsValid) return;
@@ -65,7 +65,15 @@ namespace GHelper.AnimeMatrix
StopMatrixTimer();
StopMatrixAudio();
mat.SetProvider();
try
{
mat.SetProvider();
} catch (Exception ex) {
Logger.WriteLine(ex.Message);
return;
}
if (wakeUp && AppConfig.ContainsModel("401")) mat.WakeUp();
if (brightness == 0 || (auto && SystemInformation.PowerStatus.PowerLineStatus != PowerLineStatus.Online))
{

View File

@@ -90,8 +90,6 @@ namespace Starlight.AnimeMatrix
//public int FullEvenRows = -1;
public int dx = 0;
//Shifts the whole frame to the left or right to align with the diagonal cut
public int frameShiftX = 0;
public int MaxColumns = 34;
private int frameIndex = 0;
@@ -124,7 +122,6 @@ namespace Starlight.AnimeMatrix
MaxColumns = 39;
MaxRows = 92;
LedCount = 1711;
frameShiftX = -5;
UpdatePageLength = 630;
}
@@ -189,6 +186,10 @@ namespace Starlight.AnimeMatrix
return (y + 1) / 2 - 3;
}
case AnimeType.GU604:
if (y < 9 && y % 2 == 0)
{
return 1;
}
return (int)Math.Ceiling(Math.Max(0, y - 9) / 2F);
default:
@@ -226,6 +227,29 @@ namespace Starlight.AnimeMatrix
default:
return 36 - y / 2;
}
case AnimeType.GU604:
switch (y)
{
case 0:
case 2:
case 4:
case 6:
case 8:
return 38;
case 1:
case 3:
case 5:
case 7:
case 9:
return 39;
default:
return Width(y) - FirstX(y);
}
default:
return Width(y) - FirstX(y);
}
@@ -246,7 +270,7 @@ namespace Starlight.AnimeMatrix
if (!IsRowInRange(y)) return;
if (x >= FirstX(y) && x < Width(y))
SetLedLinear(RowToLinearAddress(y) - FirstX(y) + x + dx + frameShiftX, value);
SetLedLinear(RowToLinearAddress(y) - FirstX(y) + x + dx, value);
}
public void WakeUp()

View File

@@ -79,7 +79,6 @@ public static class AppConfig
public static bool ContainsModel(string contains)
{
GetModel();
return (_model is not null && _model.ToLower().Contains(contains.ToLower()));
}
@@ -154,6 +153,11 @@ public static class AppConfig
Write();
}
public static void RemoveMode(string name)
{
Remove(name + "_" + Modes.GetCurrent());
}
public static string GgetParamName(AsusFan device, string paramName = "fan_profile")
{
int mode = Modes.GetCurrent();
@@ -298,9 +302,9 @@ public static class AppConfig
return ContainsModel("GA401I") && !ContainsModel("GA401IHR");
}
public static bool NoAuraColor()
public static bool IsSingleColor()
{
return ContainsModel("GA401") || ContainsModel("X13");
return ContainsModel("GA401");
}
public static bool IsStrix()
@@ -318,8 +322,57 @@ public static class AppConfig
return ContainsModel("X16") || ContainsModel("X13");
}
public static bool IsX13()
{
return ContainsModel("X13");
}
public static bool IsAdvantageEdition()
{
return ContainsModel("13QY");
}
public static bool NoAutoUltimate()
{
return ContainsModel("G614") || ContainsModel("GU604") || ContainsModel("FX507");
}
public static bool IsManualModeRequired()
{
if (!IsMode("auto_apply_power"))
return false;
return
Is("manual_mode") ||
ContainsModel("GU604") ||
ContainsModel("G733") ||
ContainsModel("FX507Z");
}
public static bool IsFanRequired()
{
return ContainsModel("GA402X") || ContainsModel("G513") || ContainsModel("G713R");
}
public static bool IsPowerRequired()
{
return ContainsModel("FX507") || ContainsModel("FX517") || ContainsModel("FX707");
}
public static bool IsGPUFixNeeded()
{
return ContainsModel("GA402X") || ContainsModel("GV302") || ContainsModel("FX506") || ContainsModel("GU603V");
}
public static bool IsGPUFix()
{
return Is("gpu_fix") || (ContainsModel("GA402X") && IsNotFalse("gpu_fix"));
}
public static bool IsForceSetGPUMode()
{
return Is("gpu_mode_force_set") || ContainsModel("503");
}
}

View File

@@ -55,7 +55,8 @@ public class AsusACPI
public const uint GPU_Fan = 0x00110014;
public const uint Mid_Fan = 0x00110031;
public const uint PerformanceMode = 0x00120075; // Thermal Control
public const uint PerformanceMode = 0x00120075; // Performance modes
public const uint VivoBookMode = 0x00110019; // Vivobook performance modes
public const uint GPUEco = 0x00090020;
public const uint GPUXGConnected = 0x00090018;
@@ -109,12 +110,13 @@ public class AsusACPI
public const int GPUModeStandard = 1;
public const int GPUModeUltimate = 2;
public static int MaxTotal => AppConfig.IsAdvantageEdition() ? 250 : 150;
public const int MinTotal = 5;
public const int DefaultTotal = 125;
public const int MaxCPU = 100;
public static int MaxTotal = 150;
public static int DefaultTotal = 125;
public const int MinCPU = 5;
public const int MaxCPU = 100;
public const int DefaultCPU = 80;
public const int MinGPUBoost = 5;
@@ -212,6 +214,19 @@ public class AsusACPI
throw new Exception("Can't connect to ACPI");
}
if (AppConfig.IsAdvantageEdition()) MaxTotal = 250;
if (AppConfig.IsX13())
{
MaxTotal = 75;
DefaultTotal = 50;
}
if (AppConfig.IsAlly())
{
MaxTotal = 50;
DefaultTotal = 30;
}
}
public void Control(uint dwIoControlCode, byte[] lpInBuffer, byte[] lpOutBuffer)
@@ -239,7 +254,7 @@ public class AsusACPI
protected byte[] CallMethod(uint MethodID, byte[] args)
{
byte[] acpiBuf = new byte[8 + args.Length];
byte[] outBuffer = new byte[20];
byte[] outBuffer = new byte[16];
BitConverter.GetBytes((uint)MethodID).CopyTo(acpiBuf, 0);
BitConverter.GetBytes((uint)args.Length).CopyTo(acpiBuf, 4);
@@ -392,7 +407,14 @@ public class AsusACPI
if (curve.Length != 16) throw new Exception("Incorrect curve");
var points = new Dictionary<byte, byte>();
for (int i = 0; i < 8; i++) points[curve[i]] = curve[i + 8];
byte old = 0;
for (int i = 0; i < 8; i++)
{
if (curve[i] == old) curve[i]++; // preventing 2 points in same spot from default asus profiles
points[curve[i]] = curve[i + 8];
old = curve[i];
}
var pointsFixed = new Dictionary<byte, byte>();
bool fix = false;

View File

@@ -33,6 +33,14 @@
labelProfile = new Label();
panelPerformance = new Panel();
panelPerformanceOther = new Panel();
panelDeceleration = new Panel();
labelDeceleration = new Label();
sliderDeceleration = new UI.Slider();
labelDecelerationValue = new Label();
panelAcceleration = new Panel();
labelAcceleration = new Label();
sliderAcceleration = new UI.Slider();
labelAccelerationValue = new Label();
panelLiftOffDistance = new Panel();
labelLiftOffDistance = new Label();
comboBoxLiftOffDistance = new UI.RComboBox();
@@ -108,6 +116,8 @@
panelProfiles.SuspendLayout();
panelPerformance.SuspendLayout();
panelPerformanceOther.SuspendLayout();
panelDeceleration.SuspendLayout();
panelAcceleration.SuspendLayout();
panelLiftOffDistance.SuspendLayout();
panelDebounce.SuspendLayout();
panelAngleSnapping.SuspendLayout();
@@ -182,13 +192,15 @@
panelPerformance.Location = new Point(11, 68);
panelPerformance.Name = "panelPerformance";
panelPerformance.Padding = new Padding(0, 11, 0, 25);
panelPerformance.Size = new Size(654, 461);
panelPerformance.Size = new Size(654, 555);
panelPerformance.TabIndex = 1;
//
// panelPerformanceOther
//
panelPerformanceOther.AutoSize = true;
panelPerformanceOther.AutoSizeMode = AutoSizeMode.GrowAndShrink;
panelPerformanceOther.Controls.Add(panelDeceleration);
panelPerformanceOther.Controls.Add(panelAcceleration);
panelPerformanceOther.Controls.Add(panelLiftOffDistance);
panelPerformanceOther.Controls.Add(panelDebounce);
panelPerformanceOther.Controls.Add(panelAngleSnapping);
@@ -197,9 +209,103 @@
panelPerformanceOther.Location = new Point(0, 240);
panelPerformanceOther.Name = "panelPerformanceOther";
panelPerformanceOther.Padding = new Padding(0, 11, 0, 11);
panelPerformanceOther.Size = new Size(654, 196);
panelPerformanceOther.Size = new Size(654, 290);
panelPerformanceOther.TabIndex = 49;
//
// panelDeceleration
//
panelDeceleration.AutoSize = true;
panelDeceleration.AutoSizeMode = AutoSizeMode.GrowAndShrink;
panelDeceleration.Controls.Add(labelDeceleration);
panelDeceleration.Controls.Add(sliderDeceleration);
panelDeceleration.Controls.Add(labelDecelerationValue);
panelDeceleration.Dock = DockStyle.Top;
panelDeceleration.Location = new Point(0, 232);
panelDeceleration.Name = "panelDeceleration";
panelDeceleration.Padding = new Padding(5);
panelDeceleration.Size = new Size(654, 47);
panelDeceleration.TabIndex = 58;
//
// labelDeceleration
//
labelDeceleration.Location = new Point(6, 7);
labelDeceleration.Margin = new Padding(6, 0, 6, 0);
labelDeceleration.Name = "labelDeceleration";
labelDeceleration.Size = new Size(348, 33);
labelDeceleration.TabIndex = 52;
labelDeceleration.Text = "Deceleration";
//
// sliderDeceleration
//
sliderDeceleration.AccessibleName = "DPI Slider";
sliderDeceleration.Location = new Point(368, 9);
sliderDeceleration.Max = 9;
sliderDeceleration.Min = 0;
sliderDeceleration.Name = "sliderDeceleration";
sliderDeceleration.Size = new Size(213, 30);
sliderDeceleration.Step = 1;
sliderDeceleration.TabIndex = 50;
sliderDeceleration.TabStop = false;
sliderDeceleration.Text = "sliderBattery";
sliderDeceleration.Value = 0;
//
// labelDecelerationValue
//
labelDecelerationValue.Location = new Point(590, 9);
labelDecelerationValue.Margin = new Padding(6, 0, 6, 0);
labelDecelerationValue.Name = "labelDecelerationValue";
labelDecelerationValue.Size = new Size(60, 30);
labelDecelerationValue.TabIndex = 51;
labelDecelerationValue.Text = "0";
labelDecelerationValue.TextAlign = ContentAlignment.MiddleRight;
//
// panelAcceleration
//
panelAcceleration.AutoSize = true;
panelAcceleration.AutoSizeMode = AutoSizeMode.GrowAndShrink;
panelAcceleration.Controls.Add(labelAcceleration);
panelAcceleration.Controls.Add(sliderAcceleration);
panelAcceleration.Controls.Add(labelAccelerationValue);
panelAcceleration.Dock = DockStyle.Top;
panelAcceleration.Location = new Point(0, 185);
panelAcceleration.Name = "panelAcceleration";
panelAcceleration.Padding = new Padding(5);
panelAcceleration.Size = new Size(654, 47);
panelAcceleration.TabIndex = 57;
//
// labelAcceleration
//
labelAcceleration.Location = new Point(6, 7);
labelAcceleration.Margin = new Padding(6, 0, 6, 0);
labelAcceleration.Name = "labelAcceleration";
labelAcceleration.Size = new Size(348, 33);
labelAcceleration.TabIndex = 52;
labelAcceleration.Text = "Acceleration";
//
// sliderAcceleration
//
sliderAcceleration.AccessibleName = "DPI Slider";
sliderAcceleration.Location = new Point(368, 9);
sliderAcceleration.Max = 9;
sliderAcceleration.Min = 0;
sliderAcceleration.Name = "sliderAcceleration";
sliderAcceleration.Size = new Size(213, 30);
sliderAcceleration.Step = 1;
sliderAcceleration.TabIndex = 50;
sliderAcceleration.TabStop = false;
sliderAcceleration.Text = "sliderBattery";
sliderAcceleration.Value = 0;
//
// labelAccelerationValue
//
labelAccelerationValue.Location = new Point(590, 9);
labelAccelerationValue.Margin = new Padding(6, 0, 6, 0);
labelAccelerationValue.Name = "labelAccelerationValue";
labelAccelerationValue.Size = new Size(60, 30);
labelAccelerationValue.TabIndex = 51;
labelAccelerationValue.Text = "0";
labelAccelerationValue.TextAlign = ContentAlignment.MiddleRight;
//
// panelLiftOffDistance
//
panelLiftOffDistance.AutoSize = true;
@@ -656,7 +762,7 @@
panelLighting.Controls.Add(panelLightingContent);
panelLighting.Controls.Add(panelLightingHeader);
panelLighting.Dock = DockStyle.Top;
panelLighting.Location = new Point(11, 529);
panelLighting.Location = new Point(11, 623);
panelLighting.Name = "panelLighting";
panelLighting.Padding = new Padding(0, 0, 0, 25);
panelLighting.Size = new Size(654, 329);
@@ -985,7 +1091,7 @@
panelEnergy.Controls.Add(labelAutoPowerOff);
panelEnergy.Controls.Add(panelEnergyHeader);
panelEnergy.Dock = DockStyle.Top;
panelEnergy.Location = new Point(11, 858);
panelEnergy.Location = new Point(11, 952);
panelEnergy.Name = "panelEnergy";
panelEnergy.Padding = new Padding(0, 0, 0, 25);
panelEnergy.Size = new Size(654, 143);
@@ -1166,7 +1272,7 @@
panelBottomButtons.AutoSizeMode = AutoSizeMode.GrowAndShrink;
panelBottomButtons.Controls.Add(buttonSync);
panelBottomButtons.Dock = DockStyle.Top;
panelBottomButtons.Location = new Point(11, 1001);
panelBottomButtons.Location = new Point(11, 1095);
panelBottomButtons.Name = "panelBottomButtons";
panelBottomButtons.Size = new Size(654, 67);
panelBottomButtons.TabIndex = 47;
@@ -1260,6 +1366,8 @@
panelPerformance.PerformLayout();
panelPerformanceOther.ResumeLayout(false);
panelPerformanceOther.PerformLayout();
panelDeceleration.ResumeLayout(false);
panelAcceleration.ResumeLayout(false);
panelLiftOffDistance.ResumeLayout(false);
panelDebounce.ResumeLayout(false);
panelAngleSnapping.ResumeLayout(false);
@@ -1379,5 +1487,13 @@
private Panel panelAngleSnapping;
private Panel panelLiftOffDistance;
private Panel panelDebounce;
private Panel panelDeceleration;
private Label labelDeceleration;
private UI.Slider sliderDeceleration;
private Label labelDecelerationValue;
private Panel panelAcceleration;
private Label labelAcceleration;
private UI.Slider sliderAcceleration;
private Label labelAccelerationValue;
}
}

View File

@@ -46,6 +46,8 @@ namespace GHelper
labelChargingState.Text = "(" + Properties.Strings.Charging + ")";
labelProfile.Text = Properties.Strings.Profile;
labelButtonDebounce.Text = Properties.Strings.MouseButtonResponse;
labelAcceleration.Text = Properties.Strings.Acceleration;
labelDeceleration.Text = Properties.Strings.Deceleration;
buttonLightingZoneLogo.Text = Properties.Strings.AuraZoneLogo;
buttonLightingZoneScroll.Text = Properties.Strings.AuraZoneScroll;
@@ -80,6 +82,12 @@ namespace GHelper
sliderButtonDebounce.ValueChanged += SliderButtonDebounce_ValueChanged;
sliderButtonDebounce.MouseUp += SliderButtonDebounce_MouseUp;
sliderAcceleration.MouseUp += SliderAcceleration_MouseUp;
sliderAcceleration.ValueChanged += SliderAcceleration_ValueChanged;
sliderDeceleration.MouseUp += SliderDeceleration_MouseUp;
sliderDeceleration.ValueChanged += SliderDeceleration_ValueChanged;
buttonLightingColor.Click += ButtonLightingColor_Click;
comboBoxLightingMode.DropDownClosed += ComboBoxLightingMode_DropDownClosed;
sliderBrightness.MouseUp += SliderBrightness_MouseUp;
@@ -103,6 +111,26 @@ namespace GHelper
RefreshMouseData();
}
private void SliderAcceleration_MouseUp(object? sender, MouseEventArgs e)
{
mouse.SetAcceleration(sliderAcceleration.Value);
}
private void SliderAcceleration_ValueChanged(object? sender, EventArgs e)
{
labelAccelerationValue.Text = sliderAcceleration.Value.ToString();
}
private void SliderDeceleration_MouseUp(object? sender, MouseEventArgs e)
{
mouse.SetDeceleration(sliderDeceleration.Value);
}
private void SliderDeceleration_ValueChanged(object? sender, EventArgs e)
{
labelDecelerationValue.Text = sliderDeceleration.Value.ToString();
}
private void SliderButtonDebounce_MouseUp(object? sender, MouseEventArgs e)
{
DebounceTime dbt = (DebounceTime)sliderButtonDebounce.Value;
@@ -513,6 +541,24 @@ namespace GHelper
panelAngleSnapping.Visible = false;
}
if (mouse.HasAcceleration())
{
sliderAcceleration.Max = mouse.MaxAcceleration();
}
else
{
panelAcceleration.Visible = false;
}
if (mouse.HasDeceleration())
{
sliderDeceleration.Max = mouse.MaxDeceleration();
}
else
{
panelDeceleration.Visible = false;
}
if (mouse.HasLiftOffSetting())
{
comboBoxLiftOffDistance.Items.AddRange(new string[] {
@@ -681,6 +727,16 @@ namespace GHelper
{
sliderButtonDebounce.Value = (int)mouse.Debounce;
}
if (mouse.HasAcceleration())
{
sliderAcceleration.Value = mouse.Acceleration;
}
if (mouse.HasDeceleration())
{
sliderDeceleration.Value = mouse.Deceleration;
}
}
private void VisualizeBatteryState()
@@ -797,6 +853,10 @@ namespace GHelper
private void VisualizeCurrentDPIProfile()
{
AsusMouseDPI dpi = mouse.DpiSettings[mouse.DpiProfile - 1];
if (dpi is null)
{
return;
}
sliderDPI.Value = (int)dpi.DPI;
pictureDPIColor.BackColor = dpi.Color;
}

View File

@@ -1,6 +1,9 @@
using GHelper.Helpers;
using GHelper.Gpu;
using GHelper.Helpers;
using HidLibrary;
using NAudio.Gui;
using System.Diagnostics;
using System.Drawing;
using System.Text;
namespace GHelper
@@ -38,6 +41,7 @@ namespace GHelper
public static class AsusUSB
{
public const int HEATMAP = 20;
public const int GPUMODE = 21;
public const int ASUS_ID = 0x0b05;
@@ -63,11 +67,14 @@ namespace GHelper
static bool isTuf = AppConfig.IsTUF();
static bool isStrix = AppConfig.IsStrix();
static public bool isSingleColor = false;
static bool isOldHeatmap = AppConfig.Is("old_heatmap");
static System.Timers.Timer timer = new System.Timers.Timer(2000);
static HidDevice? auraDevice = null;
static bool Manual = false;
static byte[] AuraPowerMessage(AuraPower flags)
{
@@ -113,6 +120,11 @@ namespace GHelper
static AsusUSB()
{
timer.Elapsed += Timer_Elapsed;
isSingleColor = AppConfig.ContainsModel("GA401") || AppConfig.ContainsModel("X13"); // Mono Color
var device = GetDevice(AURA_HID_ID);
if (device is not null && device.Attributes.Version == 22 && AppConfig.ContainsModel("GA402X")) isSingleColor = true;
}
private static void Timer_Elapsed(object? sender, System.Timers.ElapsedEventArgs e)
@@ -146,33 +158,40 @@ namespace GHelper
};
}
static Dictionary<int, string> _modesSingleColor = new Dictionary<int, string>
{
{ 0, Properties.Strings.AuraStatic },
{ 1, Properties.Strings.AuraBreathe },
{ 10, Properties.Strings.AuraStrobe },
};
static Dictionary<int, string> _modes = new Dictionary<int, string>
{
{ 0, Properties.Strings.AuraStatic },
{ 1, Properties.Strings.AuraBreathe },
{ 2, Properties.Strings.AuraColorCycle },
{ 3, Properties.Strings.AuraRainbow },
{ 10, Properties.Strings.AuraStrobe },
{ HEATMAP, "Heatmap"}
};
{
{ 0, Properties.Strings.AuraStatic },
{ 1, Properties.Strings.AuraBreathe },
{ 2, Properties.Strings.AuraColorCycle },
{ 3, Properties.Strings.AuraRainbow },
{ 10, Properties.Strings.AuraStrobe },
{ HEATMAP, "Heatmap"},
{ GPUMODE, "GPU Mode" }
};
static Dictionary<int, string> _modesStrix = new Dictionary<int, string>
{
{ 0, Properties.Strings.AuraStatic },
{ 1, Properties.Strings.AuraBreathe },
{ 2, Properties.Strings.AuraColorCycle },
{ 3, Properties.Strings.AuraRainbow },
{ 4, "Star" },
{ 5, "Rain" },
{ 6, "Highlight" },
{ 7, "Laser" },
{ 8, "Ripple" },
{ 10, Properties.Strings.AuraStrobe},
{ 11, "Comet" },
{ 12, "Flash" },
{ HEATMAP, "Heatmap"}
};
{
{ 0, Properties.Strings.AuraStatic },
{ 1, Properties.Strings.AuraBreathe },
{ 2, Properties.Strings.AuraColorCycle },
{ 3, Properties.Strings.AuraRainbow },
{ 4, "Star" },
{ 5, "Rain" },
{ 6, "Highlight" },
{ 7, "Laser" },
{ 8, "Ripple" },
{ 10, Properties.Strings.AuraStrobe},
{ 11, "Comet" },
{ 12, "Flash" },
{ HEATMAP, "Heatmap"}
};
public static Dictionary<int, string> GetModes()
@@ -182,10 +201,9 @@ namespace GHelper
_modes.Remove(3);
}
if (AppConfig.NoAuraColor())
if (isSingleColor)
{
_modes.Remove(2);
_modes.Remove(3);
return _modesSingleColor;
}
if (AppConfig.IsAdvantageEdition())
@@ -276,7 +294,7 @@ namespace GHelper
}
public static byte[] AuraMessage(int mode, Color color, Color color2, int speed)
public static byte[] AuraMessage(int mode, Color color, Color color2, int speed, bool mono = false)
{
byte[] msg = new byte[17];
@@ -284,15 +302,15 @@ namespace GHelper
msg[1] = 0xb3;
msg[2] = 0x00; // Zone
msg[3] = (byte)mode; // Aura Mode
msg[4] = (byte)(color.R); // R
msg[5] = (byte)(color.G); // G
msg[6] = (byte)(color.B); // B
msg[4] = color.R; // R
msg[5] = mono ? (byte)0 : color.G; // G
msg[6] = mono ? (byte)0 : color.B; // B
msg[7] = (byte)speed; // aura.speed as u8;
msg[8] = 0; // aura.direction as u8;
msg[9] = (mode == 1) ? (byte)1 : (byte)0;
msg[10] = (byte)(color2.R); // R
msg[11] = (byte)(color2.G); // G
msg[12] = (byte)(color2.B); // B
msg[10] = color2.R; // R
msg[11] = mono ? (byte)0 : color2.G; // G
msg[12] = mono ? (byte)0 : color2.B; // B
return msg;
}
@@ -372,63 +390,58 @@ namespace GHelper
public static void ApplyAuraPower()
{
Task.Run(async () =>
AuraPower flags = new();
// Keyboard
flags.AwakeKeyb = AppConfig.IsNotFalse("keyboard_awake");
flags.BootKeyb = AppConfig.IsNotFalse("keyboard_boot");
flags.SleepKeyb = AppConfig.IsNotFalse("keyboard_sleep");
flags.ShutdownKeyb = AppConfig.IsNotFalse("keyboard_shutdown");
// Logo
flags.AwakeLogo = AppConfig.IsNotFalse("keyboard_awake_logo");
flags.BootLogo = AppConfig.IsNotFalse("keyboard_boot_logo");
flags.SleepLogo = AppConfig.IsNotFalse("keyboard_sleep_logo");
flags.ShutdownLogo = AppConfig.IsNotFalse("keyboard_shutdown_logo");
// Lightbar
flags.AwakeBar = AppConfig.IsNotFalse("keyboard_awake_bar");
flags.BootBar = AppConfig.IsNotFalse("keyboard_boot_bar");
flags.SleepBar = AppConfig.IsNotFalse("keyboard_sleep_bar");
flags.ShutdownBar = AppConfig.IsNotFalse("keyboard_shutdown_bar");
// Lid
flags.AwakeLid = AppConfig.IsNotFalse("keyboard_awake_lid");
flags.BootLid = AppConfig.IsNotFalse("keyboard_boot_lid");
flags.SleepLid = AppConfig.IsNotFalse("keyboard_sleep_lid");
flags.ShutdownLid = AppConfig.IsNotFalse("keyboard_shutdown_lid");
// Rear Bar
flags.AwakeRear = AppConfig.IsNotFalse("keyboard_awake_lid");
flags.BootRear = AppConfig.IsNotFalse("keyboard_boot_lid");
flags.SleepRear = AppConfig.IsNotFalse("keyboard_sleep_lid");
flags.ShutdownRear = AppConfig.IsNotFalse("keyboard_shutdown_lid");
var devices = GetHidDevices(deviceIds);
byte[] msg = AuraPowerMessage(flags);
foreach (HidDevice device in devices)
{
AuraPower flags = new();
// Keyboard
flags.AwakeKeyb = AppConfig.IsNotFalse("keyboard_awake");
flags.BootKeyb = AppConfig.IsNotFalse("keyboard_boot");
flags.SleepKeyb = AppConfig.IsNotFalse("keyboard_sleep");
flags.ShutdownKeyb = AppConfig.IsNotFalse("keyboard_shutdown");
// Logo
flags.AwakeLogo = AppConfig.IsNotFalse("keyboard_awake_logo");
flags.BootLogo = AppConfig.IsNotFalse("keyboard_boot_logo");
flags.SleepLogo = AppConfig.IsNotFalse("keyboard_sleep_logo");
flags.ShutdownLogo = AppConfig.IsNotFalse("keyboard_shutdown_logo");
// Lightbar
flags.AwakeBar = AppConfig.IsNotFalse("keyboard_awake_bar");
flags.BootBar = AppConfig.IsNotFalse("keyboard_boot_bar");
flags.SleepBar = AppConfig.IsNotFalse("keyboard_sleep_bar");
flags.ShutdownBar = AppConfig.IsNotFalse("keyboard_shutdown_bar");
// Lid
flags.AwakeLid = AppConfig.IsNotFalse("keyboard_awake_lid");
flags.BootLid = AppConfig.IsNotFalse("keyboard_boot_lid");
flags.SleepLid = AppConfig.IsNotFalse("keyboard_sleep_lid");
flags.ShutdownLid = AppConfig.IsNotFalse("keyboard_shutdown_lid");
// Rear Bar
flags.AwakeRear = AppConfig.IsNotFalse("keyboard_awake_lid");
flags.BootRear = AppConfig.IsNotFalse("keyboard_boot_lid");
flags.SleepRear = AppConfig.IsNotFalse("keyboard_sleep_lid");
flags.ShutdownRear = AppConfig.IsNotFalse("keyboard_shutdown_lid");
var devices = GetHidDevices(deviceIds);
byte[] msg = AuraPowerMessage(flags);
foreach (HidDevice device in devices)
device.OpenDevice();
if (device.ReadFeatureData(out byte[] data, AURA_HID_ID))
{
device.OpenDevice();
if (device.ReadFeatureData(out byte[] data, AURA_HID_ID))
{
device.WriteFeatureData(msg);
Logger.WriteLine("USB-KB " + device.Attributes.ProductHexId + ":" + BitConverter.ToString(msg));
}
device.CloseDevice();
device.WriteFeatureData(msg);
Logger.WriteLine("USB-KB " + device.Attributes.ProductHexId + ":" + BitConverter.ToString(msg));
}
device.CloseDevice();
}
if (isTuf)
Program.acpi.TUFKeyboardPower(
flags.AwakeKeyb,
flags.BootKeyb,
flags.SleepKeyb,
flags.ShutdownKeyb);
});
if (isTuf)
Program.acpi.TUFKeyboardPower(
flags.AwakeKeyb,
flags.BootKeyb,
flags.SleepKeyb,
flags.ShutdownKeyb);
}
@@ -464,10 +477,10 @@ namespace GHelper
if (auraDevice is null || !auraDevice.IsConnected) GetAuraDevice();
if (auraDevice is null || !auraDevice.IsConnected) return;
if (isStrix)
if (isStrix && !isOldHeatmap)
{
byte[] msg = new byte[0x40];
byte start = 9;
byte maxLeds = 0x93;
@@ -495,7 +508,7 @@ namespace GHelper
auraDevice.Write(LED_INIT3);
auraDevice.Write(LED_INIT4);
auraDevice.Write(LED_INIT5);
auraDevice.Write(new byte[] { AURA_HID_ID, 0xbc});
auraDevice.Write(new byte[] { AURA_HID_ID, 0xbc });
}
for (byte b = 0; b < maxLeds; b += 0x10)
@@ -516,6 +529,7 @@ namespace GHelper
else
{
Debug.WriteLine(color.ToString());
auraDevice.Write(AuraMessage(0, color, color, 0));
auraDevice.Write(MESSAGE_SET);
}
@@ -523,6 +537,27 @@ namespace GHelper
}
public static void ApplyGPUColor()
{
if (AppConfig.Get("aura_mode") != GPUMODE) return;
Logger.WriteLine(GPUModeControl.gpuMode.ToString());
switch (GPUModeControl.gpuMode)
{
case AsusACPI.GPUModeUltimate:
ApplyColor(Color.Red, true);
break;
case AsusACPI.GPUModeEco:
ApplyColor(Color.Green, true);
break;
default:
ApplyColor(Color.Yellow, true);
break;
}
}
public static void ApplyAura()
{
@@ -531,55 +566,54 @@ namespace GHelper
SetColor(AppConfig.Get("aura_color"));
SetColor2(AppConfig.Get("aura_color2"));
timer.Enabled = false;
if (Mode == HEATMAP)
{
SetHeatmap(true);
timer.Enabled = true;
return;
}
else
}
if (Mode == GPUMODE)
{
timer.Enabled = false;
ApplyGPUColor();
return;
}
Task.Run(async () =>
int _speed;
switch (Speed)
{
case 1:
_speed = 0xeb;
break;
case 2:
_speed = 0xf5;
break;
default:
_speed = 0xe1;
break;
}
byte[] msg;
var devices = GetHidDevices(deviceIds);
int _speed;
switch (Speed)
foreach (HidDevice device in devices)
{
device.OpenDevice();
if (device.ReadFeatureData(out byte[] data, AURA_HID_ID))
{
case 1:
_speed = 0xeb;
break;
case 2:
_speed = 0xf5;
break;
default:
_speed = 0xe1;
break;
msg = AuraMessage(Mode, Color1, Color2, _speed, isSingleColor);
device.WriteFeatureData(msg);
device.WriteFeatureData(MESSAGE_APPLY);
device.WriteFeatureData(MESSAGE_SET);
Logger.WriteLine("USB-KB " + device.Attributes.Version + device.Description + device.DevicePath + ":" + BitConverter.ToString(msg));
}
device.CloseDevice();
}
byte[] msg = AuraMessage(Mode, Color1, Color2, _speed);
var devices = GetHidDevices(deviceIds);
foreach (HidDevice device in devices)
{
device.OpenDevice();
if (device.ReadFeatureData(out byte[] data, AURA_HID_ID))
{
device.WriteFeatureData(msg);
device.WriteFeatureData(MESSAGE_APPLY);
device.WriteFeatureData(MESSAGE_SET);
Logger.WriteLine("USB-KB " + device.Capabilities.FeatureReportByteLength + "|" + device.Capabilities.InputReportByteLength + device.Description + device.DevicePath + ":" + BitConverter.ToString(msg));
}
device.CloseDevice();
}
if (isTuf)
Program.acpi.TUFKeyboardRGB(Mode, Color1, _speed);
});
if (isTuf)
Program.acpi.TUFKeyboardRGB(Mode, Color1, _speed);
}

View File

@@ -1,4 +1,6 @@
using System.ComponentModel;
using GHelper.Helpers;
using NvAPIWrapper.Display;
using System.ComponentModel;
using System.Runtime.InteropServices;
namespace GHelper.Display
@@ -259,6 +261,49 @@ namespace GHelper.Display
#endregion
[Flags]
public enum DisplayDeviceStates : int
{
ATTACHED_TO_DESKTOP = 0x01,
PRIMARY_DEVICE = 0x04,
MIRRORING_DRIVER = 0x08,
VGA_COMPATIBLE = 0x10,
REMOVABLE = 0x20,
DISCONNECTED = 0x2000000,
REMOTE = 0x4000000,
MODESPRUNED = 0x8000000
}
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Unicode)]
public struct DISPLAY_DEVICE
{
public int cb;
[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 32)]
public string DeviceName;
[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 128)]
public string DeviceString;
public DisplayDeviceStates StateFlags;
[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 128)]
public string DeviceID;
[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 128)]
public string DeviceKey;
}
[DllImport(nameof(User32), CharSet = CharSet.Unicode, SetLastError = true)]
public static extern bool EnumDisplayDevices(
string? lpDevice,
uint iDevNum,
ref DISPLAY_DEVICE lpDisplayDevice,
uint dwFlags);
private static DISPLAYCONFIG_TARGET_DEVICE_NAME DeviceName(LUID adapterId, uint targetId)
{
var deviceName = new DISPLAYCONFIG_TARGET_DEVICE_NAME
@@ -298,6 +343,33 @@ namespace GHelper.Display
}
public static IEnumerable<DISPLAY_DEVICE> GetDisplayDevices()
{
var displayAdapter = new DISPLAY_DEVICE();
displayAdapter.cb = Marshal.SizeOf<DISPLAY_DEVICE>();
var displayAdapterNumber = default(uint);
while (EnumDisplayDevices(null, displayAdapterNumber, ref displayAdapter, 1))
{
var displayMonitor = new DISPLAY_DEVICE();
displayMonitor.cb = Marshal.SizeOf<DISPLAY_DEVICE>();
var displayMonitorNumber = default(uint);
while (EnumDisplayDevices(displayAdapter.DeviceName, displayMonitorNumber, ref displayMonitor, 1))
{
var isAttached = (displayMonitor.StateFlags & DisplayDeviceStates.ATTACHED_TO_DESKTOP) == DisplayDeviceStates.ATTACHED_TO_DESKTOP;
var isMirroring = (displayMonitor.StateFlags & DisplayDeviceStates.MIRRORING_DRIVER) == DisplayDeviceStates.MIRRORING_DRIVER;
if (isAttached && !isMirroring) yield return displayMonitor;
displayMonitorNumber++;
}
displayAdapterNumber++;
}
}
}
}

View File

@@ -1,8 +1,38 @@
using System.Runtime.InteropServices;
using Microsoft.VisualBasic.Logging;
using System.Collections;
using System.Diagnostics.Metrics;
using System.Runtime.InteropServices;
using System.Windows.Forms;
using static GHelper.Display.ScreenInterrogatory;
namespace GHelper.Display
{
class DeviceComparer : IComparer
{
public int Compare(object x, object y)
{
uint displayX = ((DISPLAYCONFIG_TARGET_DEVICE_NAME)x).connectorInstance;
uint displayY = ((DISPLAYCONFIG_TARGET_DEVICE_NAME)y).connectorInstance;
if (displayX > displayY)
return 1;
if (displayX < displayY)
return -1;
else
return 0;
}
}
class ScreenComparer : IComparer
{
public int Compare(object x, object y)
{
int displayX = Int32.Parse(((Screen)x).DeviceName.Replace(@"\\.\DISPLAY", ""));
int displayY = Int32.Parse(((Screen)y).DeviceName.Replace(@"\\.\DISPLAY", ""));
return (new CaseInsensitiveComparer()).Compare(displayX, displayY);
}
}
internal class ScreenNative
{
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Ansi)]
@@ -118,39 +148,12 @@ namespace GHelper.Display
public const int ENUM_CURRENT_SETTINGS = -1;
public const string defaultDevice = @"\\.\DISPLAY1";
static bool? _ultimate = null;
static bool isUltimate
private static string? FindInternalName(bool log = false)
{
get
{
if (_ultimate is null) _ultimate = (Program.acpi.DeviceGet(AsusACPI.GPUMux) == 0);
return (bool)_ultimate;
}
}
public static string? FindLaptopScreen(bool log = false)
{
string? laptopScreen = null;
var screens = Screen.AllScreens;
/*
if (!isUltimate)
{
foreach (var screen in screens )
{
if (log) Logger.WriteLine(screen.DeviceName);
if (screen.DeviceName == defaultDevice) return defaultDevice;
}
}
*/
try
{
var devices = GetAllDevices().ToArray();
int count = 0, displayNum = -1;
string internalName = AppConfig.GetString("internal_display");
foreach (var device in devices)
@@ -159,29 +162,68 @@ namespace GHelper.Display
device.outputTechnology == DISPLAYCONFIG_VIDEO_OUTPUT_TECHNOLOGY.DISPLAYCONFIG_OUTPUT_TECHNOLOGY_DISPLAYPORT_EMBEDDED ||
device.monitorFriendlyDeviceName == internalName)
{
displayNum = count;
if (log) Logger.WriteLine(device.monitorDevicePath + " " + device.outputTechnology);
AppConfig.Set("internal_display", device.monitorFriendlyDeviceName);
var names = device.monitorDevicePath.Split("#");
return names[1];
}
if (log) Logger.WriteLine(device.monitorFriendlyDeviceName + ":" + device.outputTechnology.ToString() + ": " + ((count < screens.Length) ? screens[count].DeviceName : ""));
count++;
}
count = 0;
foreach (var screen in screens)
{
if (count == displayNum) laptopScreen = screen.DeviceName;
count++;
}
if (displayNum > 0 && count == 0) laptopScreen = defaultDevice;
}
catch (Exception ex)
{
Logger.WriteLine(ex.ToString());
Logger.WriteLine("Can't detect internal screen");
laptopScreen = Screen.PrimaryScreen.DeviceName;
}
return null;
}
static string ExtractDisplay(string input)
{
int index = input.IndexOf('\\', 4); // Start searching from index 4 to skip ""
if (index != -1)
{
string extracted = input.Substring(0, index);
return extracted;
}
return input;
}
public static string? FindLaptopScreen(bool log = false)
{
string? laptopScreen = null;
string? internalName = FindInternalName(log);
if (internalName == null)
{
Logger.WriteLine("Internal screen off");
return null;
}
try
{
var displays = GetDisplayDevices().ToArray();
foreach (var display in displays)
{
if (log) Logger.WriteLine(display.DeviceID + " " + display.DeviceName);
if (display.DeviceID.Contains(internalName))
{
laptopScreen = ExtractDisplay(display.DeviceName);
break;
}
}
}
catch (Exception ex)
{
Logger.WriteLine(ex.ToString());
}
if (laptopScreen is null)
{
Logger.WriteLine("Default internal screen");
laptopScreen = Screen.PrimaryScreen.DeviceName;
}
return laptopScreen;
}
@@ -234,15 +276,6 @@ namespace GHelper.Display
dm.dmDisplayFrequency = frequency;
int iRet = ChangeDisplaySettingsEx(laptopScreen, ref dm, IntPtr.Zero, DisplaySettingsFlags.CDS_UPDATEREGISTRY, IntPtr.Zero);
Logger.WriteLine("Screen = " + frequency.ToString() + "Hz : " + (iRet == 0 ? "OK" : iRet));
//Fallback scenario
if (iRet != 0)
{
Thread.Sleep(500);
iRet = ChangeDisplaySettingsEx(laptopScreen, ref dm, IntPtr.Zero, DisplaySettingsFlags.CDS_UPDATEREGISTRY, IntPtr.Zero);
Logger.WriteLine("Screen = " + frequency.ToString() + "Hz : " + (iRet == 0 ? "OK" : iRet));
}
return iRet;
}

185
app/Extra.Designer.cs generated
View File

@@ -103,13 +103,16 @@ namespace GHelper
labelSettings = new Label();
panelSettings = new Panel();
checkAutoToggleClamshellMode = new CheckBox();
checkAutoApplyWindowsPowerMode = new CheckBox();
checkTopmost = new CheckBox();
checkNoOverdrive = new CheckBox();
checkUSBC = new CheckBox();
checkVariBright = new CheckBox();
checkGpuApps = new CheckBox();
checkFnLock = new CheckBox();
checkGPUFix = new CheckBox();
panelPower = new Panel();
numericHibernateAfter = new NumericUpDown();
labelHibernateAfter = new Label();
pictureHibernate = new PictureBox();
panelServices.SuspendLayout();
((System.ComponentModel.ISupportInitialize)pictureService).BeginInit();
panelBindingsHeader.SuspendLayout();
@@ -129,18 +132,23 @@ namespace GHelper
((System.ComponentModel.ISupportInitialize)pictureLog).BeginInit();
((System.ComponentModel.ISupportInitialize)pictureSettings).BeginInit();
panelSettings.SuspendLayout();
panelPower.SuspendLayout();
((System.ComponentModel.ISupportInitialize)numericHibernateAfter).BeginInit();
((System.ComponentModel.ISupportInitialize)pictureHibernate).BeginInit();
SuspendLayout();
//
// panelServices
//
panelServices.AccessibleName = "Asus Services";
panelServices.AccessibleRole = AccessibleRole.Grouping;
panelServices.Controls.Add(pictureService);
panelServices.Controls.Add(labelServices);
panelServices.Controls.Add(buttonServices);
panelServices.Dock = DockStyle.Top;
panelServices.Location = new Point(15, 1267);
panelServices.Location = new Point(15, 1279);
panelServices.Name = "panelServices";
panelServices.Size = new Size(983, 75);
panelServices.TabIndex = 3;
panelServices.TabIndex = 5;
//
// pictureService
//
@@ -228,6 +236,7 @@ namespace GHelper
//
// panelBindings
//
panelBindings.AccessibleName = "Key Bindings";
panelBindings.AutoSize = true;
panelBindings.AutoSizeMode = AutoSizeMode.GrowAndShrink;
panelBindings.Controls.Add(tableBindings);
@@ -236,10 +245,13 @@ namespace GHelper
panelBindings.Name = "panelBindings";
panelBindings.Padding = new Padding(0, 0, 11, 5);
panelBindings.Size = new Size(983, 351);
panelBindings.TabIndex = 5;
panelBindings.TabIndex = 1;
panelBindings.TabStop = true;
//
// tableBindings
//
tableBindings.AccessibleName = "Keyboard Bindings";
tableBindings.AccessibleRole = AccessibleRole.Table;
tableBindings.AutoSize = true;
tableBindings.AutoSizeMode = AutoSizeMode.GrowAndShrink;
tableBindings.ColumnCount = 3;
@@ -297,6 +309,7 @@ namespace GHelper
//
// comboFNE
//
comboFNE.AccessibleName = "Fn+Numpad Action";
comboFNE.BorderColor = Color.White;
comboFNE.ButtonColor = Color.FromArgb(255, 255, 255);
comboFNE.Dock = DockStyle.Top;
@@ -305,7 +318,7 @@ namespace GHelper
comboFNE.Margin = new Padding(4, 3, 4, 3);
comboFNE.Name = "comboFNE";
comboFNE.Size = new Size(374, 40);
comboFNE.TabIndex = 19;
comboFNE.TabIndex = 7;
//
// textFNE
//
@@ -316,6 +329,7 @@ namespace GHelper
textFNE.PlaceholderText = "action";
textFNE.Size = new Size(375, 39);
textFNE.TabIndex = 18;
textFNE.TabStop = false;
//
// labelFNC
//
@@ -337,6 +351,7 @@ namespace GHelper
textM2.PlaceholderText = "action";
textM2.Size = new Size(373, 39);
textM2.TabIndex = 14;
textM2.TabStop = false;
//
// textM1
//
@@ -347,9 +362,11 @@ namespace GHelper
textM1.PlaceholderText = "action";
textM1.Size = new Size(375, 39);
textM1.TabIndex = 13;
textM1.TabStop = false;
//
// comboM1
//
comboM1.AccessibleName = "M1 Action";
comboM1.BorderColor = Color.White;
comboM1.ButtonColor = Color.FromArgb(255, 255, 255);
comboM1.Dock = DockStyle.Top;
@@ -359,7 +376,7 @@ namespace GHelper
comboM1.Margin = new Padding(4, 3, 4, 3);
comboM1.Name = "comboM1";
comboM1.Size = new Size(374, 40);
comboM1.TabIndex = 11;
comboM1.TabIndex = 1;
//
// labelM1
//
@@ -374,6 +391,7 @@ namespace GHelper
//
// comboM4
//
comboM4.AccessibleName = "M4 Action";
comboM4.BorderColor = Color.White;
comboM4.ButtonColor = Color.FromArgb(255, 255, 255);
comboM4.Dock = DockStyle.Top;
@@ -383,10 +401,11 @@ namespace GHelper
comboM4.Margin = new Padding(4, 3, 4, 3);
comboM4.Name = "comboM4";
comboM4.Size = new Size(374, 40);
comboM4.TabIndex = 3;
comboM4.TabIndex = 4;
//
// comboM3
//
comboM3.AccessibleName = "M3 Action";
comboM3.BorderColor = Color.White;
comboM3.ButtonColor = Color.FromArgb(255, 255, 255);
comboM3.Dock = DockStyle.Top;
@@ -396,7 +415,7 @@ namespace GHelper
comboM3.Margin = new Padding(4, 3, 4, 3);
comboM3.Name = "comboM3";
comboM3.Size = new Size(374, 40);
comboM3.TabIndex = 1;
comboM3.TabIndex = 3;
//
// textM4
//
@@ -407,6 +426,7 @@ namespace GHelper
textM4.PlaceholderText = "action";
textM4.Size = new Size(375, 39);
textM4.TabIndex = 5;
textM4.TabStop = false;
//
// textM3
//
@@ -417,6 +437,7 @@ namespace GHelper
textM3.PlaceholderText = "action";
textM3.Size = new Size(375, 39);
textM3.TabIndex = 4;
textM3.TabStop = false;
//
// labelM4
//
@@ -453,6 +474,7 @@ namespace GHelper
//
// comboM2
//
comboM2.AccessibleName = "M2 Action";
comboM2.BorderColor = Color.White;
comboM2.ButtonColor = Color.FromArgb(255, 255, 255);
comboM2.Dock = DockStyle.Top;
@@ -462,7 +484,7 @@ namespace GHelper
comboM2.Margin = new Padding(4, 3, 4, 3);
comboM2.Name = "comboM2";
comboM2.Size = new Size(374, 40);
comboM2.TabIndex = 12;
comboM2.TabIndex = 2;
//
// labelFNF4
//
@@ -477,6 +499,7 @@ namespace GHelper
//
// comboFNF4
//
comboFNF4.AccessibleName = "Fn+F4 Action";
comboFNF4.BorderColor = Color.White;
comboFNF4.ButtonColor = Color.FromArgb(255, 255, 255);
comboFNF4.Dock = DockStyle.Top;
@@ -485,7 +508,7 @@ namespace GHelper
comboFNF4.Margin = new Padding(4, 3, 4, 3);
comboFNF4.Name = "comboFNF4";
comboFNF4.Size = new Size(374, 40);
comboFNF4.TabIndex = 7;
comboFNF4.TabIndex = 5;
//
// textFNF4
//
@@ -496,9 +519,11 @@ namespace GHelper
textFNF4.PlaceholderText = "action";
textFNF4.Size = new Size(375, 39);
textFNF4.TabIndex = 8;
textFNF4.TabStop = false;
//
// comboFNC
//
comboFNC.AccessibleName = "Fn+C Action";
comboFNC.BorderColor = Color.White;
comboFNC.ButtonColor = Color.FromArgb(255, 255, 255);
comboFNC.Dock = DockStyle.Top;
@@ -507,7 +532,7 @@ namespace GHelper
comboFNC.Margin = new Padding(4, 3, 4, 3);
comboFNC.Name = "comboFNC";
comboFNC.Size = new Size(374, 40);
comboFNC.TabIndex = 16;
comboFNC.TabIndex = 6;
//
// textFNC
//
@@ -518,6 +543,7 @@ namespace GHelper
textFNC.PlaceholderText = "action";
textFNC.Size = new Size(375, 39);
textFNC.TabIndex = 17;
textFNC.TabStop = false;
//
// tableKeys
//
@@ -562,6 +588,7 @@ namespace GHelper
sliderBrightness.Size = new Size(500, 40);
sliderBrightness.Step = 1;
sliderBrightness.TabIndex = 50;
sliderBrightness.TabStop = false;
sliderBrightness.Text = "sliderBrightness";
sliderBrightness.Value = 3;
//
@@ -596,7 +623,7 @@ namespace GHelper
panelBacklight.Name = "panelBacklight";
panelBacklight.Padding = new Padding(0, 5, 0, 5);
panelBacklight.Size = new Size(983, 402);
panelBacklight.TabIndex = 6;
panelBacklight.TabIndex = 2;
//
// panelBacklightExtra
//
@@ -617,23 +644,25 @@ namespace GHelper
//
// numericBacklightPluggedTime
//
numericBacklightPluggedTime.AccessibleName = "Backlight Timeout when plugged";
numericBacklightPluggedTime.Anchor = AnchorStyles.Top | AnchorStyles.Right;
numericBacklightPluggedTime.Location = new Point(670, 63);
numericBacklightPluggedTime.Margin = new Padding(4, 3, 4, 3);
numericBacklightPluggedTime.Maximum = new decimal(new int[] { 3600, 0, 0, 0 });
numericBacklightPluggedTime.Name = "numericBacklightPluggedTime";
numericBacklightPluggedTime.Size = new Size(140, 39);
numericBacklightPluggedTime.TabIndex = 49;
numericBacklightPluggedTime.TabIndex = 1;
//
// numericBacklightTime
//
numericBacklightTime.AccessibleName = "Backlight Timeout when on battery";
numericBacklightTime.Anchor = AnchorStyles.Top | AnchorStyles.Right;
numericBacklightTime.Location = new Point(822, 63);
numericBacklightTime.Margin = new Padding(4, 3, 4, 3);
numericBacklightTime.Maximum = new decimal(new int[] { 3600, 0, 0, 0 });
numericBacklightTime.Name = "numericBacklightTime";
numericBacklightTime.Size = new Size(140, 39);
numericBacklightTime.TabIndex = 47;
numericBacklightTime.TabIndex = 2;
//
// labelBacklightTimeout
//
@@ -655,6 +684,7 @@ namespace GHelper
//
// comboKeyboardSpeed
//
comboKeyboardSpeed.AccessibleName = "Keyboard Animation Speed";
comboKeyboardSpeed.Anchor = AnchorStyles.Top | AnchorStyles.Right;
comboKeyboardSpeed.BorderColor = Color.White;
comboKeyboardSpeed.ButtonColor = SystemColors.ControlLight;
@@ -667,7 +697,7 @@ namespace GHelper
comboKeyboardSpeed.Margin = new Padding(4, 12, 4, 9);
comboKeyboardSpeed.Name = "comboKeyboardSpeed";
comboKeyboardSpeed.Size = new Size(293, 40);
comboKeyboardSpeed.TabIndex = 43;
comboKeyboardSpeed.TabIndex = 0;
comboKeyboardSpeed.TabStop = false;
//
// panelXMG
@@ -747,6 +777,7 @@ namespace GHelper
//
// checkAwake
//
checkAwake.AccessibleName = "Awake Backlight";
checkAwake.Dock = DockStyle.Fill;
checkAwake.Location = new Point(4, 45);
checkAwake.Margin = new Padding(4, 0, 4, 0);
@@ -759,6 +790,7 @@ namespace GHelper
//
// checkBoot
//
checkBoot.AccessibleName = "Boot Backlight";
checkBoot.Dock = DockStyle.Fill;
checkBoot.Location = new Point(4, 88);
checkBoot.Margin = new Padding(4, 0, 4, 0);
@@ -771,6 +803,7 @@ namespace GHelper
//
// checkSleep
//
checkSleep.AccessibleName = "Sleep Backlight";
checkSleep.Dock = DockStyle.Fill;
checkSleep.Location = new Point(4, 131);
checkSleep.Margin = new Padding(4, 0, 4, 0);
@@ -783,6 +816,7 @@ namespace GHelper
//
// checkShutdown
//
checkShutdown.AccessibleName = "Shutdown Backlight";
checkShutdown.Dock = DockStyle.Fill;
checkShutdown.Location = new Point(4, 174);
checkShutdown.Margin = new Padding(4, 0, 4, 0);
@@ -1022,48 +1056,36 @@ namespace GHelper
//
// panelSettings
//
panelSettings.AccessibleName = "Extra Settings";
panelSettings.AccessibleRole = AccessibleRole.Grouping;
panelSettings.AutoSize = true;
panelSettings.AutoSizeMode = AutoSizeMode.GrowAndShrink;
panelSettings.Controls.Add(checkAutoToggleClamshellMode);
panelSettings.Controls.Add(checkAutoApplyWindowsPowerMode);
panelSettings.Controls.Add(checkTopmost);
panelSettings.Controls.Add(checkNoOverdrive);
panelSettings.Controls.Add(checkUSBC);
panelSettings.Controls.Add(checkVariBright);
panelSettings.Controls.Add(checkGpuApps);
panelSettings.Controls.Add(checkFnLock);
panelSettings.Controls.Add(checkGPUFix);
panelSettings.Dock = DockStyle.Top;
panelSettings.Location = new Point(15, 921);
panelSettings.Name = "panelSettings";
panelSettings.Padding = new Padding(20, 5, 11, 5);
panelSettings.Size = new Size(983, 346);
panelSettings.TabIndex = 46;
panelSettings.Size = new Size(983, 304);
panelSettings.TabIndex = 3;
//
// checkAutoToggleClamshellMode
//
checkAutoToggleClamshellMode.AutoSize = true;
checkAutoToggleClamshellMode.Dock = DockStyle.Top;
checkAutoToggleClamshellMode.Location = new Point(20, 299);
checkAutoToggleClamshellMode.Location = new Point(20, 257);
checkAutoToggleClamshellMode.Name = "checkAutoToggleClamshellMode";
checkAutoToggleClamshellMode.Padding = new Padding(3);
checkAutoToggleClamshellMode.Size = new Size(952, 42);
checkAutoToggleClamshellMode.TabIndex = 58;
checkAutoToggleClamshellMode.TabIndex = 8;
checkAutoToggleClamshellMode.Text = "Auto Toggle Clamshell Mode";
checkAutoToggleClamshellMode.UseVisualStyleBackColor = true;
//
// checkAutoApplyWindowsPowerMode
//
checkAutoApplyWindowsPowerMode.AutoSize = true;
checkAutoApplyWindowsPowerMode.Dock = DockStyle.Top;
checkAutoApplyWindowsPowerMode.Location = new Point(20, 257);
checkAutoApplyWindowsPowerMode.Margin = new Padding(4, 3, 4, 3);
checkAutoApplyWindowsPowerMode.Name = "checkAutoApplyWindowsPowerMode";
checkAutoApplyWindowsPowerMode.Padding = new Padding(3);
checkAutoApplyWindowsPowerMode.Size = new Size(952, 42);
checkAutoApplyWindowsPowerMode.TabIndex = 54;
checkAutoApplyWindowsPowerMode.Text = "Auto Adjust Windows Power Mode";
checkAutoApplyWindowsPowerMode.UseVisualStyleBackColor = true;
//
// checkTopmost
//
checkTopmost.AutoSize = true;
@@ -1073,7 +1095,7 @@ namespace GHelper
checkTopmost.Name = "checkTopmost";
checkTopmost.Padding = new Padding(3);
checkTopmost.Size = new Size(952, 42);
checkTopmost.TabIndex = 51;
checkTopmost.TabIndex = 6;
checkTopmost.Text = Strings.WindowTop;
checkTopmost.UseVisualStyleBackColor = true;
//
@@ -1086,7 +1108,7 @@ namespace GHelper
checkNoOverdrive.Name = "checkNoOverdrive";
checkNoOverdrive.Padding = new Padding(3);
checkNoOverdrive.Size = new Size(952, 42);
checkNoOverdrive.TabIndex = 52;
checkNoOverdrive.TabIndex = 5;
checkNoOverdrive.Text = Strings.DisableOverdrive;
checkNoOverdrive.UseVisualStyleBackColor = true;
//
@@ -1099,7 +1121,7 @@ namespace GHelper
checkUSBC.Name = "checkUSBC";
checkUSBC.Padding = new Padding(3);
checkUSBC.Size = new Size(952, 42);
checkUSBC.TabIndex = 53;
checkUSBC.TabIndex = 4;
checkUSBC.Text = "Keep GPU disabled on USB-C charger in Optimized mode";
checkUSBC.UseVisualStyleBackColor = true;
//
@@ -1112,7 +1134,7 @@ namespace GHelper
checkVariBright.Name = "checkVariBright";
checkVariBright.Padding = new Padding(3);
checkVariBright.Size = new Size(952, 42);
checkVariBright.TabIndex = 57;
checkVariBright.TabIndex = 3;
checkVariBright.Text = "AMD Display VariBright";
checkVariBright.UseVisualStyleBackColor = true;
//
@@ -1125,33 +1147,75 @@ namespace GHelper
checkGpuApps.Name = "checkGpuApps";
checkGpuApps.Padding = new Padding(3);
checkGpuApps.Size = new Size(952, 42);
checkGpuApps.TabIndex = 55;
checkGpuApps.TabIndex = 2;
checkGpuApps.Text = "Stop all apps using GPU when switching to Eco";
checkGpuApps.UseVisualStyleBackColor = true;
//
// checkFnLock
// checkGPUFix
//
checkFnLock.AutoSize = true;
checkFnLock.Dock = DockStyle.Top;
checkFnLock.Location = new Point(20, 5);
checkFnLock.Margin = new Padding(4, 3, 4, 3);
checkFnLock.MaximumSize = new Size(800, 0);
checkFnLock.Name = "checkFnLock";
checkFnLock.Padding = new Padding(3);
checkFnLock.Size = new Size(800, 42);
checkFnLock.TabIndex = 56;
checkFnLock.Text = "Process Fn+F hotkeys without Fn";
checkFnLock.UseVisualStyleBackColor = true;
checkGPUFix.AutoSize = true;
checkGPUFix.Dock = DockStyle.Top;
checkGPUFix.Location = new Point(20, 5);
checkGPUFix.Margin = new Padding(4, 3, 4, 3);
checkGPUFix.Name = "checkGPUFix";
checkGPUFix.Padding = new Padding(3);
checkGPUFix.Size = new Size(952, 42);
checkGPUFix.TabIndex = 9;
checkGPUFix.Text = "Enable GPU on shutdown (prevents issue with Eco mode)";
checkGPUFix.UseVisualStyleBackColor = true;
//
// panelPower
//
panelPower.Controls.Add(numericHibernateAfter);
panelPower.Controls.Add(labelHibernateAfter);
panelPower.Controls.Add(pictureHibernate);
panelPower.Dock = DockStyle.Top;
panelPower.Location = new Point(15, 1225);
panelPower.Name = "panelPower";
panelPower.Size = new Size(983, 54);
panelPower.TabIndex = 4;
//
// numericHibernateAfter
//
numericHibernateAfter.AccessibleName = "Minutes till Hibernation in sleep";
numericHibernateAfter.Anchor = AnchorStyles.Top | AnchorStyles.Right;
numericHibernateAfter.Increment = new decimal(new int[] { 10, 0, 0, 0 });
numericHibernateAfter.Location = new Point(810, 7);
numericHibernateAfter.Margin = new Padding(4, 3, 4, 3);
numericHibernateAfter.Maximum = new decimal(new int[] { 3000000, 0, 0, 0 });
numericHibernateAfter.Name = "numericHibernateAfter";
numericHibernateAfter.Size = new Size(152, 39);
numericHibernateAfter.TabIndex = 1;
//
// labelHibernateAfter
//
labelHibernateAfter.AutoSize = true;
labelHibernateAfter.Location = new Point(59, 10);
labelHibernateAfter.Margin = new Padding(4, 0, 4, 0);
labelHibernateAfter.Name = "labelHibernateAfter";
labelHibernateAfter.Size = new Size(457, 32);
labelHibernateAfter.TabIndex = 45;
labelHibernateAfter.Text = "Minutes till Hibernation in sleep (0 - OFF)";
//
// pictureHibernate
//
pictureHibernate.BackgroundImage = Resources.icons8_hibernate_32;
pictureHibernate.BackgroundImageLayout = ImageLayout.Zoom;
pictureHibernate.Location = new Point(20, 10);
pictureHibernate.Name = "pictureHibernate";
pictureHibernate.Size = new Size(32, 32);
pictureHibernate.TabIndex = 22;
pictureHibernate.TabStop = false;
//
// Extra
//
AutoScaleDimensions = new SizeF(192F, 192F);
AutoScaleMode = AutoScaleMode.Dpi;
AutoScroll = true;
AutoSize = true;
AutoSizeMode = AutoSizeMode.GrowAndShrink;
ClientSize = new Size(1013, 1431);
ClientSize = new Size(1013, 1467);
Controls.Add(panelServices);
Controls.Add(panelPower);
Controls.Add(panelSettings);
Controls.Add(panelSettingsHeader);
Controls.Add(panelBacklight);
@@ -1163,7 +1227,7 @@ namespace GHelper
MaximizeBox = false;
MdiChildrenMinimizedAnchorBottom = false;
MinimizeBox = false;
MinimumSize = new Size(1033, 71);
MinimumSize = new Size(1033, 0);
Name = "Extra";
Padding = new Padding(15);
ShowIcon = false;
@@ -1197,6 +1261,10 @@ namespace GHelper
((System.ComponentModel.ISupportInitialize)pictureSettings).EndInit();
panelSettings.ResumeLayout(false);
panelSettings.PerformLayout();
panelPower.ResumeLayout(false);
panelPower.PerformLayout();
((System.ComponentModel.ISupportInitialize)numericHibernateAfter).EndInit();
((System.ComponentModel.ISupportInitialize)pictureHibernate).EndInit();
ResumeLayout(false);
PerformLayout();
}
@@ -1265,13 +1333,11 @@ namespace GHelper
private PictureBox pictureSettings;
private Label labelSettings;
private Panel panelSettings;
private CheckBox checkAutoApplyWindowsPowerMode;
private CheckBox checkTopmost;
private CheckBox checkNoOverdrive;
private CheckBox checkUSBC;
private CheckBox checkVariBright;
private CheckBox checkGpuApps;
private CheckBox checkFnLock;
private PictureBox pictureBacklight;
private Label labelBacklightTitle;
private PictureBox pictureService;
@@ -1282,5 +1348,10 @@ namespace GHelper
private RComboBox comboFNE;
private TextBox textFNE;
private Slider slider1;
private Panel panelPower;
private PictureBox pictureHibernate;
private Label labelHibernateAfter;
private NumericUpDown numericHibernateAfter;
private CheckBox checkGPUFix;
}
}

View File

@@ -2,6 +2,7 @@
using GHelper.Gpu.AMD;
using GHelper.Helpers;
using GHelper.Input;
using GHelper.Mode;
using GHelper.UI;
using System.Diagnostics;
@@ -117,8 +118,6 @@ namespace GHelper
checkNoOverdrive.Text = Properties.Strings.DisableOverdrive;
checkTopmost.Text = Properties.Strings.WindowTop;
checkUSBC.Text = Properties.Strings.OptimizedUSBC;
checkAutoApplyWindowsPowerMode.Text = Properties.Strings.ApplyWindowsPowerPlan;
checkFnLock.Text = Properties.Strings.FnLock;
checkAutoToggleClamshellMode.Text = Properties.Strings.ToggleClamshellMode;
labelBacklightKeyboard.Text = Properties.Strings.Keyboard;
@@ -127,6 +126,7 @@ namespace GHelper
labelBacklightLogo.Text = Properties.Strings.Logo;
checkGpuApps.Text = Properties.Strings.KillGpuApps;
labelHibernateAfter.Text = Properties.Strings.HibernateAfter;
Text = Properties.Strings.ExtraSettings;
@@ -183,7 +183,6 @@ namespace GHelper
SetKeyCombo(comboFNF4, textFNF4, "paddle");
}
else
{
SetKeyCombo(comboM1, textM1, "m1");
@@ -197,6 +196,10 @@ namespace GHelper
SetKeyCombo(comboFNE, textFNE, "fne");
}
if (AppConfig.IsStrix())
{
labelM4.Text = "M5/ROG";
}
InitTheme();
@@ -292,9 +295,6 @@ namespace GHelper
checkUSBC.Checked = AppConfig.Is("optimized_usbc");
checkUSBC.CheckedChanged += CheckUSBC_CheckedChanged;
checkAutoApplyWindowsPowerMode.Checked = (AppConfig.Get("auto_apply_power_plan") != 0);
checkAutoApplyWindowsPowerMode.CheckedChanged += checkAutoApplyWindowsPowerMode_CheckedChanged;
sliderBrightness.Value = InputDispatcher.GetBacklight();
sliderBrightness.ValueChanged += SliderBrightness_ValueChanged;
@@ -311,17 +311,46 @@ namespace GHelper
checkGpuApps.Checked = AppConfig.Is("kill_gpu_apps");
checkGpuApps.CheckedChanged += CheckGpuApps_CheckedChanged;
checkFnLock.Checked = AppConfig.Is("fn_lock");
checkFnLock.CheckedChanged += CheckFnLock_CheckedChanged; ;
pictureHelp.Click += PictureHelp_Click;
buttonServices.Click += ButtonServices_Click;
pictureLog.Click += PictureLog_Click;
checkGPUFix.Visible = AppConfig.IsGPUFixNeeded();
checkGPUFix.Checked = AppConfig.IsGPUFix();
checkGPUFix.CheckedChanged += CheckGPUFix_CheckedChanged;
InitVariBright();
InitServices();
InitHibernate();
}
private void CheckGPUFix_CheckedChanged(object? sender, EventArgs e)
{
AppConfig.Set("gpu_fix", (checkGPUFix.Checked ? 1 : 0));
}
private void InitHibernate()
{
try
{
int hibernate = PowerNative.GetHibernateAfter();
if (hibernate < 0 || hibernate > numericHibernateAfter.Maximum) hibernate = 0;
numericHibernateAfter.Value = hibernate;
numericHibernateAfter.ValueChanged += NumericHibernateAfter_ValueChanged;
}
catch (Exception ex)
{
panelPower.Visible = false;
Logger.WriteLine(ex.ToString());
}
}
private void NumericHibernateAfter_ValueChanged(object? sender, EventArgs e)
{
PowerNative.SetHibernateAfter((int)numericHibernateAfter.Value);
}
private void PictureLog_Click(object? sender, EventArgs e)
@@ -337,8 +366,13 @@ namespace GHelper
private void SliderBrightness_ValueChanged(object? sender, EventArgs e)
{
AppConfig.Set("keyboard_brightness", sliderBrightness.Value);
AppConfig.Set("keyboard_brightness_ac", sliderBrightness.Value);
bool onBattery = SystemInformation.PowerStatus.PowerLineStatus != PowerLineStatus.Online;
if (onBattery)
AppConfig.Set("keyboard_brightness_ac", sliderBrightness.Value);
else
AppConfig.Set("keyboard_brightness", sliderBrightness.Value);
AsusUSB.ApplyBrightness(sliderBrightness.Value, "Slider");
}
@@ -406,6 +440,7 @@ namespace GHelper
{
try
{
using (var amdControl = new AmdGpuControl())
{
int variBrightSupported = 0, VariBrightEnabled;
@@ -438,15 +473,6 @@ namespace GHelper
}
}
private void CheckFnLock_CheckedChanged(object? sender, EventArgs e)
{
int fnLock = checkFnLock.Checked ? 1 : 0;
AppConfig.Set("fn_lock", fnLock);
Program.acpi.DeviceSet(AsusACPI.FnLock, (fnLock == 1) ? 0 : 1, "FnLock");
Program.inputDispatcher.RegisterKeys();
}
private void CheckGpuApps_CheckedChanged(object? sender, EventArgs e)
{
AppConfig.Set("kill_gpu_apps", (checkGpuApps.Checked ? 1 : 0));
@@ -535,10 +561,6 @@ namespace GHelper
Left = Program.settingsForm.Left - Width - 5;
}
private void checkAutoApplyWindowsPowerMode_CheckedChanged(object? sender, EventArgs e)
{
AppConfig.Set("auto_apply_power_plan", checkAutoApplyWindowsPowerMode.Checked ? 1 : 0);
}
private void checkAutoToggleClamshellMode_CheckedChanged(object? sender, EventArgs e)
{

221
app/Fans.Designer.cs generated
View File

@@ -31,14 +31,14 @@ namespace GHelper
/// </summary>
private void InitializeComponent()
{
ChartArea chartArea1 = new ChartArea();
Title title1 = new Title();
ChartArea chartArea2 = new ChartArea();
Title title2 = new Title();
ChartArea chartArea3 = new ChartArea();
Title title3 = new Title();
ChartArea chartArea4 = new ChartArea();
Title title4 = new Title();
ChartArea chartArea9 = new ChartArea();
Title title9 = new Title();
ChartArea chartArea10 = new ChartArea();
Title title10 = new Title();
ChartArea chartArea11 = new ChartArea();
Title title11 = new Title();
ChartArea chartArea12 = new ChartArea();
Title title12 = new Title();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Fans));
panelFans = new Panel();
labelTip = new Label();
@@ -106,6 +106,11 @@ namespace GHelper
panelBoostTitle = new Panel();
pictureBoost = new PictureBox();
labelBoost = new Label();
panelPowerMode = new Panel();
comboPowerMode = new RComboBox();
panelPowerModeTItle = new Panel();
picturePowerMode = new PictureBox();
labelPowerModeTitle = new Label();
panelGPU = new Panel();
panelGPUTemp = new Panel();
labelGPUTemp = new Label();
@@ -131,6 +136,10 @@ namespace GHelper
buttonAdvanced = new RButton();
buttonGPU = new RButton();
buttonCPU = new RButton();
panelGPUClockLimit = new Panel();
labelGPUClockLimit = new Label();
trackGPUClockLimit = new TrackBar();
labelGPUClockLimitTitle = new Label();
panelFans.SuspendLayout();
tableFanCharts.SuspendLayout();
((System.ComponentModel.ISupportInitialize)chartGPU).BeginInit();
@@ -167,6 +176,9 @@ namespace GHelper
panelBoost.SuspendLayout();
panelBoostTitle.SuspendLayout();
((System.ComponentModel.ISupportInitialize)pictureBoost).BeginInit();
panelPowerMode.SuspendLayout();
panelPowerModeTItle.SuspendLayout();
((System.ComponentModel.ISupportInitialize)picturePowerMode).BeginInit();
panelGPU.SuspendLayout();
panelGPUTemp.SuspendLayout();
((System.ComponentModel.ISupportInitialize)trackGPUTemp).BeginInit();
@@ -180,6 +192,8 @@ namespace GHelper
((System.ComponentModel.ISupportInitialize)pictureGPU).BeginInit();
panelNav.SuspendLayout();
tableNav.SuspendLayout();
panelGPUClockLimit.SuspendLayout();
((System.ComponentModel.ISupportInitialize)trackGPUClockLimit).BeginInit();
SuspendLayout();
//
// panelFans
@@ -236,8 +250,8 @@ namespace GHelper
//
// chartGPU
//
chartArea1.Name = "ChartArea1";
chartGPU.ChartAreas.Add(chartArea1);
chartArea9.Name = "ChartArea1";
chartGPU.ChartAreas.Add(chartArea9);
chartGPU.Dock = DockStyle.Fill;
chartGPU.Location = new Point(12, 491);
chartGPU.Margin = new Padding(2, 10, 2, 10);
@@ -245,13 +259,13 @@ namespace GHelper
chartGPU.Size = new Size(782, 461);
chartGPU.TabIndex = 17;
chartGPU.Text = "chartGPU";
title1.Name = "Title1";
chartGPU.Titles.Add(title1);
title9.Name = "Title1";
chartGPU.Titles.Add(title9);
//
// chartCPU
//
chartArea2.Name = "ChartArea1";
chartCPU.ChartAreas.Add(chartArea2);
chartArea10.Name = "ChartArea1";
chartCPU.ChartAreas.Add(chartArea10);
chartCPU.Dock = DockStyle.Fill;
chartCPU.Location = new Point(12, 10);
chartCPU.Margin = new Padding(2, 10, 2, 10);
@@ -259,13 +273,13 @@ namespace GHelper
chartCPU.Size = new Size(782, 461);
chartCPU.TabIndex = 14;
chartCPU.Text = "chartCPU";
title2.Name = "Title1";
chartCPU.Titles.Add(title2);
title10.Name = "Title1";
chartCPU.Titles.Add(title10);
//
// chartXGM
//
chartArea3.Name = "ChartAreaXGM";
chartXGM.ChartAreas.Add(chartArea3);
chartArea11.Name = "ChartAreaXGM";
chartXGM.ChartAreas.Add(chartArea11);
chartXGM.Dock = DockStyle.Fill;
chartXGM.Location = new Point(12, 1453);
chartXGM.Margin = new Padding(2, 10, 2, 10);
@@ -273,14 +287,14 @@ namespace GHelper
chartXGM.Size = new Size(782, 464);
chartXGM.TabIndex = 14;
chartXGM.Text = "chartXGM";
title3.Name = "Title4";
chartXGM.Titles.Add(title3);
title11.Name = "Title4";
chartXGM.Titles.Add(title11);
chartXGM.Visible = false;
//
// chartMid
//
chartArea4.Name = "ChartArea3";
chartMid.ChartAreas.Add(chartArea4);
chartArea12.Name = "ChartArea3";
chartMid.ChartAreas.Add(chartArea12);
chartMid.Dock = DockStyle.Fill;
chartMid.Location = new Point(12, 972);
chartMid.Margin = new Padding(2, 10, 2, 10);
@@ -288,8 +302,8 @@ namespace GHelper
chartMid.Size = new Size(782, 461);
chartMid.TabIndex = 14;
chartMid.Text = "chartMid";
title4.Name = "Title3";
chartMid.Titles.Add(title4);
title12.Name = "Title3";
chartMid.Titles.Add(title12);
chartMid.Visible = false;
//
// panelTitleFans
@@ -491,7 +505,7 @@ namespace GHelper
panelAdvanced.Controls.Add(panelTemperature);
panelAdvanced.Controls.Add(panelTitleTemp);
panelAdvanced.Dock = DockStyle.Top;
panelAdvanced.Location = new Point(10, 1272);
panelAdvanced.Location = new Point(10, 1520);
panelAdvanced.Name = "panelAdvanced";
panelAdvanced.Size = new Size(520, 888);
panelAdvanced.TabIndex = 14;
@@ -786,11 +800,13 @@ namespace GHelper
panelPower.Controls.Add(panelTitleCPU);
panelPower.Controls.Add(panelBoost);
panelPower.Controls.Add(panelBoostTitle);
panelPower.Controls.Add(panelPowerMode);
panelPower.Controls.Add(panelPowerModeTItle);
panelPower.Dock = DockStyle.Top;
panelPower.Location = new Point(10, 640);
panelPower.Location = new Point(10, 764);
panelPower.Margin = new Padding(4);
panelPower.Name = "panelPower";
panelPower.Size = new Size(520, 632);
panelPower.Size = new Size(520, 756);
panelPower.TabIndex = 43;
//
// panelApplyPower
@@ -798,7 +814,7 @@ namespace GHelper
panelApplyPower.AutoSize = true;
panelApplyPower.Controls.Add(checkApplyPower);
panelApplyPower.Dock = DockStyle.Top;
panelApplyPower.Location = new Point(0, 556);
panelApplyPower.Location = new Point(0, 680);
panelApplyPower.Name = "panelApplyPower";
panelApplyPower.Padding = new Padding(15);
panelApplyPower.Size = new Size(520, 76);
@@ -825,7 +841,7 @@ namespace GHelper
panelB0.Controls.Add(labelLeftB0);
panelB0.Controls.Add(trackB0);
panelB0.Dock = DockStyle.Top;
panelB0.Location = new Point(0, 432);
panelB0.Location = new Point(0, 556);
panelB0.Margin = new Padding(4);
panelB0.MaximumSize = new Size(0, 124);
panelB0.Name = "panelB0";
@@ -874,7 +890,7 @@ namespace GHelper
panelC1.Controls.Add(labelLeftC1);
panelC1.Controls.Add(trackC1);
panelC1.Dock = DockStyle.Top;
panelC1.Location = new Point(0, 308);
panelC1.Location = new Point(0, 432);
panelC1.Margin = new Padding(4);
panelC1.MaximumSize = new Size(0, 124);
panelC1.Name = "panelC1";
@@ -923,7 +939,7 @@ namespace GHelper
panelA0.Controls.Add(labelLeftA0);
panelA0.Controls.Add(trackA0);
panelA0.Dock = DockStyle.Top;
panelA0.Location = new Point(0, 184);
panelA0.Location = new Point(0, 308);
panelA0.Margin = new Padding(4);
panelA0.MaximumSize = new Size(0, 124);
panelA0.Name = "panelA0";
@@ -971,7 +987,7 @@ namespace GHelper
panelTitleCPU.Controls.Add(pictureBoxCPU);
panelTitleCPU.Controls.Add(labelPowerLimits);
panelTitleCPU.Dock = DockStyle.Top;
panelTitleCPU.Location = new Point(0, 124);
panelTitleCPU.Location = new Point(0, 248);
panelTitleCPU.Margin = new Padding(4);
panelTitleCPU.Name = "panelTitleCPU";
panelTitleCPU.Size = new Size(520, 60);
@@ -1004,7 +1020,7 @@ namespace GHelper
//
panelBoost.Controls.Add(comboBoost);
panelBoost.Dock = DockStyle.Top;
panelBoost.Location = new Point(0, 60);
panelBoost.Location = new Point(0, 184);
panelBoost.Margin = new Padding(4);
panelBoost.Name = "panelBoost";
panelBoost.Size = new Size(520, 64);
@@ -1017,7 +1033,7 @@ namespace GHelper
panelBoostTitle.Controls.Add(pictureBoost);
panelBoostTitle.Controls.Add(labelBoost);
panelBoostTitle.Dock = DockStyle.Top;
panelBoostTitle.Location = new Point(0, 0);
panelBoostTitle.Location = new Point(0, 124);
panelBoostTitle.Margin = new Padding(4);
panelBoostTitle.Name = "panelBoostTitle";
panelBoostTitle.Size = new Size(520, 60);
@@ -1046,6 +1062,66 @@ namespace GHelper
labelBoost.TabIndex = 39;
labelBoost.Text = "CPU Boost";
//
// panelPowerMode
//
panelPowerMode.Controls.Add(comboPowerMode);
panelPowerMode.Dock = DockStyle.Top;
panelPowerMode.Location = new Point(0, 60);
panelPowerMode.Margin = new Padding(4);
panelPowerMode.Name = "panelPowerMode";
panelPowerMode.Size = new Size(520, 64);
panelPowerMode.TabIndex = 49;
//
// comboPowerMode
//
comboPowerMode.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
comboPowerMode.BorderColor = Color.White;
comboPowerMode.ButtonColor = Color.FromArgb(255, 255, 255);
comboPowerMode.DropDownStyle = ComboBoxStyle.DropDownList;
comboPowerMode.FormattingEnabled = true;
comboPowerMode.Items.AddRange(new object[] { "Disabled", "Enabled", "Aggressive", "Efficient Enabled", "Efficient Aggressive", "Aggressive at Guaranteed", "Efficient at Guaranteed" });
comboPowerMode.Location = new Point(13, 12);
comboPowerMode.Margin = new Padding(4);
comboPowerMode.Name = "comboPowerMode";
comboPowerMode.Size = new Size(329, 40);
comboPowerMode.TabIndex = 42;
//
// panelPowerModeTItle
//
panelPowerModeTItle.AutoSize = true;
panelPowerModeTItle.AutoSizeMode = AutoSizeMode.GrowAndShrink;
panelPowerModeTItle.Controls.Add(picturePowerMode);
panelPowerModeTItle.Controls.Add(labelPowerModeTitle);
panelPowerModeTItle.Dock = DockStyle.Top;
panelPowerModeTItle.Location = new Point(0, 0);
panelPowerModeTItle.Margin = new Padding(4);
panelPowerModeTItle.Name = "panelPowerModeTItle";
panelPowerModeTItle.Size = new Size(520, 60);
panelPowerModeTItle.TabIndex = 50;
//
// picturePowerMode
//
picturePowerMode.BackgroundImage = Properties.Resources.icons8_gauge_32;
picturePowerMode.BackgroundImageLayout = ImageLayout.Zoom;
picturePowerMode.InitialImage = null;
picturePowerMode.Location = new Point(10, 18);
picturePowerMode.Margin = new Padding(4, 2, 4, 10);
picturePowerMode.Name = "picturePowerMode";
picturePowerMode.Size = new Size(32, 32);
picturePowerMode.TabIndex = 40;
picturePowerMode.TabStop = false;
//
// labelPowerModeTitle
//
labelPowerModeTitle.AutoSize = true;
labelPowerModeTitle.Font = new Font("Segoe UI", 9F, FontStyle.Bold, GraphicsUnit.Point);
labelPowerModeTitle.Location = new Point(46, 18);
labelPowerModeTitle.Margin = new Padding(4, 0, 4, 0);
labelPowerModeTitle.Name = "labelPowerModeTitle";
labelPowerModeTitle.Size = new Size(271, 32);
labelPowerModeTitle.TabIndex = 39;
labelPowerModeTitle.Text = "Windows Power Mode";
//
// panelGPU
//
panelGPU.AutoSize = true;
@@ -1053,13 +1129,14 @@ namespace GHelper
panelGPU.Controls.Add(panelGPUBoost);
panelGPU.Controls.Add(panelGPUMemory);
panelGPU.Controls.Add(panelGPUCore);
panelGPU.Controls.Add(panelGPUClockLimit);
panelGPU.Controls.Add(panelTitleGPU);
panelGPU.Dock = DockStyle.Top;
panelGPU.Location = new Point(10, 66);
panelGPU.Margin = new Padding(4);
panelGPU.Name = "panelGPU";
panelGPU.Padding = new Padding(0, 0, 0, 18);
panelGPU.Size = new Size(520, 574);
panelGPU.Size = new Size(520, 698);
panelGPU.TabIndex = 44;
panelGPU.Visible = false;
//
@@ -1071,7 +1148,7 @@ namespace GHelper
panelGPUTemp.Controls.Add(labelGPUTempTitle);
panelGPUTemp.Controls.Add(trackGPUTemp);
panelGPUTemp.Dock = DockStyle.Top;
panelGPUTemp.Location = new Point(0, 432);
panelGPUTemp.Location = new Point(0, 556);
panelGPUTemp.Margin = new Padding(4);
panelGPUTemp.MaximumSize = new Size(0, 124);
panelGPUTemp.Name = "panelGPUTemp";
@@ -1120,7 +1197,7 @@ namespace GHelper
panelGPUBoost.Controls.Add(labelGPUBoostTitle);
panelGPUBoost.Controls.Add(trackGPUBoost);
panelGPUBoost.Dock = DockStyle.Top;
panelGPUBoost.Location = new Point(0, 308);
panelGPUBoost.Location = new Point(0, 432);
panelGPUBoost.Margin = new Padding(4);
panelGPUBoost.MaximumSize = new Size(0, 124);
panelGPUBoost.Name = "panelGPUBoost";
@@ -1169,7 +1246,7 @@ namespace GHelper
panelGPUMemory.Controls.Add(labelGPUMemoryTitle);
panelGPUMemory.Controls.Add(trackGPUMemory);
panelGPUMemory.Dock = DockStyle.Top;
panelGPUMemory.Location = new Point(0, 184);
panelGPUMemory.Location = new Point(0, 308);
panelGPUMemory.Margin = new Padding(4);
panelGPUMemory.MaximumSize = new Size(0, 124);
panelGPUMemory.Name = "panelGPUMemory";
@@ -1218,7 +1295,7 @@ namespace GHelper
panelGPUCore.Controls.Add(trackGPUCore);
panelGPUCore.Controls.Add(labelGPUCoreTitle);
panelGPUCore.Dock = DockStyle.Top;
panelGPUCore.Location = new Point(0, 60);
panelGPUCore.Location = new Point(0, 184);
panelGPUCore.Margin = new Padding(4);
panelGPUCore.MaximumSize = new Size(0, 124);
panelGPUCore.Name = "panelGPUCore";
@@ -1382,6 +1459,56 @@ namespace GHelper
buttonCPU.TextImageRelation = TextImageRelation.ImageBeforeText;
buttonCPU.UseVisualStyleBackColor = false;
//
// panelGPUClockLimit
//
panelGPUClockLimit.AutoSize = true;
panelGPUClockLimit.AutoSizeMode = AutoSizeMode.GrowAndShrink;
panelGPUClockLimit.Controls.Add(labelGPUClockLimit);
panelGPUClockLimit.Controls.Add(trackGPUClockLimit);
panelGPUClockLimit.Controls.Add(labelGPUClockLimitTitle);
panelGPUClockLimit.Dock = DockStyle.Top;
panelGPUClockLimit.Location = new Point(0, 60);
panelGPUClockLimit.Margin = new Padding(4);
panelGPUClockLimit.MaximumSize = new Size(0, 124);
panelGPUClockLimit.Name = "panelGPUClockLimit";
panelGPUClockLimit.Size = new Size(520, 124);
panelGPUClockLimit.TabIndex = 48;
//
// labelGPUClockLimit
//
labelGPUClockLimit.Font = new Font("Segoe UI", 9F, FontStyle.Bold, GraphicsUnit.Point);
labelGPUClockLimit.Location = new Point(326, 16);
labelGPUClockLimit.Margin = new Padding(4, 0, 4, 0);
labelGPUClockLimit.Name = "labelGPUClockLimit";
labelGPUClockLimit.Size = new Size(176, 32);
labelGPUClockLimit.TabIndex = 29;
labelGPUClockLimit.Text = "1500 MHz";
labelGPUClockLimit.TextAlign = ContentAlignment.TopRight;
//
// trackGPUClockLimit
//
trackGPUClockLimit.LargeChange = 100;
trackGPUClockLimit.Location = new Point(6, 48);
trackGPUClockLimit.Margin = new Padding(4, 2, 4, 2);
trackGPUClockLimit.Maximum = 3000;
trackGPUClockLimit.Name = "trackGPUClockLimit";
trackGPUClockLimit.RightToLeft = RightToLeft.No;
trackGPUClockLimit.Size = new Size(496, 90);
trackGPUClockLimit.SmallChange = 10;
trackGPUClockLimit.TabIndex = 18;
trackGPUClockLimit.TickFrequency = 50;
trackGPUClockLimit.TickStyle = TickStyle.TopLeft;
//
// labelGPUClockLimitTitle
//
labelGPUClockLimitTitle.AutoSize = true;
labelGPUClockLimitTitle.Location = new Point(10, 16);
labelGPUClockLimitTitle.Margin = new Padding(4, 0, 4, 0);
labelGPUClockLimitTitle.Name = "labelGPUClockLimitTitle";
labelGPUClockLimitTitle.Size = new Size(188, 32);
labelGPUClockLimitTitle.TabIndex = 17;
labelGPUClockLimitTitle.Text = "Core Clock Limit";
//
// Fans
//
AutoScaleDimensions = new SizeF(192F, 192F);
@@ -1452,6 +1579,10 @@ namespace GHelper
panelBoostTitle.ResumeLayout(false);
panelBoostTitle.PerformLayout();
((System.ComponentModel.ISupportInitialize)pictureBoost).EndInit();
panelPowerMode.ResumeLayout(false);
panelPowerModeTItle.ResumeLayout(false);
panelPowerModeTItle.PerformLayout();
((System.ComponentModel.ISupportInitialize)picturePowerMode).EndInit();
panelGPU.ResumeLayout(false);
panelGPU.PerformLayout();
panelGPUTemp.ResumeLayout(false);
@@ -1471,6 +1602,9 @@ namespace GHelper
((System.ComponentModel.ISupportInitialize)pictureGPU).EndInit();
panelNav.ResumeLayout(false);
tableNav.ResumeLayout(false);
panelGPUClockLimit.ResumeLayout(false);
panelGPUClockLimit.PerformLayout();
((System.ComponentModel.ISupportInitialize)trackGPUClockLimit).EndInit();
ResumeLayout(false);
PerformLayout();
}
@@ -1568,5 +1702,14 @@ namespace GHelper
private TrackBar trackTemp;
private Panel panelAdvancedAlways;
private RCheckBox checkApplyUV;
private Panel panelPowerMode;
private RComboBox comboPowerMode;
private Panel panelPowerModeTItle;
private PictureBox picturePowerMode;
private Label labelPowerModeTitle;
private Panel panelGPUClockLimit;
private Label labelGPUClockLimit;
private TrackBar trackGPUClockLimit;
private Label labelGPUClockLimitTitle;
}
}

View File

@@ -21,6 +21,7 @@ namespace GHelper
static int MinRPM, MaxRPM;
static bool gpuVisible = true;
static bool fanRpm = true;
const int fansMax = 100;
@@ -87,6 +88,11 @@ namespace GHelper
chartXGM.MouseMove += (sender, e) => ChartCPU_MouseMove(sender, e, AsusFan.XGM);
chartXGM.MouseUp += ChartCPU_MouseUp;
chartCPU.MouseClick += ChartCPU_MouseClick;
chartGPU.MouseClick += ChartCPU_MouseClick;
chartMid.MouseClick += ChartCPU_MouseClick;
chartXGM.MouseClick += ChartCPU_MouseClick;
buttonReset.Click += ButtonReset_Click;
trackA0.Maximum = AsusACPI.MaxTotal;
@@ -109,6 +115,9 @@ namespace GHelper
checkApplyFans.Click += CheckApplyFans_Click;
checkApplyPower.Click += CheckApplyPower_Click;
trackGPUClockLimit.Minimum = NvidiaGpuControl.MinClockLimit;
trackGPUClockLimit.Maximum = NvidiaGpuControl.MaxClockLimit;
trackGPUCore.Minimum = NvidiaGpuControl.MinCoreOffset;
trackGPUCore.Maximum = NvidiaGpuControl.MaxCoreOffset;
@@ -121,6 +130,7 @@ namespace GHelper
trackGPUTemp.Minimum = AsusACPI.MinGPUTemp;
trackGPUTemp.Maximum = AsusACPI.MaxGPUTemp;
trackGPUClockLimit.Scroll += trackGPUClockLimit_Scroll;
trackGPUCore.Scroll += trackGPU_Scroll;
trackGPUMemory.Scroll += trackGPU_Scroll;
@@ -131,6 +141,7 @@ namespace GHelper
trackGPUMemory.MouseUp += TrackGPU_MouseUp;
trackGPUBoost.MouseUp += TrackGPU_MouseUp;
trackGPUTemp.MouseUp += TrackGPU_MouseUp;
trackGPUClockLimit.MouseUp += TrackGPU_MouseUp;
//labelInfo.MaximumSize = new Size(280, 0);
labelFansResult.Visible = false;
@@ -145,11 +156,17 @@ namespace GHelper
trackTemp.Minimum = RyzenControl.MinTemp;
trackTemp.Maximum = RyzenControl.MaxTemp;
comboPowerMode.DropDownStyle = ComboBoxStyle.DropDownList;
comboPowerMode.DataSource = new BindingSource(PowerNative.powerModes, null);
comboPowerMode.DisplayMember = "Value";
comboPowerMode.ValueMember = "Key";
FillModes();
InitAll();
comboBoost.SelectedValueChanged += ComboBoost_Changed;
comboPowerMode.SelectedValueChanged += ComboPowerMode_Changed;
comboModes.SelectionChangeCommitted += ComboModes_SelectedValueChanged;
comboModes.TextChanged += ComboModes_TextChanged;
@@ -184,6 +201,24 @@ namespace GHelper
}
private void ChartCPU_MouseClick(object? sender, MouseEventArgs e)
{
if (sender is null) return;
Chart chart = (Chart)sender;
HitTestResult result = chart.HitTest(e.X, e.Y);
if ((result.ChartElementType == ChartElementType.AxisLabels || result.ChartElementType == ChartElementType.Axis) && result.Axis == chart.ChartAreas[0].AxisY)
{
fanRpm = !fanRpm;
SetAxis(chartCPU, AsusFan.CPU);
SetAxis(chartGPU, AsusFan.GPU);
if (chartMid.Visible) SetAxis(chartMid, AsusFan.Mid);
if (chartXGM.Visible) SetAxis(chartXGM, AsusFan.XGM);
}
}
private void Fans_FormClosed(object? sender, FormClosedEventArgs e)
{
//Because windows charts seem to eat a lot of memory :(
@@ -201,7 +236,7 @@ namespace GHelper
InitMode();
InitFans();
InitPower();
InitBoost();
InitPowerPlan();
InitUV();
InitGPU();
}
@@ -293,7 +328,7 @@ namespace GHelper
panelUViGPU.Visible = false;
}
if (!RyzenControl.IsSupportedUV())
if (!RyzenControl.IsSupportedUViGPU())
{
panelUViGPU.Visible = false;
}
@@ -429,24 +464,29 @@ namespace GHelper
int gpu_boost = AppConfig.GetMode("gpu_boost");
int gpu_temp = AppConfig.GetMode("gpu_temp");
int core = AppConfig.GetMode("gpu_core");
int memory = AppConfig.GetMode("gpu_memory");
int clock_limit = AppConfig.GetMode("gpu_clock_limit");
if (gpu_boost < 0) gpu_boost = AsusACPI.MaxGPUBoost;
if (gpu_temp < 0) gpu_temp = AsusACPI.MaxGPUTemp;
if (core == -1) core = 0;
if (memory == -1) memory = 0;
if (clock_limit == -1) clock_limit = NvidiaGpuControl.MaxClockLimit;
//if (readClocks)
//{
int status = nvControl.GetClocks(out int current_core, out int current_memory);
if (status != -1)
if (nvControl.GetClocks(out int current_core, out int current_memory))
{
core = current_core;
memory = current_memory;
}
int _clockLimit = nvControl.GetMaxGPUCLock();
if (_clockLimit == 0) clock_limit = NvidiaGpuControl.MaxClockLimit;
else if (_clockLimit > 0) clock_limit = _clockLimit;
try
{
labelGPU.Text = nvControl.FullName;
@@ -457,6 +497,7 @@ namespace GHelper
}
//}
trackGPUClockLimit.Value = Math.Max(Math.Min(clock_limit, NvidiaGpuControl.MaxClockLimit), NvidiaGpuControl.MinClockLimit);
trackGPUCore.Value = Math.Max(Math.Min(core, NvidiaGpuControl.MaxCoreOffset), NvidiaGpuControl.MinCoreOffset);
trackGPUMemory.Value = Math.Max(Math.Min(memory, NvidiaGpuControl.MaxMemoryOffset), NvidiaGpuControl.MinMemoryOffset);
@@ -482,8 +523,24 @@ namespace GHelper
{
labelGPUCore.Text = $"{trackGPUCore.Value} MHz";
labelGPUMemory.Text = $"{trackGPUMemory.Value} MHz";
labelGPUBoost.Text = $"{trackGPUBoost.Value}W";
labelGPUTemp.Text = $"{trackGPUTemp.Value}°C";
if (trackGPUClockLimit.Value >= NvidiaGpuControl.MaxClockLimit)
labelGPUClockLimit.Text = "Default";
else
labelGPUClockLimit.Text = $"{trackGPUClockLimit.Value} MHz";
}
private void trackGPUClockLimit_Scroll(object? sender, EventArgs e)
{
int maxClock = (int)Math.Round((float)trackGPUClockLimit.Value / 50) * 50;
trackGPUClockLimit.Value = maxClock;
AppConfig.SetMode("gpu_clock_limit", maxClock);
VisualiseGPUSettings();
}
private void trackGPU_Scroll(object? sender, EventArgs e)
@@ -495,6 +552,7 @@ namespace GHelper
AppConfig.SetMode("gpu_core", trackGPUCore.Value);
AppConfig.SetMode("gpu_memory", trackGPUMemory.Value);
VisualiseGPUSettings();
}
@@ -512,9 +570,26 @@ namespace GHelper
if (percentage == 0) return "OFF";
int Max = MaxRPM;
if (device == AsusFan.XGM ) Max = 72;
if (device == AsusFan.XGM) Max = 72;
return (200 * Math.Round((float)(MinRPM * 100 + (Max - MinRPM) * percentage) / 200)).ToString() + unit;
if (fanRpm)
return (200 * Math.Round((float)(MinRPM * 100 + (Max - MinRPM) * percentage) / 200)).ToString() + unit;
else
return percentage + "%";
}
void SetAxis(Chart chart, AsusFan device)
{
chart.ChartAreas[0].AxisY.CustomLabels.Clear();
for (int i = 0; i <= fansMax - 10; i += 10)
{
chart.ChartAreas[0].AxisY.CustomLabels.Add(i - 2, i + 2, ChartPercToRPM(i, device));
}
chart.ChartAreas[0].AxisY.CustomLabels.Add(fansMax - 2, fansMax + 2, Properties.Strings.RPM);
chart.ChartAreas[0].AxisY.Interval = 10;
}
void SetChart(Chart chart, AsusFan device)
@@ -554,12 +629,7 @@ namespace GHelper
chart.ChartAreas[0].AxisX.LineColor = chartGrid;
chart.ChartAreas[0].AxisY.LineColor = chartGrid;
for (int i = 0; i <= fansMax - 10; i += 10)
chart.ChartAreas[0].AxisY.CustomLabels.Add(i - 2, i + 2, ChartPercToRPM(i, device));
chart.ChartAreas[0].AxisY.CustomLabels.Add(fansMax - 2, fansMax + 2, Properties.Strings.RPM);
chart.ChartAreas[0].AxisY.Interval = 10;
SetAxis(chart, device);
if (chart.Legends.Count > 0)
chart.Legends[0].Enabled = false;
@@ -594,11 +664,26 @@ namespace GHelper
}
public void InitBoost()
public void InitPowerPlan()
{
int boost = PowerNative.GetCPUBoost();
if (boost >= 0)
comboBoost.SelectedIndex = Math.Min(boost, comboBoost.Items.Count - 1);
string powerMode = PowerNative.GetPowerMode();
comboPowerMode.SelectedValue = powerMode;
}
private void ComboPowerMode_Changed(object? sender, EventArgs e)
{
string powerMode = (string)comboPowerMode.SelectedValue;
PowerNative.SetPowerMode(powerMode);
if (PowerNative.GetDefaultPowerMode(Modes.GetCurrentBase()) != powerMode)
AppConfig.SetMode("powermode", powerMode);
else
AppConfig.RemoveMode("powermode");
}
private void ComboBoost_Changed(object? sender, EventArgs e)
@@ -871,18 +956,24 @@ namespace GHelper
modeControl.ResetPerformanceMode();
InitPowerPlan();
if (Program.acpi.IsXGConnected()) AsusUSB.ResetXGM();
if (gpuVisible)
{
trackGPUClockLimit.Value = NvidiaGpuControl.MaxClockLimit;
trackGPUCore.Value = 0;
trackGPUMemory.Value = 0;
trackGPUBoost.Value = AsusACPI.MaxGPUBoost;
trackGPUTemp.Value = AsusACPI.MaxGPUTemp;
AppConfig.SetMode("gpu_clock_limit", trackGPUClockLimit.Value);
AppConfig.SetMode("gpu_boost", trackGPUBoost.Value);
AppConfig.SetMode("gpu_temp", trackGPUTemp.Value);
AppConfig.SetMode("gpu_core", trackGPUCore.Value);
AppConfig.SetMode("gpu_memory", trackGPUMemory.Value);

View File

@@ -18,7 +18,7 @@
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing"">Blue</data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>

View File

@@ -15,7 +15,7 @@
<PlatformTarget>AnyCPU</PlatformTarget>
<ProduceReferenceAssembly>False</ProduceReferenceAssembly>
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
<AssemblyVersion>0.106</AssemblyVersion>
<AssemblyVersion>0.116</AssemblyVersion>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">

View File

@@ -10,6 +10,10 @@ namespace GHelper.Gpu
SettingsForm settings;
ScreenControl screenControl = new ScreenControl();
public static int gpuMode;
public static bool? gpuExists = null;
public GPUModeControl(SettingsForm settingsForm)
{
settings = settingsForm;
@@ -23,36 +27,40 @@ namespace GHelper.Gpu
Logger.WriteLine("Eco flag : " + eco);
Logger.WriteLine("Mux flag : " + mux);
int GpuMode;
if (mux == 0)
{
GpuMode = AsusACPI.GPUModeUltimate;
gpuMode = AsusACPI.GPUModeUltimate;
}
else
{
if (eco == 1)
GpuMode = AsusACPI.GPUModeEco;
gpuMode = AsusACPI.GPUModeEco;
else
GpuMode = AsusACPI.GPUModeStandard;
gpuMode = AsusACPI.GPUModeStandard;
// Ultimate mode not supported
if (mux != 1) settings.HideUltimateMode();
// GPU mode not supported
if (eco < 0 && mux < 0) settings.HideGPUModes();
if (eco < 0 && mux < 0)
{
if (gpuExists is null)
gpuExists = HardwareControl.FormatFan(Program.acpi.DeviceGet(AsusACPI.GPU_Fan)) is not null;
settings.HideGPUModes((bool)gpuExists);
}
}
AppConfig.Set("gpu_mode", GpuMode);
AppConfig.Set("gpu_mode", gpuMode);
InitXGM();
settings.VisualiseGPUMode(GpuMode);
settings.VisualiseGPUMode(gpuMode);
AsusUSB.ApplyGPUColor();
}
bool NoAutoUltimate()
{
return AppConfig.ContainsModel("G614") || AppConfig.ContainsModel("M16");
}
public void SetGPUMode(int GPUMode, int auto = 0)
{
@@ -84,7 +92,7 @@ namespace GHelper.Gpu
DialogResult dialogResult = MessageBox.Show(Properties.Strings.AlertUltimateOn, Properties.Strings.AlertUltimateTitle, MessageBoxButtons.YesNo);
if (dialogResult == DialogResult.Yes)
{
if (NoAutoUltimate())
if (AppConfig.NoAutoUltimate())
{
Program.acpi.SetGPUEco(0);
Thread.Sleep(100);
@@ -135,6 +143,7 @@ namespace GHelper.Gpu
if (eco == 1)
{
/*
if (NvidiaSmi.GetDisplayActiveStatus())
{
DialogResult dialogResult = MessageBox.Show(Properties.Strings.EnableOptimusText, Properties.Strings.EnableOptimusTitle, MessageBoxButtons.YesNo);
@@ -144,6 +153,7 @@ namespace GHelper.Gpu
return;
}
}
*/
HardwareControl.KillGPUApps();
}
@@ -191,7 +201,7 @@ namespace GHelper.Gpu
{
bool GpuAuto = AppConfig.Is("gpu_auto");
bool ForceGPU = AppConfig.ContainsModel("503") || AppConfig.Is("gpu_fix");
bool ForceGPU = AppConfig.IsForceSetGPUMode();
int GpuMode = AppConfig.Get("gpu_mode");
@@ -284,7 +294,9 @@ namespace GHelper.Gpu
if (Program.acpi.DeviceGet(AsusACPI.GPUXG) == 1)
{
AsusUSB.ResetXGM();
HardwareControl.KillGPUApps();
DialogResult dialogResult = MessageBox.Show("Did you close all applications running on XG Mobile?", "Disabling XG Mobile", MessageBoxButtons.YesNo);
if (dialogResult == DialogResult.Yes)
{
@@ -295,6 +307,8 @@ namespace GHelper.Gpu
else
{
Program.acpi.DeviceSet(AsusACPI.GPUXG, 1, "GPU XGM");
AsusUSB.ResetXGM();
AsusUSB.ApplyXGMLight(AppConfig.Is("xmg_light"));
await Task.Delay(TimeSpan.FromSeconds(15));
@@ -325,7 +339,7 @@ namespace GHelper.Gpu
// https://github.com/seerge/g-helper/pull/855
public void StandardModeFix()
{
if (!AppConfig.Is("gpu_fix")) return; // No config entry
if (!AppConfig.IsGPUFix()) return; // No config entry
if (Program.acpi.DeviceGet(AsusACPI.GPUMux) == 0) return; // Ultimate mode
Logger.WriteLine("Forcing Standard Mode on shutdown / hibernation");

View File

@@ -18,6 +18,9 @@ public class NvidiaGpuControl : IGpuControl
public const int MinCoreOffset = -250;
public const int MinMemoryOffset = -250;
public const int MinClockLimit = 1000;
public const int MaxClockLimit = 3000;
private static PhysicalGPU? _internalGpu;
public NvidiaGpuControl()
@@ -72,11 +75,11 @@ public class NvidiaGpuControl : IGpuControl
Logger.WriteLine(ex.Message);
}
//NVIDIA.RestartDisplayDriver();
//GeneralApi.RestartDisplayDriver();
}
public int GetClocks(out int core, out int memory)
public bool GetClocks(out int core, out int memory)
{
PhysicalGPU internalGpu = _internalGpu!;
@@ -95,27 +98,24 @@ public class NvidiaGpuControl : IGpuControl
Logger.WriteLine("GPU VOLT:" + delta.IsEditable + " - " + delta.ValueDeltaInMicroVolt.DeltaValue);
}
return 0;
return true;
}
catch (Exception ex)
{
Logger.WriteLine("GET GPU CLOCKS:" + ex.Message);
core = memory = 0;
return -1;
return false;
}
}
public bool RestartGPU()
private bool RunPowershellCommand(string script)
{
try
{
string script = @"$device = Get-PnpDevice | Where-Object { $_.FriendlyName -imatch 'NVIDIA' -and $_.Class -eq 'Display' }; Disable-PnpDevice $device.InstanceId -Confirm:$false; Start-Sleep -Seconds 3; Enable-PnpDevice $device.InstanceId -Confirm:$false";
Logger.WriteLine(script);
ProcessHelper.RunCMD("powershell", script);
//Thread.Sleep(2000);
return true;
}
catch (Exception ex)
@@ -123,27 +123,71 @@ public class NvidiaGpuControl : IGpuControl
Logger.WriteLine(ex.ToString());
return false;
}
}
public int SetClocksFromConfig()
public int GetMaxGPUCLock()
{
int core = AppConfig.Get("gpu_core", 0);
int memory = AppConfig.Get("gpu_memory", 0);
int status = SetClocks(core, memory);
return status;
PhysicalGPU internalGpu = _internalGpu!;
try
{
PrivateClockBoostLockV2 data = GPUApi.GetClockBoostLock(internalGpu.Handle);
int limit = (int)data.ClockBoostLocks[0].VoltageInMicroV / 1000;
Logger.WriteLine("GET CLOCK LIMIT: " + limit);
return limit;
}
catch (Exception ex)
{
Logger.WriteLine("GET CLOCK LIMIT: " + ex.Message);
return -1;
}
}
public int SetClocks(int core, int memory, int voltage = 0)
public int SetMaxGPUClock(int clock)
{
if (clock < MinClockLimit || clock >= MaxClockLimit) clock = 0;
int _clockLimit = GetMaxGPUCLock();
if (_clockLimit != clock)
{
if (clock > 0) RunPowershellCommand($"nvidia-smi -lgc 0,{clock}");
else RunPowershellCommand($"nvidia-smi -rgc");
return 1;
}
else
{
return 0;
}
}
public bool RestartGPU()
{
return RunPowershellCommand(@"$device = Get-PnpDevice | Where-Object { $_.FriendlyName -imatch 'NVIDIA' -and $_.Class -eq 'Display' }; Disable-PnpDevice $device.InstanceId -Confirm:$false; Start-Sleep -Seconds 5; Enable-PnpDevice $device.InstanceId -Confirm:$false");
}
public int SetClocks(int core, int memory)
{
if (core < MinCoreOffset || core > MaxCoreOffset) return 0;
if (memory < MinMemoryOffset || memory > MaxMemoryOffset) return 0;
if (GetClocks(out int currentCore, out int currentMemory))
{
if (Math.Abs(core - currentCore) < 5 && Math.Abs(memory - currentMemory) < 5) return 0;
}
PhysicalGPU internalGpu = _internalGpu!;
var coreClock = new PerformanceStates20ClockEntryV1(PublicClockDomain.Graphics, new PerformanceStates20ParameterDelta(core * 1000));
var memoryClock = new PerformanceStates20ClockEntryV1(PublicClockDomain.Memory, new PerformanceStates20ParameterDelta(memory * 1000));
var voltageEntry = new PerformanceStates20BaseVoltageEntryV1(PerformanceVoltageDomain.Core, new PerformanceStates20ParameterDelta(voltage));
//var voltageEntry = new PerformanceStates20BaseVoltageEntryV1(PerformanceVoltageDomain.Core, new PerformanceStates20ParameterDelta(voltage));
PerformanceStates20ClockEntryV1[] clocks = { coreClock, memoryClock };
PerformanceStates20BaseVoltageEntryV1[] voltages = { };
@@ -163,8 +207,6 @@ public class NvidiaGpuControl : IGpuControl
return -1;
}
return 1;
}

View File

@@ -132,7 +132,12 @@ namespace GHelper.Helpers
cmd.StartInfo.FileName = name;
cmd.StartInfo.Arguments = args;
cmd.Start();
Logger.WriteLine(cmd.StandardOutput.ReadToEnd());
string result = cmd.StandardOutput.ReadToEnd().Replace(Environment.NewLine, " ").Trim(' ');
Logger.WriteLine(args);
Logger.WriteLine(result);
cmd.WaitForExit();
}

View File

@@ -103,7 +103,12 @@ namespace GHelper.Input
string actionM1 = AppConfig.GetString("m1");
string actionM2 = AppConfig.GetString("m2");
if (keyProfile != Keys.None) hook.RegisterHotKey(ModifierKeys.Shift | ModifierKeys.Control, keyProfile);
if (keyProfile != Keys.None)
{
hook.RegisterHotKey(ModifierKeys.Shift | ModifierKeys.Control, keyProfile);
hook.RegisterHotKey(ModifierKeys.Shift | ModifierKeys.Control | ModifierKeys.Alt, keyProfile);
}
if (keyApp != Keys.None) hook.RegisterHotKey(ModifierKeys.Shift | ModifierKeys.Control, keyApp);
if (!AppConfig.Is("skip_hotkeys"))
@@ -112,6 +117,7 @@ namespace GHelper.Input
hook.RegisterHotKey(ModifierKeys.Control, Keys.VolumeUp);
hook.RegisterHotKey(ModifierKeys.Shift, Keys.VolumeDown);
hook.RegisterHotKey(ModifierKeys.Shift, Keys.VolumeUp);
hook.RegisterHotKey(ModifierKeys.Shift | ModifierKeys.Control, Keys.F20);
}
if (!AppConfig.IsZ13() && !AppConfig.IsAlly())
@@ -155,12 +161,16 @@ namespace GHelper.Input
int brightness = -1;
if (isTUF) brightness = ScreenBrightness.Get();
if (AppConfig.SwappedBrightness()) delta = -delta;
if (delta > 0 || AppConfig.SwappedBrightness()) HandleOptimizationEvent(32);
else HandleOptimizationEvent(16);
Program.acpi.DeviceSet(AsusACPI.UniversalControl, delta > 0 ? AsusACPI.Brightness_Up : AsusACPI.Brightness_Down, "Brightness");
if (isTUF)
{
if (AppConfig.SwappedBrightness()) return;
if (delta < 0 && brightness <= 0) return;
if (delta > 0 && brightness >= 100) return;
Thread.Sleep(100);
if (brightness == ScreenBrightness.Get())
Program.toast.RunToast(ScreenBrightness.Adjust(delta) + "%", (delta < 0 ) ? ToastIcon.BrightnessDown : ToastIcon.BrightnessUp);
@@ -272,6 +282,12 @@ namespace GHelper.Input
{
if (e.Key == keyProfile) modeControl.CyclePerformanceMode();
if (e.Key == keyApp) Program.SettingsToggle();
if (e.Key == Keys.F20) KeyProcess("m3");
}
if (e.Modifier == (ModifierKeys.Control | ModifierKeys.Shift | ModifierKeys.Alt))
{
if (e.Key == keyProfile) modeControl.CyclePerformanceMode(true);
}
if (e.Modifier == (ModifierKeys.Control))
@@ -348,7 +364,7 @@ namespace GHelper.Input
Program.settingsForm.BeginInvoke(Program.settingsForm.CycleAuraMode);
break;
case "performance":
modeControl.CyclePerformanceMode();
modeControl.CyclePerformanceMode(Control.ModifierKeys == Keys.Shift);
break;
case "ghelper":
Program.settingsForm.BeginInvoke(delegate
@@ -395,7 +411,7 @@ namespace GHelper.Input
}
}
static void ToggleFnLock()
public static void ToggleFnLock()
{
int fnLock = AppConfig.Is("fn_lock") ? 0 : 1;
AppConfig.Set("fn_lock", fnLock);
@@ -405,6 +421,8 @@ namespace GHelper.Input
else
Program.settingsForm.BeginInvoke(Program.inputDispatcher.RegisterKeys);
Program.settingsForm.BeginInvoke(Program.settingsForm.VisualiseFnLock);
Program.toast.RunToast("Fn-Lock " + (fnLock == 1 ? "On" : "Off"), ToastIcon.FnLock);
}
@@ -462,7 +480,7 @@ namespace GHelper.Input
KeyProcess("fne");
return;
case 174: // FN+F5
modeControl.CyclePerformanceMode();
modeControl.CyclePerformanceMode(Control.ModifierKeys == Keys.Shift);
return;
case 179: // FN+F4
case 178: // FN+F4

View File

@@ -46,7 +46,12 @@ namespace GHelper.Mode
public void ResetPerformanceMode()
{
ResetRyzen();
Program.acpi.DeviceSet(AsusACPI.PerformanceMode, Modes.GetCurrentBase(), "Mode");
// Default power mode
AppConfig.RemoveMode("powermode");
PowerNative.SetPowerMode(Modes.GetCurrentBase());
}
public void SetPerformanceMode(int mode = -1, bool notify = false)
@@ -65,7 +70,16 @@ namespace GHelper.Mode
Modes.SetCurrent(mode);
Program.acpi.DeviceSet(AsusACPI.PerformanceMode, IsManualModeRequired() ? AsusACPI.PerformanceManual : Modes.GetBase(mode), "Mode");
int status = Program.acpi.DeviceSet(AsusACPI.PerformanceMode, AppConfig.IsManualModeRequired() ? AsusACPI.PerformanceManual : Modes.GetBase(mode), "Mode");
// Vivobook fallback
if (status != 1)
{
int vivoMode = Modes.GetBase(mode);
if (vivoMode == 1) vivoMode = 2;
else if (vivoMode == 2) vivoMode = 1;
Program.acpi.DeviceSet(AsusACPI.VivoBookMode, vivoMode, "VivoMode");
}
if (AppConfig.Is("xgm_fan") && Program.acpi.IsXGConnected()) AsusUSB.ResetXGM();
@@ -76,18 +90,21 @@ namespace GHelper.Mode
AutoFans();
AutoPower(1000);
if (AppConfig.Get("auto_apply_power_plan") != 0)
{
if (AppConfig.GetModeString("scheme") is not null)
PowerNative.SetPowerScheme(AppConfig.GetModeString("scheme"));
else
PowerNative.SetPowerScheme(Modes.GetBase(mode));
}
// Power plan from config or defaulting to balanced
if (AppConfig.GetModeString("scheme") is not null)
PowerNative.SetPowerPlan(AppConfig.GetModeString("scheme"));
else
PowerNative.SetBalancedPowerPlan();
// Windows power mode
if (AppConfig.GetModeString("powermode") is not null)
PowerNative.SetPowerMode(AppConfig.GetModeString("powermode"));
else
PowerNative.SetPowerMode(Modes.GetBase(mode));
// CPU Boost setting override
if (AppConfig.GetMode("auto_boost") != -1)
{
PowerNative.SetCPUBoost(AppConfig.GetMode("auto_boost"));
}
//BatteryControl.SetBatteryChargeLimit();
@@ -102,9 +119,9 @@ namespace GHelper.Mode
}
public void CyclePerformanceMode()
public void CyclePerformanceMode(bool back = false)
{
SetPerformanceMode(Modes.GetNext(Control.ModifierKeys == Keys.Shift), true);
SetPerformanceMode(Modes.GetNext(back), true);
}
public void AutoFans(bool force = false)
@@ -143,7 +160,7 @@ namespace GHelper.Mode
}
// force set PPTs for missbehaving bios on FX507/517 series
if ((AppConfig.ContainsModel("FX507") || AppConfig.ContainsModel("FX517") || AppConfig.ContainsModel("FX707") || xgmFan) && !AppConfig.IsMode("auto_apply_power"))
if ((AppConfig.IsPowerRequired() || xgmFan) && !AppConfig.IsMode("auto_apply_power"))
{
Task.Run(async () =>
{
@@ -159,22 +176,6 @@ namespace GHelper.Mode
}
private static bool IsManualModeRequired()
{
if (!AppConfig.IsMode("auto_apply_power"))
return false;
return
AppConfig.Is("manual_mode") ||
AppConfig.ContainsModel("GU604") ||
AppConfig.ContainsModel("G733");
}
private static bool IsFanRequired()
{
return AppConfig.ContainsModel("GA402X") || AppConfig.ContainsModel("G513");
}
public void AutoPower(int delay = 0)
{
@@ -184,17 +185,17 @@ namespace GHelper.Mode
bool applyFans = AppConfig.IsMode("auto_apply");
//bool applyGPU = true;
if (applyPower)
if (applyPower && !applyFans)
{
// force fan curve for misbehaving bios PPTs on some models
if (!applyFans && IsFanRequired())
if (AppConfig.IsFanRequired())
{
delay = 500;
AutoFans(true);
}
// Fix for models that don't support PPT settings in all modes, setting a "manual" mode for them
if (IsManualModeRequired() && !applyFans)
if (AppConfig.IsManualModeRequired())
{
AutoFans(true);
}
@@ -296,35 +297,35 @@ namespace GHelper.Mode
public void SetGPUClocks(bool launchAsAdmin = true)
{
int gpu_core = AppConfig.GetMode("gpu_core");
int gpu_memory = AppConfig.GetMode("gpu_memory");
if (gpu_core == -1 && gpu_memory == -1) return;
//if ((gpu_core > -5 && gpu_core < 5) && (gpu_memory > -5 && gpu_memory < 5)) launchAsAdmin = false;
if (Program.acpi.DeviceGet(AsusACPI.GPUEco) == 1) return;
if (HardwareControl.GpuControl is null) return;
if (!HardwareControl.GpuControl!.IsNvidia) return;
using NvidiaGpuControl nvControl = (NvidiaGpuControl)HardwareControl.GpuControl;
try
Task.Run(() =>
{
int getStatus = nvControl.GetClocks(out int current_core, out int current_memory);
if (getStatus != -1)
int core = AppConfig.GetMode("gpu_core");
int memory = AppConfig.GetMode("gpu_memory");
int clock_limit = AppConfig.GetMode("gpu_clock_limit");
if (core == -1 && memory == -1) return;
//if ((gpu_core > -5 && gpu_core < 5) && (gpu_memory > -5 && gpu_memory < 5)) launchAsAdmin = false;
if (Program.acpi.DeviceGet(AsusACPI.GPUEco) == 1) return;
if (HardwareControl.GpuControl is null) return;
if (!HardwareControl.GpuControl!.IsNvidia) return;
using NvidiaGpuControl nvControl = (NvidiaGpuControl)HardwareControl.GpuControl;
try
{
if (Math.Abs(gpu_core - current_core) < 5 && Math.Abs(gpu_memory - current_memory) < 5) return;
int statusLimit = nvControl.SetMaxGPUClock(clock_limit);
int statusClocks = nvControl.SetClocks(core, memory);
if ((statusLimit != 0 || statusClocks != 0) && launchAsAdmin) ProcessHelper.RunAsAdmin("gpu");
}
catch (Exception ex)
{
Logger.WriteLine(ex.ToString());
}
int setStatus = nvControl.SetClocks(gpu_core, gpu_memory);
if (launchAsAdmin && setStatus == -1) ProcessHelper.RunAsAdmin("gpu");
}
catch (Exception ex)
{
Logger.WriteLine(ex.ToString());
}
settings.GPUInit();
});
}
public void SetGPUPower()

View File

@@ -51,7 +51,8 @@
"gpu_memory",
"auto_boost",
"auto_apply",
"auto_apply_power"
"auto_apply_power",
"powermode"
};
foreach (string clean in cleanup)

View File

@@ -72,7 +72,24 @@ namespace GHelper.Mode
[DllImportAttribute("powrprof.dll", EntryPoint = "PowerSetActiveOverlayScheme")]
public static extern uint PowerSetActiveOverlayScheme(Guid OverlaySchemeGuid);
const string POWER_SILENT = "961cc777-2547-4f9d-8174-7d86181b8a7a";
const string POWER_BALANCED = "00000000-0000-0000-0000-000000000000";
const string POWER_TURBO = "ded574b5-45a0-4f42-8737-46345c09c238";
const string POWER_BETTERPERFORMANCE = "ded574b5-45a0-4f42-8737-46345c09c238";
static List<string> overlays = new() {
POWER_BALANCED,
POWER_TURBO,
POWER_SILENT,
POWER_BETTERPERFORMANCE
};
public static Dictionary<string, string> powerModes = new Dictionary<string, string>
{
{ POWER_SILENT, "Best Power Efficiency" },
{ POWER_BALANCED, "Balanced" },
{ POWER_TURBO, "Best Performance" },
};
static Guid GetActiveScheme()
{
IntPtr pActiveSchemeGuid;
@@ -122,51 +139,67 @@ namespace GHelper.Mode
Logger.WriteLine("Boost " + boost);
}
public static void SetPowerScheme(string scheme)
public static string GetPowerMode()
{
List<string> overlays = new() {
"00000000-0000-0000-0000-000000000000",
"ded574b5-45a0-4f42-8737-46345c09c238",
"961cc777-2547-4f9d-8174-7d86181b8a7a",
"3af9B8d9-7c97-431d-ad78-34a8bfea439f"
};
PowerGetEffectiveOverlayScheme(out Guid activeScheme);
return activeScheme.ToString();
}
public static void SetPowerMode(string scheme)
{
if (!overlays.Contains(scheme)) return;
Guid guidScheme = new Guid(scheme);
if (overlays.Contains(scheme))
uint status = PowerGetEffectiveOverlayScheme(out Guid activeScheme);
if (status != 0 || activeScheme != guidScheme)
{
uint status = PowerGetEffectiveOverlayScheme(out Guid activeScheme);
if (status != 0 || activeScheme != guidScheme)
{
PowerSetActiveOverlayScheme(guidScheme);
Logger.WriteLine("Power mode: " + scheme);
}
status = PowerSetActiveOverlayScheme(guidScheme);
Logger.WriteLine("Power Mode " + scheme + ":" + (status == 0 ? "OK" : status));
}
else
{
PowerSetActiveScheme(IntPtr.Zero, guidScheme);
Logger.WriteLine("Power plan: " + scheme);
}
}
public static void SetPowerScheme(int mode)
public static void SetBalancedPowerPlan()
{
Guid activeSchemeGuid = GetActiveScheme();
string balanced = "381b4222-f694-41f0-9685-ff5bb260df2e";
if (activeSchemeGuid.ToString() != balanced && !AppConfig.Is("skip_power_plan"))
{
SetPowerPlan(balanced);
}
}
public static void SetPowerPlan(string scheme)
{
// Skipping power modes
if (overlays.Contains(scheme)) return;
Guid guidScheme = new Guid(scheme);
uint status = PowerSetActiveScheme(IntPtr.Zero, guidScheme);
Logger.WriteLine("Power Plan " + scheme + ":" + (status == 0 ? "OK" : status));
}
public static string GetDefaultPowerMode(int mode)
{
switch (mode)
{
case 0: // balanced
SetPowerScheme("00000000-0000-0000-0000-000000000000");
break;
case 1: // turbo
SetPowerScheme("ded574b5-45a0-4f42-8737-46345c09c238");
break;
return POWER_TURBO;
case 2: //silent
SetPowerScheme("961cc777-2547-4f9d-8174-7d86181b8a7a");
break;
return POWER_SILENT;
default: // balanced
return POWER_BALANCED;
}
}
public static void SetPowerMode(int mode)
{
SetPowerMode(GetDefaultPowerMode(mode));
}
public static int GetLidAction(bool ac)
{
Guid activeSchemeGuid = GetActiveScheme();
@@ -223,5 +256,38 @@ namespace GHelper.Mode
Logger.WriteLine("Changed Lid Action to " + action);
}
public static int GetHibernateAfter()
{
Guid activeSchemeGuid = GetActiveScheme();
IntPtr seconds;
PowerReadDCValueIndex(IntPtr.Zero,
activeSchemeGuid,
GUID_SLEEP_SUBGROUP,
GUID_HIBERNATEIDLE, out seconds);
Logger.WriteLine("Hibernate after " + seconds);
return (seconds.ToInt32() / 60);
}
public static void SetHibernateAfter(int minutes)
{
int seconds = minutes * 60;
Guid activeSchemeGuid = GetActiveScheme();
var hrAC = PowerWriteDCValueIndex(
IntPtr.Zero,
activeSchemeGuid,
GUID_SLEEP_SUBGROUP,
GUID_HIBERNATEIDLE,
seconds);
PowerSetActiveScheme(IntPtr.Zero, activeSchemeGuid);
Logger.WriteLine("Setting Hibernate after " + seconds + ": " + (hrAC == 0 ? "OK" : hrAC));
}
}
}

View File

@@ -141,7 +141,6 @@ namespace GHelper.Peripherals.Mouse
{
private static string[] POLLING_RATES = { "125 Hz", "250 Hz", "500 Hz", "1000 Hz", "2000 Hz", "4000 Hz", "8000 Hz", "16000 Hz" };
internal const bool PACKET_LOGGER_ALWAYS_ON = false;
internal const int ASUS_MOUSE_PACKET_SIZE = 65;
public event EventHandler? Disconnect;
public event EventHandler? BatteryUpdated;
@@ -149,6 +148,8 @@ namespace GHelper.Peripherals.Mouse
private readonly string path;
protected byte reportId = 0x00;
public bool IsDeviceReady { get; protected set; }
private void SetDeviceReady(bool ready)
@@ -180,6 +181,8 @@ namespace GHelper.Peripherals.Mouse
public bool AngleSnapping { get; protected set; }
public short AngleAdjustmentDegrees { get; protected set; }
public DebounceTime Debounce { get; protected set; }
public int Acceleration { get; protected set; }
public int Deceleration { get; protected set; }
public AsusMouse(ushort vendorId, ushort productId, string path, bool wireless) : base(vendorId, productId)
@@ -195,7 +198,12 @@ namespace GHelper.Peripherals.Mouse
{
LightingSetting = new LightingSetting[SupportedLightingZones().Length];
}
this.reportId = 0x00;
}
public AsusMouse(ushort vendorId, ushort productId, string path, bool wireless, byte reportId) : this(vendorId, productId, path, wireless)
{
this.reportId = reportId;
}
public override bool Equals(object? obj)
@@ -265,6 +273,11 @@ namespace GHelper.Peripherals.Mouse
return 300;
}
public virtual int USBPacketSize()
{
return 65;
}
public override void SetProvider()
{
_usbProvider = new WindowsUsbProvider(_vendorId, _productId, path, USBTimeout());
@@ -279,7 +292,7 @@ namespace GHelper.Peripherals.Mouse
}
}
private static bool IsPacketLoggerEnabled()
protected static bool IsPacketLoggerEnabled()
{
#if DEBUG
return true;
@@ -307,59 +320,87 @@ namespace GHelper.Peripherals.Mouse
[MethodImpl(MethodImplOptions.Synchronized)]
protected virtual byte[]? WriteForResponse(byte[] packet)
{
byte[] response = new byte[ASUS_MOUSE_PACKET_SIZE];
Array.Resize(ref packet, USBPacketSize());
try
byte[] response = new byte[USBPacketSize()];
response[0] = reportId;
int retries = 3;
while (retries > 0)
{
if (IsPacketLoggerEnabled())
Logger.WriteLine(GetDisplayName() + ": Sending packet: " + ByteArrayToString(packet));
response = new byte[USBPacketSize()];
long time = MeasuredIO(Write, packet);
Logger.WriteLine(GetDisplayName() + ": Write took " + time + "ms");
time = MeasuredIO(Read, response);
Logger.WriteLine(GetDisplayName() + ": Read took " + time + "ms");
if (IsPacketLoggerEnabled())
Logger.WriteLine(GetDisplayName() + ": Read packet: " + ByteArrayToString(response));
if (IsMouseError(response))
try
{
Logger.WriteLine(GetDisplayName() + ": Mouse returned error (FF AA). Packet probably not supported by mouse firmware.");
//Error. Mouse could not understand or process the sent packet
return response;
}
if (IsPacketLoggerEnabled())
Logger.WriteLine(GetDisplayName() + ": Sending packet: " + ByteArrayToString(packet)
+ " Try " + (retries - 2) + " of 3");
long time = MeasuredIO(Write, packet);
Logger.WriteLine(GetDisplayName() + ": Write took " + time + "ms");
//Not the response we were looking for, continue reading
while (response[0] != packet[0] || response[1] != packet[1] || response[2] != packet[2])
{
Logger.WriteLine(GetDisplayName() + ": Read wrong packet left in buffer: " + ByteArrayToString(response) + ". Retrying...");
//Read again
time = MeasuredIO(Read, response);
Logger.WriteLine(GetDisplayName() + ": Read took " + time + "ms");
if (IsMouseError(response))
{
if (IsPacketLoggerEnabled())
Logger.WriteLine(GetDisplayName() + ": Read packet: " + ByteArrayToString(response));
Logger.WriteLine(GetDisplayName() + ": Mouse returned error (FF AA). Packet probably not supported by mouse firmware.");
//Error. Mouse could not understand or process the sent packet
return response;
}
if (response[1] == 0 && response[2] == 0 && response[3] == 0)
{
if (IsPacketLoggerEnabled())
Logger.WriteLine(GetDisplayName() + ": Read packet: " + ByteArrayToString(response));
Logger.WriteLine(GetDisplayName() + ": Received empty packet. Stopping here.");
//Empty packet
return null;
}
//Not the response we were looking for, continue reading
while (response[0] != packet[0] || response[1] != packet[1] || response[2] != packet[2])
{
if (IsPacketLoggerEnabled())
Logger.WriteLine(GetDisplayName() + ": Read wrong packet left in buffer: " + ByteArrayToString(response) + ". Retrying...");
//Read again
time = MeasuredIO(Read, response);
Logger.WriteLine(GetDisplayName() + ": Read took " + time + "ms");
}
if (IsPacketLoggerEnabled())
Logger.WriteLine(GetDisplayName() + ": Read packet: " + ByteArrayToString(response));
return response;
}
catch (IOException e)
{
Logger.WriteLine(GetDisplayName() + ": Failed to read packet " + e.Message);
OnDisconnect();
return null;
}
catch (TimeoutException e)
{
Logger.WriteLine(GetDisplayName() + ": Timeout reading packet " + e.Message + " Trying again.");
retries--;
continue;
}
catch (ObjectDisposedException)
{
Logger.WriteLine(GetDisplayName() + ": Channel closed ");
OnDisconnect();
return null;
}
}
catch (IOException e)
{
Logger.WriteLine(GetDisplayName() + ": Failed to read packet " + e.Message);
OnDisconnect();
return null;
}
catch (TimeoutException e)
{
Logger.WriteLine(GetDisplayName() + ": Timeout reading packet " + e.Message);
return null;
}
catch (ObjectDisposedException)
{
Logger.WriteLine(GetDisplayName() + ": Channel closed ");
OnDisconnect();
return null;
}
return response;
return null;
}
public abstract string GetDisplayName();
@@ -386,6 +427,7 @@ namespace GHelper.Peripherals.Mouse
ReadPollingRate();
ReadLiftOffDistance();
ReadDebounce();
ReadAcceleration();
ReadLightingSetting();
}
@@ -410,7 +452,7 @@ namespace GHelper.Peripherals.Mouse
protected virtual byte[] GetBatteryReportPacket()
{
return new byte[] { 0x00, 0x12, 0x07 };
return new byte[] { reportId, 0x12, 0x07 };
}
protected virtual int ParseBattery(byte[] packet)
@@ -452,7 +494,7 @@ namespace GHelper.Peripherals.Mouse
}
protected virtual byte[] GetUpdateEnergySettingsPacket(int lowBatteryWarning, PowerOffSetting powerOff)
{
return new byte[] { 0x00, 0x51, 0x37, 0x00, 0x00, (byte)powerOff, 0x00, (byte)lowBatteryWarning };
return new byte[] { reportId, 0x51, 0x37, 0x00, 0x00, (byte)powerOff, 0x00, (byte)lowBatteryWarning };
}
public void SetEnergySettings(int lowBatteryWarning, PowerOffSetting powerOff)
@@ -538,7 +580,7 @@ namespace GHelper.Peripherals.Mouse
return packet[11];
}
Logger.WriteLine(GetDisplayName() + ": Failed to decode active profile");
return 1;
return 0;
}
protected virtual int ParseDPIProfile(byte[] packet)
@@ -553,12 +595,12 @@ namespace GHelper.Peripherals.Mouse
protected virtual byte[] GetReadProfilePacket()
{
return new byte[] { 0x00, 0x12, 0x00 };
return new byte[] { reportId, 0x12, 0x00 };
}
protected virtual byte[] GetUpdateProfilePacket(int profile)
{
return new byte[] { 0x00, 0x50, 0x02, (byte)profile };
return new byte[] { reportId, 0x50, 0x02, (byte)profile };
}
public void ReadProfile()
@@ -667,20 +709,20 @@ namespace GHelper.Peripherals.Mouse
protected virtual byte[] GetReadPollingRatePacket()
{
return new byte[] { 0x00, 0x12, 0x04, 0x00 };
return new byte[] { reportId, 0x12, 0x04, 0x00 };
}
protected virtual byte[] GetUpdatePollingRatePacket(PollingRate pollingRate)
{
return new byte[] { 0x00, 0x51, 0x31, 0x04, 0x00, (byte)pollingRate };
return new byte[] { reportId, 0x51, 0x31, 0x04, 0x00, (byte)pollingRate };
}
protected virtual byte[] GetUpdateAngleSnappingPacket(bool angleSnapping)
{
return new byte[] { 0x00, 0x51, 0x31, 0x06, 0x00, (byte)(angleSnapping ? 0x01 : 0x00) };
return new byte[] { reportId, 0x51, 0x31, 0x06, 0x00, (byte)(angleSnapping ? 0x01 : 0x00) };
}
protected virtual byte[] GetUpdateAngleAdjustmentPacket(short angleAdjustment)
{
return new byte[] { 0x00, 0x51, 0x31, 0x0B, 0x00, (byte)(angleAdjustment & 0xFF), (byte)((angleAdjustment >> 8) & 0xFF) };
return new byte[] { reportId, 0x51, 0x31, 0x0B, 0x00, (byte)(angleAdjustment & 0xFF), (byte)((angleAdjustment >> 8) & 0xFF) };
}
protected virtual PollingRate ParsePollingRate(byte[] packet)
@@ -791,6 +833,126 @@ namespace GHelper.Peripherals.Mouse
this.AngleAdjustmentDegrees = angleAdjustment;
}
// ------------------------------------------------------------------------------
// Acceleration/Deceleration
// ------------------------------------------------------------------------------
public virtual bool HasAcceleration()
{
return false;
}
public virtual bool HasDeceleration()
{
return false;
}
public virtual int MaxAcceleration()
{
return 0;
}
public virtual int MaxDeceleration()
{
return 0;
}
protected virtual byte[] GetChangeAccelerationPacket(int acceleration)
{
return new byte[] { reportId, 0x51, 0x31, 0x07, 0x00, (byte)acceleration };
}
protected virtual byte[] GetChangeDecelerationPacket(int deceleration)
{
return new byte[] { reportId, 0x51, 0x31, 0x08, 0x00, (byte)deceleration };
}
public virtual void SetAcceleration(int acceleration)
{
if (!HasAcceleration())
{
return;
}
if (acceleration > MaxAcceleration() || acceleration < 0)
{
Logger.WriteLine(GetDisplayName() + ": Acceleration " + acceleration + " is invalid.");
return;
}
WriteForResponse(GetChangeAccelerationPacket(acceleration));
FlushSettings();
Logger.WriteLine(GetDisplayName() + ": Acceleration set to " + acceleration);
this.Acceleration = acceleration;
}
public virtual void SetDeceleration(int deceleration)
{
if (!HasDeceleration())
{
return;
}
if (deceleration > MaxDeceleration() || deceleration < 0)
{
Logger.WriteLine(GetDisplayName() + ": Deceleration " + deceleration + " is invalid.");
return;
}
WriteForResponse(GetChangeDecelerationPacket(deceleration));
FlushSettings();
Logger.WriteLine(GetDisplayName() + ": Deceleration set to " + deceleration);
this.Deceleration = deceleration;
}
protected virtual byte[] GetReadAccelerationPacket()
{
return new byte[] { reportId, 0x12, 0x04, 0x01 };
}
protected virtual int ParseAcceleration(byte[] packet)
{
if (packet[1] != 0x12 || packet[2] != 0x04 || packet[3] != 0x01)
{
return 0;
}
return packet[5];
}
protected virtual int ParseDeceleration(byte[] packet)
{
if (packet[1] != 0x12 || packet[2] != 0x04 || packet[3] != 0x01)
{
return 0;
}
return packet[7];
}
public virtual void ReadAcceleration()
{
if (!HasAcceleration() && !HasDeceleration())
{
return;
}
byte[]? response = WriteForResponse(GetReadAccelerationPacket());
if (response is null) return;
if (HasAcceleration())
{
Acceleration = ParseAcceleration(response);
Logger.WriteLine(GetDisplayName() + ": Read Acceleration: " + Acceleration);
}
if (HasDeceleration())
{
Deceleration = ParseDeceleration(response);
Logger.WriteLine(GetDisplayName() + ": Read Deceleration: " + Deceleration);
}
}
// ------------------------------------------------------------------------------
// DPI
// ------------------------------------------------------------------------------
@@ -826,12 +988,12 @@ namespace GHelper.Peripherals.Mouse
protected virtual byte[] GetChangeDPIProfilePacket(int profile)
{
return new byte[] { 0x00, 0x51, 0x31, 0x0A, 0x00, (byte)profile };
return new byte[] { reportId, 0x51, 0x31, 0x0A, 0x00, (byte)profile };
}
protected virtual byte[] GetChangeDPIProfilePacket2(int profile)
{
return new byte[] { 0x00, 0x51, 0x31, 0x09, 0x00, (byte)profile };
return new byte[] { reportId, 0x51, 0x31, 0x09, 0x00, (byte)profile };
}
//profiles start to count at 1
@@ -863,10 +1025,10 @@ namespace GHelper.Peripherals.Mouse
{
if (!HasXYDPI())
{
return new byte[] { 0x00, 0x12, 0x04, 0x00 };
return new byte[] { reportId, 0x12, 0x04, 0x00 };
}
return new byte[] { 0x00, 0x12, 0x04, 0x02 };
return new byte[] { reportId, 0x12, 0x04, 0x02 };
}
protected virtual byte[]? GetUpdateDPIPacket(AsusMouseDPI dpi, int profile)
@@ -883,11 +1045,11 @@ namespace GHelper.Peripherals.Mouse
if (HasDPIColors())
{
return new byte[] { 0x00, 0x51, 0x31, (byte)(profile - 1), 0x00, (byte)(dpiEncoded & 0xFF), (byte)((dpiEncoded >> 8) & 0xFF), dpi.Color.R, dpi.Color.G, dpi.Color.B };
return new byte[] { reportId, 0x51, 0x31, (byte)(profile - 1), 0x00, (byte)(dpiEncoded & 0xFF), (byte)((dpiEncoded >> 8) & 0xFF), dpi.Color.R, dpi.Color.G, dpi.Color.B };
}
else
{
return new byte[] { 0x00, 0x51, 0x31, (byte)(profile - 1), 0x00, (byte)(dpiEncoded & 0xFF), (byte)((dpiEncoded >> 8) & 0xFF) };
return new byte[] { reportId, 0x51, 0x31, (byte)(profile - 1), 0x00, (byte)(dpiEncoded & 0xFF), (byte)((dpiEncoded >> 8) & 0xFF) };
}
}
@@ -918,7 +1080,7 @@ namespace GHelper.Peripherals.Mouse
protected virtual byte[] GetReadDPIColorsPacket()
{
return new byte[] { 0x00, 0x12, 0x04, 0x03 };
return new byte[] { reportId, 0x12, 0x04, 0x03 };
}
protected virtual void ParseDPIColors(byte[] packet)
@@ -996,13 +1158,13 @@ namespace GHelper.Peripherals.Mouse
protected virtual byte[] GetReadLiftOffDistancePacket()
{
return new byte[] { 0x00, 0x12, 0x06 };
return new byte[] { reportId, 0x12, 0x06 };
}
//This also resets the "calibration" to default. There is no seperate command to only set the lift off distance
protected virtual byte[] GetUpdateLiftOffDistancePacket(LiftOffDistance liftOffDistance)
{
return new byte[] { 0x00, 0x51, 0x35, 0xFF, 0x00, 0xFF, ((byte)liftOffDistance) };
return new byte[] { reportId, 0x51, 0x35, 0xFF, 0x00, 0xFF, ((byte)liftOffDistance) };
}
protected virtual LiftOffDistance ParseLiftOffDistance(byte[] packet)
@@ -1071,13 +1233,13 @@ namespace GHelper.Peripherals.Mouse
protected virtual byte[] GetReadDebouncePacket()
{
return new byte[] { 0x00, 0x12, 0x04, 0x00 };
return new byte[] { reportId, 0x12, 0x04, 0x00 };
}
protected virtual byte[] GetUpdateDebouncePacket(DebounceTime debounce)
{
return new byte[] { 0x00, 0x51, 0x31, 0x05, 0x00, ((byte)debounce) };
return new byte[] { reportId, 0x51, 0x31, 0x05, 0x00, ((byte)debounce) };
}
protected virtual DebounceTime ParseDebounce(byte[] packet)
@@ -1261,7 +1423,7 @@ namespace GHelper.Peripherals.Mouse
idx = IndexForZone(zone);
}
return new byte[] { 0x00, 0x12, 0x03, (byte)idx };
return new byte[] { reportId, 0x12, 0x03, (byte)idx };
}
protected virtual byte[] GetUpdateLightingModePacket(LightingSetting lightingSetting, LightingZone zone)
@@ -1279,7 +1441,7 @@ namespace GHelper.Peripherals.Mouse
lightingSetting.LightingMode = LightingMode.ColorCycle;
}
return new byte[] { 0x00, 0x51, 0x28, (byte)zone, 0x00,
return new byte[] { reportId, 0x51, 0x28, (byte)zone, 0x00,
IndexForLightingMode(lightingSetting.LightingMode),
(byte)lightingSetting.Brightness,
lightingSetting.RGBColor.R, lightingSetting.RGBColor.G, lightingSetting.RGBColor.B,
@@ -1375,7 +1537,7 @@ namespace GHelper.Peripherals.Mouse
protected virtual byte[] GetSaveProfilePacket()
{
return new byte[] { 0x00, 0x50, 0x03 };
return new byte[] { reportId, 0x50, 0x03 };
}
public void FlushSettings()

View File

@@ -0,0 +1,174 @@
using System.Runtime.CompilerServices;
namespace GHelper.Peripherals.Mouse.Models
{
//P713_Wireless
public class HarpeAceAimLabEdition : AsusMouse
{
public HarpeAceAimLabEdition() : base(0x0B05, 0x1A94, "mi_00", true)
{
}
protected HarpeAceAimLabEdition(ushort productId, bool wireless, string endpoint, byte reportId) : base(0x0B05, productId, endpoint, wireless, reportId)
{
}
public override int DPIProfileCount()
{
return 4;
}
public override string GetDisplayName()
{
return "ROG Harpe Ace Aim Lab Edition (Wireless)";
}
public override PollingRate[] SupportedPollingrates()
{
return new PollingRate[] {
PollingRate.PR125Hz,
PollingRate.PR250Hz,
PollingRate.PR500Hz,
PollingRate.PR1000Hz
};
}
public override int ProfileCount()
{
return 5;
}
public override int MaxDPI()
{
return 36_000;
}
public override int MinDPI()
{
return 50;
}
public override bool HasXYDPI()
{
return true;
}
public override bool HasDebounceSetting()
{
return true;
}
public override bool HasLiftOffSetting()
{
return true;
}
public override bool HasRGB()
{
return true;
}
public override LightingZone[] SupportedLightingZones()
{
return new LightingZone[] { LightingZone.Scrollwheel };
}
public override bool IsLightingModeSupported(LightingMode lightingMode)
{
return lightingMode == LightingMode.Static
|| lightingMode == LightingMode.Breathing
|| lightingMode == LightingMode.ColorCycle
|| lightingMode == LightingMode.React
|| lightingMode == LightingMode.BatteryState
|| lightingMode == LightingMode.Off;
}
public override bool HasAutoPowerOff()
{
return true;
}
public override bool HasAngleSnapping()
{
return true;
}
public override bool HasAngleTuning()
{
return true;
}
public override bool HasLowBatteryWarning()
{
return true;
}
public override bool HasDPIColors()
{
return true;
}
public override int AngleTuningStep()
{
return 1;
}
public override int AngleTuningMin()
{
return -30;
}
public override int AngleTuningMax()
{
return 30;
}
public override bool HasAcceleration()
{
return true;
}
public override bool HasDeceleration()
{
return true;
}
public override int MaxAcceleration()
{
return 9;
}
public override int MaxDeceleration()
{
return 9;
}
}
public class HarpeAceAimLabEditionWired : HarpeAceAimLabEdition
{
public HarpeAceAimLabEditionWired() : base(0x1A92, false, "mi_00", 0x00)
{
}
public override string GetDisplayName()
{
return "ROG Harpe Ace Aim Lab Edition (Wired)";
}
}
public class HarpeAceAimLabEditionOmni : HarpeAceAimLabEdition
{
public HarpeAceAimLabEditionOmni() : base(0x1ACE, true, "mi_02&col03", 0x03)
{
}
public override string GetDisplayName()
{
return "ROG Harpe Ace Aim Lab Edition (OMNI)";
}
public override int USBPacketSize()
{
return 64;
}
}
}

View File

@@ -0,0 +1,106 @@
namespace GHelper.Peripherals.Mouse.Models
{
//P709_Wireless
public class KerisWirelssAimpoint : AsusMouse
{
public KerisWirelssAimpoint() : base(0x0B05, 0x1A68, "mi_00", true)
{
}
protected KerisWirelssAimpoint(ushort vendorId, bool wireless) : base(0x0B05, vendorId, "mi_00", wireless)
{
}
public override int DPIProfileCount()
{
return 4;
}
public override string GetDisplayName()
{
return "ROG Keris Wireless Aimpoint (Wireless)";
}
public override PollingRate[] SupportedPollingrates()
{
return new PollingRate[] {
PollingRate.PR125Hz,
PollingRate.PR250Hz,
PollingRate.PR500Hz,
PollingRate.PR1000Hz
};
}
public override int ProfileCount()
{
return 5;
}
public override int MaxDPI()
{
return 36_000;
}
public override bool HasXYDPI()
{
return true;
}
public override bool HasDebounceSetting()
{
return true;
}
public override bool HasLiftOffSetting()
{
return true;
}
public override bool HasRGB()
{
return true;
}
public override LightingZone[] SupportedLightingZones()
{
return new LightingZone[] { LightingZone.Logo };
}
public override bool HasAutoPowerOff()
{
return true;
}
public override bool HasAngleSnapping()
{
return true;
}
public override bool HasAngleTuning()
{
return true;
}
public override bool HasLowBatteryWarning()
{
return true;
}
public override bool HasDPIColors()
{
return true;
}
}
public class KerisWirelssAimpointWired : KerisWirelssAimpoint
{
public KerisWirelssAimpointWired() : base(0x1A66, false)
{
}
public override string GetDisplayName()
{
return "ROG Keris Wireless Aimpoint (Wired)";
}
}
}

View File

@@ -170,4 +170,28 @@
return "ROG Keris (Wired)";
}
}
public class ROGKerisWirelessEvaEdition : ROGKerisWireless
{
public ROGKerisWirelessEvaEdition() : base(0x1A59, true)
{
}
public override string GetDisplayName()
{
return "ROG Keris EVA Edition";
}
}
public class ROGKerisWirelessEvaEditionWired : ROGKerisWireless
{
public ROGKerisWirelessEvaEditionWired() : base(0x1A57, false)
{
}
public override string GetDisplayName()
{
return "ROG Keris EVA Edition (Wired)";
}
}
}

View File

@@ -189,12 +189,19 @@ namespace GHelper.Peripherals
DetectMouse(new GladiusIIIAimpointWired());
DetectMouse(new ROGKerisWireless());
DetectMouse(new ROGKerisWirelessWired());
DetectMouse(new ROGKerisWirelessEvaEdition());
DetectMouse(new ROGKerisWirelessEvaEditionWired());
DetectMouse(new TUFM4Wirelss());
DetectMouse(new StrixImpactIIWireless());
DetectMouse(new StrixImpactIIWirelessWired());
DetectMouse(new GladiusIII());
DetectMouse(new GladiusIIIWired());
DetectMouse(new HarpeAceAimLabEdition());
DetectMouse(new HarpeAceAimLabEditionWired());
DetectMouse(new HarpeAceAimLabEditionOmni());
DetectMouse(new TUFM3());
DetectMouse(new KerisWirelssAimpoint());
DetectMouse(new KerisWirelssAimpointWired());
}
public static void DetectMouse(AsusMouse am)

View File

@@ -128,6 +128,7 @@ namespace GHelper
private static void SystemEvents_SessionEnding(object sender, SessionEndingEventArgs e)
{
gpuControl.StandardModeFix();
BatteryControl.SetBatteryChargeLimit();
}
private static void SystemEvents_SessionSwitch(object sender, SessionSwitchEventArgs e)
@@ -193,15 +194,17 @@ namespace GHelper
BatteryControl.SetBatteryChargeLimit();
settingsForm.AutoKeyboard();
settingsForm.matrix.SetMatrix();
settingsForm.matrix.SetMatrix(true);
}
private static void SystemEvents_PowerModeChanged(object sender, PowerModeChangedEventArgs e)
{
Logger.WriteLine("Power Mode:" + e.Mode.ToString());
if (e.Mode == PowerModes.Suspend) gpuControl.StandardModeFix();
if (e.Mode == PowerModes.Suspend)
{
Logger.WriteLine("Power Mode Changed:" + e.Mode.ToString());
gpuControl.StandardModeFix();
}
if (SystemInformation.PowerStatus.PowerLineStatus == isPlugged) return;
SetAutoModes(true);

View File

@@ -270,6 +270,16 @@ namespace GHelper.Properties {
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap icons8_hibernate_32 {
get {
object obj = ResourceManager.GetObject("icons8-hibernate-32", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
@@ -571,7 +581,7 @@ namespace GHelper.Properties {
}
/// <summary>
/// Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap.
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap lighting_dot_24 {
get {
@@ -581,7 +591,7 @@ namespace GHelper.Properties {
}
/// <summary>
/// Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap.
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap lighting_dot_32 {
get {
@@ -601,7 +611,7 @@ namespace GHelper.Properties {
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Icon ähnlich wie (Symbol).
/// Looks up a localized resource of type System.Drawing.Icon similar to (Icon).
/// </summary>
internal static System.Drawing.Icon standard {
get {

View File

@@ -148,24 +148,30 @@
<data name="icons8-charging-battery-32" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\icons8-charging-battery-32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="lighting_dot_32" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\lighting_dot_32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="icons8_touchpad_96" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\icons8-touchpad-96.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="icons8-automation-32" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\icons8-automation-32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="icons8_maus_32" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\icons8-maus-32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="icons8-help-32" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\icons8-help-32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="icons8-software-32-white" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\icons8-software-32-white.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="icons8_add_64" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\icons8-add-64.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="icons8-game-controller-48" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\icons8-game-controller-48.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="icons8_video_48" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\icons8-video-48.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="icons8-refresh-32" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\icons8-refresh-32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
@@ -178,12 +184,18 @@
<data name="icons8_charged_battery_96" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\icons8-charged-battery-96.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="lighting_dot_24" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\lighting_dot_24.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="icons8-bicycle-48 (1)" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\icons8-bicycle-48 (1).png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="brightness_down" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\brightness-down.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="icons8_batterie_voll_geladen_48" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\icons8-batterie-voll-geladen-48.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="icons8_charging_battery_96" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\icons8-charging-battery-96.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
@@ -193,6 +205,9 @@
<data name="icons8-video-card-32" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\icons8-video-card-32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="lighting_dot_48" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\lighting_dot_48.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="icons8-rocket-48" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\icons8-rocket-48.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
@@ -202,8 +217,8 @@
<data name="backlight_up" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\backlight-up.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="icons8-spa-flower-48" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\icons8-spa-flower-48.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
<data name="icons8_video_48" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\icons8-video-48.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="icons8-save-32" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\icons8-save-32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
@@ -220,9 +235,15 @@
<data name="icons8-fan-48" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\icons8-fan-48.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="icons8_maus_48" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\icons8-maus-48.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="icons8_remove_64" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\icons8-remove-64.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="icons8_mauszeiger_50" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\icons8-mauszeiger-50.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="icons8-matrix-32" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\icons8-matrix-32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
@@ -244,6 +265,9 @@
<data name="ultimate" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\ultimate.ico;System.Drawing.Icon, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="icons8-spa-flower-48" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\icons8-spa-flower-48.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="backlight" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\backlight.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
@@ -256,34 +280,13 @@
<data name="icons8-laptop-32" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\icons8-laptop-32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="icons8_rocket_32" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\icons8-rocket-32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="icons8-software-32-white" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\icons8-software-32-white.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="icons8_maus_48" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\icons8-maus-48.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="icons8_maus_32" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\icons8-maus-32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="icons8_mauszeiger_50" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\icons8-mauszeiger-50.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="icons8_batterie_voll_geladen_48" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\icons8-batterie-voll-geladen-48.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="icons8_ladende_batterie_48" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\icons8-ladende-batterie-48.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="lighting_dot_32" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\lighting_dot_32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
<data name="icons8_rocket_32" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\icons8-rocket-32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="lighting_dot_48" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\lighting_dot_48.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="lighting_dot_24" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\lighting_dot_24.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
<data name="icons8-hibernate-32" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\icons8-hibernate-32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
</root>

View File

@@ -60,6 +60,15 @@ namespace GHelper.Properties {
}
}
/// <summary>
/// Looks up a localized string similar to Acceleration.
/// </summary>
internal static string Acceleration {
get {
return ResourceManager.GetString("Acceleration", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Can&apos;t connect to ASUS ACPI. Application can&apos;t function without it. Try to install Asus System Control Interface.
/// </summary>
@@ -537,6 +546,15 @@ namespace GHelper.Properties {
}
}
/// <summary>
/// Looks up a localized string similar to Deceleration.
/// </summary>
internal static string Deceleration {
get {
return ResourceManager.GetString("Deceleration", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Default.
/// </summary>
@@ -565,7 +583,7 @@ namespace GHelper.Properties {
}
/// <summary>
/// Looks up a localized string similar to Download Update.
/// Looks up a localized string similar to Download.
/// </summary>
internal static string DownloadUpdate {
get {
@@ -827,6 +845,15 @@ namespace GHelper.Properties {
}
}
/// <summary>
/// Looks up a localized string similar to Minutes till Hibernation in sleep on battery (0 - OFF).
/// </summary>
internal static string HibernateAfter {
get {
return ResourceManager.GetString("HibernateAfter", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to High.
/// </summary>
@@ -1314,7 +1341,7 @@ namespace GHelper.Properties {
}
/// <summary>
/// Looks up a localized string similar to Something is using dGPU and preventing Eco mode. Restart dGPU in device manager? * Please proceed at your own risk..
/// Looks up a localized string similar to Something is using dGPU and preventing Eco mode. Let G-Helper try to restart dGPU in device manager? (Please proceed at your own risk).
/// </summary>
internal static string RestartGPU {
get {

View File

@@ -117,6 +117,9 @@
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="Acceleration" xml:space="preserve">
<value>Beschleunigung</value>
</data>
<data name="ACPIError" xml:space="preserve">
<value>Verbindung zu ASUS ACPI fehlgeschlagen. G-Helper kann nicht ausgeführt werden. Bitte installiere ASUS System Control Interface.</value>
</data>
@@ -276,6 +279,9 @@
<data name="Custom" xml:space="preserve">
<value>Benutzerdefiniert</value>
</data>
<data name="Deceleration" xml:space="preserve">
<value>Verlangsamung</value>
</data>
<data name="Default" xml:space="preserve">
<value>Standard</value>
</data>
@@ -286,7 +292,7 @@
<value>Entlädt</value>
</data>
<data name="DownloadUpdate" xml:space="preserve">
<value>Updates herunterladen</value>
<value>Download</value>
</data>
<data name="DriverAndSoftware" xml:space="preserve">
<value>Treiber und Software</value>
@@ -374,6 +380,9 @@ Trotzdem fortfahren?</value>
<data name="GPUTempTarget" xml:space="preserve">
<value>Maximale GPU Temperatur</value>
</data>
<data name="HibernateAfter" xml:space="preserve">
<value>Minuten bis zum Ruhezustand im Standby (0 = Aus)</value>
</data>
<data name="High" xml:space="preserve">
<value>Hoch</value>
</data>

View File

@@ -117,6 +117,9 @@
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="Acceleration" xml:space="preserve">
<value>Aceleración</value>
</data>
<data name="ACPIError" xml:space="preserve">
<value>No se pudo conectar con ASUS ACPI. La aplicación no puede funcionar sin el recurso. Instale Asus System Control Interface</value>
</data>
@@ -241,7 +244,7 @@
<value>Equilibrado</value>
</data>
<data name="BatteryCharge" xml:space="preserve">
<value>Charge</value>
<value>Carga</value>
</data>
<data name="BatteryChargeLimit" xml:space="preserve">
<value>Límite de carga</value>
@@ -276,6 +279,9 @@
<data name="Custom" xml:space="preserve">
<value>Personalizado</value>
</data>
<data name="Deceleration" xml:space="preserve">
<value>Desaceleración</value>
</data>
<data name="Default" xml:space="preserve">
<value>Por defecto</value>
</data>
@@ -286,7 +292,7 @@
<value>Descargando</value>
</data>
<data name="DownloadUpdate" xml:space="preserve">
<value>Descargar actualización</value>
<value>Descargar</value>
</data>
<data name="DriverAndSoftware" xml:space="preserve">
<value>Drivers y Software</value>
@@ -374,6 +380,9 @@
<data name="GPUTempTarget" xml:space="preserve">
<value>Temperatura objetivo</value>
</data>
<data name="HibernateAfter" xml:space="preserve">
<value>Minutos hasta hibernación en suspensión con batería (0 - OFF)</value>
</data>
<data name="High" xml:space="preserve">
<value>Alto</value>
</data>
@@ -537,7 +546,7 @@
<value>Quitar</value>
</data>
<data name="RestartGPU" xml:space="preserve">
<value>Algo está usando la dGPU e impide usar Modo Eco. ¿Reiniciar dGPU en administrador de dispositivos? * Proceda bajo su propio riesgo.</value>
<value>Algo está usando la dGPU e impide el modo Eco. ¿Reiniciar dGPU en el administrador de dispositivos? (Proceda bajo su propio riesgo)</value>
</data>
<data name="RPM" xml:space="preserve">
<value>RPM</value>

View File

@@ -117,6 +117,9 @@
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="Acceleration" xml:space="preserve">
<value>Accélération</value>
</data>
<data name="ACPIError" xml:space="preserve">
<value>Connexion impossible avec ASUS ACPI. L'application ne peut fonctionner sans. Veuillez installer Asus System Control Interface</value>
</data>
@@ -184,7 +187,7 @@
<value>Rapide</value>
</data>
<data name="AuraLightingMode" xml:space="preserve">
<value>Lighting Mode</value>
<value>Mode dÉclairage</value>
</data>
<data name="AuraNormal" xml:space="preserve">
<value>Normal</value>
@@ -208,7 +211,7 @@
<value>Stroboscopique</value>
</data>
<data name="AuraZoneAll" xml:space="preserve">
<value>All</value>
<value>Tout</value>
</data>
<data name="AuraZoneDock" xml:space="preserve">
<value>Dock</value>
@@ -217,7 +220,7 @@
<value>Logo</value>
</data>
<data name="AuraZoneScroll" xml:space="preserve">
<value>Scrollwheel</value>
<value>Molette</value>
</data>
<data name="AuraZoneUnderglow" xml:space="preserve">
<value>Underglow</value>
@@ -276,6 +279,9 @@
<data name="Custom" xml:space="preserve">
<value>Personnalisé</value>
</data>
<data name="Deceleration" xml:space="preserve">
<value>Décélération</value>
</data>
<data name="Default" xml:space="preserve">
<value>Par défaut</value>
</data>
@@ -286,7 +292,7 @@
<value>Taux décharge </value>
</data>
<data name="DownloadUpdate" xml:space="preserve">
<value>Télécharger la mise à jour</value>
<value>Télécharger</value>
</data>
<data name="DriverAndSoftware" xml:space="preserve">
<value>Pilotes et Logiciels</value>
@@ -374,8 +380,11 @@ Voulez-vous continuer ?</value>
<data name="GPUTempTarget" xml:space="preserve">
<value>Température cible</value>
</data>
<data name="HibernateAfter" xml:space="preserve">
<value>Minutes jusqu'à la mise en veille prolongée sur la batterie (0 - OFF)</value>
</data>
<data name="High" xml:space="preserve">
<value>High</value>
<value>Élevé</value>
</data>
<data name="KeyBindings" xml:space="preserve">
<value>Raccourcis clavier</value>
@@ -408,7 +417,7 @@ Voulez-vous continuer ?</value>
<value>Logo</value>
</data>
<data name="Low" xml:space="preserve">
<value>Low</value>
<value>Faible</value>
</data>
<data name="MatrixAudio" xml:space="preserve">
<value>Visualiseur Audio</value>
@@ -537,7 +546,7 @@ Voulez-vous continuer ?</value>
<value>Quitter</value>
</data>
<data name="RestartGPU" xml:space="preserve">
<value>Un processus utilisant le dGPU empêche le passage en mode Éco. Redémarrer le dGPU ? * Procédez à vos risques.</value>
<value>Un programme utilise le dGPU et empêche le passage en mode Éco. Laissez G-Helper tenter un redémarrage du dGPU dans le gestionnaire de tâches ? (Procéder à vos propres risques)</value>
</data>
<data name="RPM" xml:space="preserve">
<value> RPM</value>

View File

@@ -117,6 +117,9 @@
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="Acceleration" xml:space="preserve">
<value>Acceleration</value>
</data>
<data name="ACPIError" xml:space="preserve">
<value>Nem sikerült csatlakozni az ASUS ACPI-hez, az alkalmazás nem működik enélkül. Próbáld meg telepíteni az ASUS rendszervezérlő interfész-t</value>
</data>
@@ -276,6 +279,9 @@
<data name="Custom" xml:space="preserve">
<value>Egyéni</value>
</data>
<data name="Deceleration" xml:space="preserve">
<value>Deceleration</value>
</data>
<data name="Default" xml:space="preserve">
<value>Alapért.</value>
</data>
@@ -286,7 +292,7 @@
<value>Merülés</value>
</data>
<data name="DownloadUpdate" xml:space="preserve">
<value>Frissítés letöltése</value>
<value>Download</value>
</data>
<data name="DriverAndSoftware" xml:space="preserve">
<value>Illesztőprogramok és alkalmazások</value>
@@ -374,6 +380,9 @@ Do you still want to continue?</value>
<data name="GPUTempTarget" xml:space="preserve">
<value>Célhőmérséklet</value>
</data>
<data name="HibernateAfter" xml:space="preserve">
<value>Minutes till Hibernation in sleep on battery (0 - OFF)</value>
</data>
<data name="High" xml:space="preserve">
<value>High</value>
</data>
@@ -537,7 +546,7 @@ Do you still want to continue?</value>
<value>Bezárás</value>
</data>
<data name="RestartGPU" xml:space="preserve">
<value>Valami használja még a dGPU-t, ezzel megakadályozva az Eco móda lépést. Újraindítsuk a dGPU-t eszközkezelőben? * Kérjük, saját felelősségére folytassa.</value>
<value>Something is using dGPU and preventing Eco mode. Let G-Helper try to restart dGPU in device manager? (Please proceed at your own risk)</value>
</data>
<data name="RPM" xml:space="preserve">
<value>Fordulatszám</value>

View File

@@ -117,8 +117,11 @@
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="Acceleration" xml:space="preserve">
<value>Accelerazione</value>
</data>
<data name="ACPIError" xml:space="preserve">
<value>Impossibile connettersi ad ASUS ACPI. Senza di essa l'applicazione non può funzionare. Prova a installare Asus Satem Contro Interfacce</value>
<value>Impossibile connettersi ad ASUS ACPI. Senza di essa l'applicazione non può funzionare. Prova ad installare Asus System Control Interface</value>
</data>
<data name="AlertDGPU" xml:space="preserve">
<value>Uso intensivo della GPU, disabilitare?</value>
@@ -163,28 +166,28 @@
<value>Servizi Asus in Esecuzione</value>
</data>
<data name="AuraBatteryState" xml:space="preserve">
<value>Battery State</value>
<value>Stato Batteria</value>
</data>
<data name="AuraBreathe" xml:space="preserve">
<value>Respiro</value>
</data>
<data name="AuraClockwise" xml:space="preserve">
<value>Clockwise</value>
<value>Senso Orario</value>
</data>
<data name="AuraColorCycle" xml:space="preserve">
<value>Ciclo Colori</value>
</data>
<data name="AuraComet" xml:space="preserve">
<value>Comet</value>
<value>Cometa</value>
</data>
<data name="AuraCounterClockwise" xml:space="preserve">
<value>Counterclockwise</value>
<value>Senso Antiorario</value>
</data>
<data name="AuraFast" xml:space="preserve">
<value>Veloce</value>
</data>
<data name="AuraLightingMode" xml:space="preserve">
<value>Lighting Mode</value>
<value>Modalità Illuminazione</value>
</data>
<data name="AuraNormal" xml:space="preserve">
<value>Normale</value>
@@ -193,10 +196,10 @@
<value>Arcobaleno</value>
</data>
<data name="AuraRandomColor" xml:space="preserve">
<value>Random</value>
<value>Casuale</value>
</data>
<data name="AuraReact" xml:space="preserve">
<value>React</value>
<value>Reazione</value>
</data>
<data name="AuraSlow" xml:space="preserve">
<value>Lenta</value>
@@ -208,7 +211,7 @@
<value>Strobo</value>
</data>
<data name="AuraZoneAll" xml:space="preserve">
<value>All</value>
<value>Tutte</value>
</data>
<data name="AuraZoneDock" xml:space="preserve">
<value>Dock</value>
@@ -217,7 +220,7 @@
<value>Logo</value>
</data>
<data name="AuraZoneScroll" xml:space="preserve">
<value>Scrollwheel</value>
<value>Rotellina</value>
</data>
<data name="AuraZoneUnderglow" xml:space="preserve">
<value>Underglow</value>
@@ -241,7 +244,7 @@
<value>Bilanciato</value>
</data>
<data name="BatteryCharge" xml:space="preserve">
<value>Charge</value>
<value>Carica</value>
</data>
<data name="BatteryChargeLimit" xml:space="preserve">
<value>Limite Ricarica Batteria</value>
@@ -276,6 +279,9 @@
<data name="Custom" xml:space="preserve">
<value>Personalizzato</value>
</data>
<data name="Deceleration" xml:space="preserve">
<value>Decelerazione</value>
</data>
<data name="Default" xml:space="preserve">
<value>Default</value>
</data>
@@ -286,7 +292,7 @@
<value>Scaricamento</value>
</data>
<data name="DownloadUpdate" xml:space="preserve">
<value>Scarica aggiornamento</value>
<value>Scarica</value>
</data>
<data name="DriverAndSoftware" xml:space="preserve">
<value>Driver e Software</value>
@@ -306,7 +312,7 @@ Sei sicuro di voler continuare?</value>
<value>Modalità schermo NVIDIA non impostata su Optimus</value>
</data>
<data name="EnergySettings" xml:space="preserve">
<value>Energy Settings</value>
<value>Risparmio Energia</value>
</data>
<data name="Extra" xml:space="preserve">
<value>Extra</value>
@@ -374,8 +380,11 @@ Sei sicuro di voler continuare?</value>
<data name="GPUTempTarget" xml:space="preserve">
<value>Temperatura Target</value>
</data>
<data name="HibernateAfter" xml:space="preserve">
<value>Iberna dopo X minuti se alimentato a batteria (0 - ACCESO)</value>
</data>
<data name="High" xml:space="preserve">
<value>High</value>
<value>Elevato</value>
</data>
<data name="KeyBindings" xml:space="preserve">
<value>Associazione Tasti</value>
@@ -402,13 +411,13 @@ Sei sicuro di voler continuare?</value>
<value>Barra Luminosa</value>
</data>
<data name="Lighting" xml:space="preserve">
<value>Lighting</value>
<value>Illuminazione</value>
</data>
<data name="Logo" xml:space="preserve">
<value>Logo</value>
</data>
<data name="Low" xml:space="preserve">
<value>Low</value>
<value>Basso</value>
</data>
<data name="MatrixAudio" xml:space="preserve">
<value>Visualizzatore Audio</value>
@@ -444,31 +453,31 @@ Sei sicuro di voler continuare?</value>
<value>60Hz refresh rate per risparmiare batteria</value>
</data>
<data name="Minute" xml:space="preserve">
<value>Minute</value>
<value>Minuto</value>
</data>
<data name="Minutes" xml:space="preserve">
<value>Minutes</value>
<value>Minuti</value>
</data>
<data name="MouseAngleSnapping" xml:space="preserve">
<value>Angle Snapping</value>
</data>
<data name="MouseAutoPowerOff" xml:space="preserve">
<value>Auto Power Off After</value>
<value>Auto-disattivazione dopo</value>
</data>
<data name="MouseButtonResponse" xml:space="preserve">
<value>Button Response</value>
<value>Risposta Tasto Mouse</value>
</data>
<data name="MouseLiftOffDistance" xml:space="preserve">
<value>Lift Off Distance</value>
</data>
<data name="MouseLowBatteryWarning" xml:space="preserve">
<value>Low Battery Warning at</value>
<value>Avviso Batteria Mouse in Esaurimento</value>
</data>
<data name="MousePerformance" xml:space="preserve">
<value>Performance</value>
<value>Prestazioni</value>
</data>
<data name="MouseSynchronize" xml:space="preserve">
<value>Synchronize with mouse</value>
<value>Sincronizza con Mouse</value>
</data>
<data name="Multizone" xml:space="preserve">
<value>Multizona</value>
@@ -477,7 +486,7 @@ Sei sicuro di voler continuare?</value>
<value>Silenzia microfono</value>
</data>
<data name="Never" xml:space="preserve">
<value>Never</value>
<value>Mai</value>
</data>
<data name="NewUpdates" xml:space="preserve">
<value>Nuovi aggiornamenti</value>
@@ -486,7 +495,7 @@ Sei sicuro di voler continuare?</value>
<value>Sistema aggiornato</value>
</data>
<data name="NotConnected" xml:space="preserve">
<value>Not Connected</value>
<value>Non Connesso</value>
</data>
<data name="OpenGHelper" xml:space="preserve">
<value>Apri G-Helper</value>
@@ -510,7 +519,7 @@ Sei sicuro di voler continuare?</value>
<value>Profilo</value>
</data>
<data name="Peripherals" xml:space="preserve">
<value>Peripherals</value>
<value>Periferiche</value>
</data>
<data name="PictureGif" xml:space="preserve">
<value>Immagine / Gif</value>
@@ -531,13 +540,13 @@ Sei sicuro di voler continuare?</value>
<value>PrintScreen</value>
</data>
<data name="Profile" xml:space="preserve">
<value>Profile</value>
<value>Profilo</value>
</data>
<data name="Quit" xml:space="preserve">
<value>Esci</value>
</data>
<data name="RestartGPU" xml:space="preserve">
<value>Qualcosa sta utilizzando la dGPU e impedendo la modalità Eco. Riavviare la dGPU da Gestione dispositivi? * Procedere a proprio rischio e pericolo.</value>
<value>Qualcosa sta utilizzando la dGPU e impedisce il passaggio alla modalità Eco. Vuoi che G-Helper provi a riavviare la dGPU in gestione dispositivi? (Procedi a tuo rischio)</value>
</data>
<data name="RPM" xml:space="preserve">
<value>RPM</value>

View File

@@ -117,6 +117,9 @@
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="Acceleration" xml:space="preserve">
<value>Acceleration</value>
</data>
<data name="ACPIError" xml:space="preserve">
<value>ASUS ACPI에 연결할 수 없어 응용 프로그램이 작동하지 않습니다. Asus System Control Interface를 먼저 설치하십시오.</value>
</data>
@@ -163,64 +166,64 @@
<value>실행중인 Asus 서비스</value>
</data>
<data name="AuraBatteryState" xml:space="preserve">
<value>Battery State</value>
<value>배터리 상태</value>
</data>
<data name="AuraBreathe" xml:space="preserve">
<value>Breathe</value>
<value>숨쉬기</value>
</data>
<data name="AuraClockwise" xml:space="preserve">
<value>Clockwise</value>
<value>시계 방향</value>
</data>
<data name="AuraColorCycle" xml:space="preserve">
<value>Color Cycle</value>
<value>색 순환</value>
</data>
<data name="AuraComet" xml:space="preserve">
<value>Comet</value>
<value>혜성</value>
</data>
<data name="AuraCounterClockwise" xml:space="preserve">
<value>Counterclockwise</value>
<value>반시계 방향</value>
</data>
<data name="AuraFast" xml:space="preserve">
<value>빠르게</value>
</data>
<data name="AuraLightingMode" xml:space="preserve">
<value>Lighting Mode</value>
<value>조명 모드</value>
</data>
<data name="AuraNormal" xml:space="preserve">
<value>보통</value>
</data>
<data name="AuraRainbow" xml:space="preserve">
<value>Rainbow</value>
<value>무지개</value>
</data>
<data name="AuraRandomColor" xml:space="preserve">
<value>Random</value>
<value>랜덤</value>
</data>
<data name="AuraReact" xml:space="preserve">
<value>React</value>
<value>반응</value>
</data>
<data name="AuraSlow" xml:space="preserve">
<value>느리게</value>
</data>
<data name="AuraStatic" xml:space="preserve">
<value>Static</value>
<value>정적</value>
</data>
<data name="AuraStrobe" xml:space="preserve">
<value>Strobe</value>
<value>섬광</value>
</data>
<data name="AuraZoneAll" xml:space="preserve">
<value>All</value>
<value>전체</value>
</data>
<data name="AuraZoneDock" xml:space="preserve">
<value>Dock</value>
<value></value>
</data>
<data name="AuraZoneLogo" xml:space="preserve">
<value>Logo</value>
<value>로고</value>
</data>
<data name="AuraZoneScroll" xml:space="preserve">
<value>Scrollwheel</value>
<value>스크롤 휠</value>
</data>
<data name="AuraZoneUnderglow" xml:space="preserve">
<value>Underglow</value>
<value>하단 조명</value>
</data>
<data name="AutoApply" xml:space="preserve">
<value>자동 적용</value>
@@ -232,28 +235,28 @@
<value>배터리 사용 중에만 60Hz 설정</value>
</data>
<data name="Awake" xml:space="preserve">
<value>Awake</value>
<value>절전 모드 해제</value>
</data>
<data name="BacklightTimeout" xml:space="preserve">
<value>전원 연결 / 배터리 사용 중 자동 꺼짐 시간 (0 - 항상 켜짐)</value>
<value>전원 / 배터리 사용 중 자동 꺼짐 시간 (0 - 항상 켜짐)</value>
</data>
<data name="Balanced" xml:space="preserve">
<value>균형</value>
</data>
<data name="BatteryCharge" xml:space="preserve">
<value>Charge</value>
<value>잔량</value>
</data>
<data name="BatteryChargeLimit" xml:space="preserve">
<value>배터리 충전 제한</value>
</data>
<data name="BatteryHealth" xml:space="preserve">
<value>Battery Health</value>
<value>배터리 수명</value>
</data>
<data name="BiosAndDriverUpdates" xml:space="preserve">
<value>바이오스/드라이버 업데이트</value>
</data>
<data name="Boot" xml:space="preserve">
<value>Boot</value>
<value>부팅</value>
</data>
<data name="Brightness" xml:space="preserve">
<value>밝기</value>
@@ -265,7 +268,7 @@
<value>밝기 증가</value>
</data>
<data name="Charging" xml:space="preserve">
<value>Charging</value>
<value>충전 중</value>
</data>
<data name="Color" xml:space="preserve">
<value>색상</value>
@@ -276,6 +279,9 @@
<data name="Custom" xml:space="preserve">
<value>사용자 설정</value>
</data>
<data name="Deceleration" xml:space="preserve">
<value>Deceleration</value>
</data>
<data name="Default" xml:space="preserve">
<value>기본</value>
</data>
@@ -286,7 +292,7 @@
<value>방전 중</value>
</data>
<data name="DownloadUpdate" xml:space="preserve">
<value>업데이트 다운로드</value>
<value>다운로드</value>
</data>
<data name="DriverAndSoftware" xml:space="preserve">
<value>드라이버와 소프트웨어</value>
@@ -336,7 +342,7 @@
<value>팬 속도/전력</value>
</data>
<data name="FanSpeed" xml:space="preserve">
<value>Fan</value>
<value></value>
</data>
<data name="FansPower" xml:space="preserve">
<value>팬 + 전력</value>
@@ -374,8 +380,11 @@
<data name="GPUTempTarget" xml:space="preserve">
<value>목표 온도</value>
</data>
<data name="HibernateAfter" xml:space="preserve">
<value>최대 절전 모드 전환 시간 (0 - 꺼짐)</value>
</data>
<data name="High" xml:space="preserve">
<value>High</value>
<value>높게</value>
</data>
<data name="KeyBindings" xml:space="preserve">
<value>키 설정</value>
@@ -402,13 +411,13 @@
<value>라이트바</value>
</data>
<data name="Lighting" xml:space="preserve">
<value>Lighting</value>
<value>조명</value>
</data>
<data name="Logo" xml:space="preserve">
<value>로고</value>
</data>
<data name="Low" xml:space="preserve">
<value>Low</value>
<value>낮게</value>
</data>
<data name="MatrixAudio" xml:space="preserve">
<value>오디오 비주얼라이저</value>
@@ -444,31 +453,31 @@
<value>60Hz 주사율 설정</value>
</data>
<data name="Minute" xml:space="preserve">
<value>Minute</value>
<value>분 후</value>
</data>
<data name="Minutes" xml:space="preserve">
<value>Minutes</value>
<value>분 후</value>
</data>
<data name="MouseAngleSnapping" xml:space="preserve">
<value>Angle Snapping</value>
<value>직선 보정</value>
</data>
<data name="MouseAutoPowerOff" xml:space="preserve">
<value>Auto Power Off After</value>
<value>자동 전원 꺼짐</value>
</data>
<data name="MouseButtonResponse" xml:space="preserve">
<value>Button Response</value>
<value>버튼 응답</value>
</data>
<data name="MouseLiftOffDistance" xml:space="preserve">
<value>Lift Off Distance</value>
<value>들어올림 거리</value>
</data>
<data name="MouseLowBatteryWarning" xml:space="preserve">
<value>Low Battery Warning at</value>
<value>배터리 부족 경고 알림</value>
</data>
<data name="MousePerformance" xml:space="preserve">
<value>Performance</value>
<value>성능</value>
</data>
<data name="MouseSynchronize" xml:space="preserve">
<value>Synchronize with mouse</value>
<value>마우스와 동기화</value>
</data>
<data name="Multizone" xml:space="preserve">
<value>멀티존</value>
@@ -477,7 +486,7 @@
<value>마이크 음소거</value>
</data>
<data name="Never" xml:space="preserve">
<value>Never</value>
<value>사용 안함</value>
</data>
<data name="NewUpdates" xml:space="preserve">
<value>새 업데이트</value>
@@ -486,7 +495,7 @@
<value>새 업데이트 없음</value>
</data>
<data name="NotConnected" xml:space="preserve">
<value>Not Connected</value>
<value>연결되지 않음</value>
</data>
<data name="OpenGHelper" xml:space="preserve">
<value>G-Helper 열기</value>
@@ -510,7 +519,7 @@
<value>성능 모드</value>
</data>
<data name="Peripherals" xml:space="preserve">
<value>Peripherals</value>
<value>주변 장치</value>
</data>
<data name="PictureGif" xml:space="preserve">
<value>사진 / Gif</value>
@@ -519,7 +528,7 @@
<value>재생 / 정지</value>
</data>
<data name="PollingRate" xml:space="preserve">
<value>Polling Rate</value>
<value>폴링레이트</value>
</data>
<data name="PowerLimits" xml:space="preserve">
<value>전력 제한</value>
@@ -531,7 +540,7 @@
<value>PrintScreen</value>
</data>
<data name="Profile" xml:space="preserve">
<value>Profile</value>
<value>프로필</value>
</data>
<data name="Quit" xml:space="preserve">
<value>종료</value>
@@ -552,13 +561,13 @@
<value>Screenpad 밝기 증가</value>
</data>
<data name="Shutdown" xml:space="preserve">
<value>꺼짐</value>
<value>시스템 종료</value>
</data>
<data name="Silent" xml:space="preserve">
<value>조용</value>
</data>
<data name="Sleep" xml:space="preserve">
<value>Sleep</value>
<value>절전 모드</value>
</data>
<data name="StandardGPUTooltip" xml:space="preserve">
<value>Standard 모드에서 dGPU 켜기</value>
@@ -585,19 +594,19 @@
<value>서비스 중지 중</value>
</data>
<data name="ToggleAura" xml:space="preserve">
<value>Aura 토글 키</value>
<value>Aura 전환 키</value>
</data>
<data name="ToggleClamshellMode" xml:space="preserve">
<value>Auto Toggle Clamshell Mode</value>
<value>클램쉘 모드 자동 전환</value>
</data>
<data name="ToggleFnLock" xml:space="preserve">
<value>Fn-Lock 토글 키</value>
<value>Fn-Lock 전환 키</value>
</data>
<data name="ToggleMiniled" xml:space="preserve">
<value>Miniled 토글 키 (지원하는 기기만)</value>
<value>Miniled 전환 키 (지원하는 기기만)</value>
</data>
<data name="ToggleScreen" xml:space="preserve">
<value>화면 토글 키</value>
<value>화면 전환 키</value>
</data>
<data name="Turbo" xml:space="preserve">
<value>터보</value>
@@ -615,7 +624,7 @@
<value>Ultimate</value>
</data>
<data name="UndervoltingRisky" xml:space="preserve">
<value>언더볼팅은 실험적이며 위험한 기능입니다. 적용 값이 너무 낮은 경우 시스템이 불안정해지고, 종료되거나 데이터 손상을 유발할 수 있습니다. 은 값부터 적용하여 잘 작동하는지 확인해 보십시오.</value>
<value>언더볼팅은 실험적이며 위험한 기능입니다. 적용 값이 너무 낮은 경우 시스템이 불안정해지고, 강제 종료되거나 데이터 손상을 유발할 수 있습니다. 은 값부터 적용하여 잘 작동하는지 확인해 보십시오.</value>
</data>
<data name="Updates" xml:space="preserve">
<value>업데이트</value>

View File

@@ -117,6 +117,9 @@
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="Acceleration" xml:space="preserve">
<value>Greitėjimas</value>
</data>
<data name="ACPIError" xml:space="preserve">
<value>Nepavyko prisijungti prie ASUS ACPI. Programėlė be jo negali veikti. Pabandykite įdiegti Asus System Control Interface</value>
</data>
@@ -276,6 +279,9 @@
<data name="Custom" xml:space="preserve">
<value>Tinkintas</value>
</data>
<data name="Deceleration" xml:space="preserve">
<value>Lėtėjimas</value>
</data>
<data name="Default" xml:space="preserve">
<value>Numatytas</value>
</data>
@@ -286,7 +292,7 @@
<value>Iškrovimas</value>
</data>
<data name="DownloadUpdate" xml:space="preserve">
<value>Atsisiųsti naujinimą</value>
<value>Atsisiųsti</value>
</data>
<data name="DriverAndSoftware" xml:space="preserve">
<value>Tvarkyklės ir programinė įranga</value>
@@ -374,6 +380,9 @@ Vis tiek norite tęsti?</value>
<data name="GPUTempTarget" xml:space="preserve">
<value>Temperatūros tikslas</value>
</data>
<data name="HibernateAfter" xml:space="preserve">
<value>Minutės iki miego su akumuliatoriumi (0 IŠJUNGTA)</value>
</data>
<data name="High" xml:space="preserve">
<value>Aukštas</value>
</data>
@@ -537,7 +546,7 @@ Vis tiek norite tęsti?</value>
<value>Išeiti</value>
</data>
<data name="RestartGPU" xml:space="preserve">
<value>Kažkas naudoja dGPU ir neleidžia nustatyti ekonomiško režimo. Iš naujo paleisti dGPU įrenginių tvarkytuvėje? * Tęskite savo rizika.</value>
<value>Kažkas naudoja dGPU ir neleidžia įjungti ekonomiško režimo. Norite leisti G-Helper bandyti iš naujo paleisti dGPU įrenginių tvarkytuvėje? (Tęskite savo rizika)</value>
</data>
<data name="RPM" xml:space="preserve">
<value>RPM</value>

View File

@@ -117,6 +117,9 @@
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="Acceleration" xml:space="preserve">
<value>Przyśpieszenie</value>
</data>
<data name="ACPIError" xml:space="preserve">
<value>Nie można odnaleźć sterownika ASUS ACPI. Aplikacja nie może bez niego funkcjonować. Spróbuj zainstalować Asus System Control Interface</value>
</data>
@@ -241,7 +244,7 @@
<value>Balans</value>
</data>
<data name="BatteryCharge" xml:space="preserve">
<value>Charge</value>
<value>Naładowanie</value>
</data>
<data name="BatteryChargeLimit" xml:space="preserve">
<value>Limit ładowania baterii</value>
@@ -276,6 +279,9 @@
<data name="Custom" xml:space="preserve">
<value>Niestandardowy</value>
</data>
<data name="Deceleration" xml:space="preserve">
<value>Spowolnienie</value>
</data>
<data name="Default" xml:space="preserve">
<value>Domyślny</value>
</data>
@@ -286,7 +292,7 @@
<value>Zużycie mocy</value>
</data>
<data name="DownloadUpdate" xml:space="preserve">
<value>Pobierz aktualizację</value>
<value>Pobierz</value>
</data>
<data name="DriverAndSoftware" xml:space="preserve">
<value>Sterowniki i oprogramowanie</value>
@@ -374,6 +380,9 @@ Nadal chcesz kontynuować?</value>
<data name="GPUTempTarget" xml:space="preserve">
<value>Temperatura docelowa</value>
</data>
<data name="HibernateAfter" xml:space="preserve">
<value>Czas przejścia w hibernację na baterii (0 - wcale)</value>
</data>
<data name="High" xml:space="preserve">
<value>Wysoka</value>
</data>
@@ -456,7 +465,7 @@ Nadal chcesz kontynuować?</value>
<value>Przejście w tryb uśpienia po</value>
</data>
<data name="MouseButtonResponse" xml:space="preserve">
<value>Button Response</value>
<value>Reakcja przycisków</value>
</data>
<data name="MouseLiftOffDistance" xml:space="preserve">
<value>Wysokość reakcji sensora</value>
@@ -537,13 +546,13 @@ Nadal chcesz kontynuować?</value>
<value>Zamknij</value>
</data>
<data name="RestartGPU" xml:space="preserve">
<value>Coś korzysta z dedykowanego GPU i uniemożliwia włączenie trybu Eco. Zresetować dedykowany GPU w Menadżerze Urządzeń? * Używaj na własną odpowiedzialność</value>
<value>Coś korzysta z dGPU, uniemożliwiając włączenie trybu Eco. Czy G-Helper ma zresetować dGPU w Menadżerze Urządzeń? (Korzystasz na własne ryzyko)</value>
</data>
<data name="RPM" xml:space="preserve">
<value>RPM</value>
</data>
<data name="RunOnStartup" xml:space="preserve">
<value>Uruchom przy starcie systemu</value>
<value>Uruchom przy starcie</value>
</data>
<data name="ScreenPadDown" xml:space="preserve">
<value>Zmniejsz jasność ScreenPad</value>
@@ -588,7 +597,7 @@ Nadal chcesz kontynuować?</value>
<value>Przełącz Aura</value>
</data>
<data name="ToggleClamshellMode" xml:space="preserve">
<value>Automatyczne przełączanie trybu klapki</value>
<value>Automatyczny tryb pracy z zamkniętą pokrywą</value>
</data>
<data name="ToggleFnLock" xml:space="preserve">
<value>Przełącz Fn-Lock</value>

View File

@@ -117,8 +117,11 @@
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="Acceleration" xml:space="preserve">
<value>Acceleration</value>
</data>
<data name="ACPIError" xml:space="preserve">
<value>Não foi possível conectar ao ASUS ACPI. O applicativo não pode funcionar sem isso. Tente instalar Asus System Controle Interface</value>
<value>Não foi possível conectar ao ASUS ACPI. O aplicativo não pode funcionar sem isso. Tente instalar Asus System Controle Interface</value>
</data>
<data name="AlertDGPU" xml:space="preserve">
<value>Parece que o GPU está em uso pesado.</value>
@@ -276,6 +279,9 @@
<data name="Custom" xml:space="preserve">
<value>Personalizado</value>
</data>
<data name="Deceleration" xml:space="preserve">
<value>Deceleration</value>
</data>
<data name="Default" xml:space="preserve">
<value>Padrão</value>
</data>
@@ -286,7 +292,7 @@
<value>Descarregando</value>
</data>
<data name="DownloadUpdate" xml:space="preserve">
<value>Baixar a atualização</value>
<value>Download</value>
</data>
<data name="DriverAndSoftware" xml:space="preserve">
<value>Drivers and Software</value>
@@ -374,6 +380,9 @@ Do you still want to continue?</value>
<data name="GPUTempTarget" xml:space="preserve">
<value>Alvo de temperatura</value>
</data>
<data name="HibernateAfter" xml:space="preserve">
<value>Minutes till Hibernation in sleep on battery (0 - OFF)</value>
</data>
<data name="High" xml:space="preserve">
<value>High</value>
</data>
@@ -537,7 +546,7 @@ Do you still want to continue?</value>
<value>Sair</value>
</data>
<data name="RestartGPU" xml:space="preserve">
<value>Algum processo está usando o dGPU e impedindo o modo Econômico. Reinicialize o dGPU no gerenciador de dispositivos. Por favor, proceda por sua conta e risco. </value>
<value>Something is using dGPU and preventing Eco mode. Let G-Helper try to restart dGPU in device manager? (Please proceed at your own risk)</value>
</data>
<data name="RPM" xml:space="preserve">
<value>RPM</value>

View File

@@ -0,0 +1,647 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" id="root">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace"/>
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0"/>
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string"/>
<xsd:attribute name="type" type="xsd:string"/>
<xsd:attribute name="mimetype" type="xsd:string"/>
<xsd:attribute ref="xml:space"/>
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string"/>
<xsd:attribute name="name" type="xsd:string"/>
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1"/>
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2"/>
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1"/>
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3"/>
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4"/>
<xsd:attribute ref="xml:space"/>
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1"/>
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required"/>
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="Acceleration" xml:space="preserve">
<value>Aceleração</value>
</data>
<data name="ACPIError" xml:space="preserve">
<value>Não foi possível conectar ao ASUS ACPI. O programa não funciona sem esse serviço. Tente instalar Asus System Control Interface</value>
</data>
<data name="AlertDGPU" xml:space="preserve">
<value>Parece que o GPU está em uso pesado, desativá-lo?</value>
</data>
<data name="AlertDGPUTitle" xml:space="preserve">
<value>Modo económico</value>
</data>
<data name="AlertUltimateOff" xml:space="preserve">
<value>Passar ao Modo Ultimate implica o reinício do sistema</value>
</data>
<data name="AlertUltimateOn" xml:space="preserve">
<value>Modo Ultimate implica o reinício do sistema</value>
</data>
<data name="AlertUltimateTitle" xml:space="preserve">
<value>Reiniciar agora?</value>
</data>
<data name="AnimationSpeed" xml:space="preserve">
<value>Velocidade da Animação</value>
</data>
<data name="AnimeMatrix" xml:space="preserve">
<value>AniMe Matrix</value>
</data>
<data name="AppAlreadyRunning" xml:space="preserve">
<value>O programa já está em execução</value>
</data>
<data name="AppAlreadyRunningText" xml:space="preserve">
<value>G-Helper já está em execução. Verifique o tabuleiro do sistema pelo ícone.</value>
</data>
<data name="Apply" xml:space="preserve">
<value>Aplicar</value>
</data>
<data name="ApplyFanCurve" xml:space="preserve">
<value>Aplicar a curva personalizada</value>
</data>
<data name="ApplyPowerLimits" xml:space="preserve">
<value>Aplicar as limitações de energia</value>
</data>
<data name="ApplyWindowsPowerPlan" xml:space="preserve">
<value>Ajuste automático dos modos de energia do Windows</value>
</data>
<data name="AsusServicesRunning" xml:space="preserve">
<value>Serviços da Asus em execução</value>
</data>
<data name="AuraBatteryState" xml:space="preserve">
<value>Estado da bateria</value>
</data>
<data name="AuraBreathe" xml:space="preserve">
<value>Respiração</value>
</data>
<data name="AuraClockwise" xml:space="preserve">
<value>No sentido horário</value>
</data>
<data name="AuraColorCycle" xml:space="preserve">
<value>Ciclo de cores</value>
</data>
<data name="AuraComet" xml:space="preserve">
<value>Cometa</value>
</data>
<data name="AuraCounterClockwise" xml:space="preserve">
<value>No sentido anti-horário</value>
</data>
<data name="AuraFast" xml:space="preserve">
<value>Rápido</value>
</data>
<data name="AuraLightingMode" xml:space="preserve">
<value>Modo de iluminação</value>
</data>
<data name="AuraNormal" xml:space="preserve">
<value>Normal</value>
</data>
<data name="AuraRainbow" xml:space="preserve">
<value>Arco-íris</value>
</data>
<data name="AuraRandomColor" xml:space="preserve">
<value>Aleatório</value>
</data>
<data name="AuraReact" xml:space="preserve">
<value>Reagir</value>
</data>
<data name="AuraSlow" xml:space="preserve">
<value>Lento</value>
</data>
<data name="AuraStatic" xml:space="preserve">
<value>Estático</value>
</data>
<data name="AuraStrobe" xml:space="preserve">
<value>Estroboscópio</value>
</data>
<data name="AuraZoneAll" xml:space="preserve">
<value>Todos</value>
</data>
<data name="AuraZoneDock" xml:space="preserve">
<value>Dock</value>
</data>
<data name="AuraZoneLogo" xml:space="preserve">
<value>Logo</value>
</data>
<data name="AuraZoneScroll" xml:space="preserve">
<value>Roda de Deslocamento</value>
</data>
<data name="AuraZoneUnderglow" xml:space="preserve">
<value>Underglow</value>
</data>
<data name="AutoApply" xml:space="preserve">
<value>Aplicar automaticamente</value>
</data>
<data name="AutoMode" xml:space="preserve">
<value>Automático</value>
</data>
<data name="AutoRefreshTooltip" xml:space="preserve">
<value>Define a taxa de atualização automaticamente para poupar bateria</value>
</data>
<data name="Awake" xml:space="preserve">
<value>Acordado</value>
</data>
<data name="BacklightTimeout" xml:space="preserve">
<value>Tempo limite ligado à corrente / na bateria (0 - ON)</value>
</data>
<data name="Balanced" xml:space="preserve">
<value>Equilibrado</value>
</data>
<data name="BatteryCharge" xml:space="preserve">
<value>Carga</value>
</data>
<data name="BatteryChargeLimit" xml:space="preserve">
<value>Limite de carga</value>
</data>
<data name="BatteryHealth" xml:space="preserve">
<value>Estado da bateria</value>
</data>
<data name="BiosAndDriverUpdates" xml:space="preserve">
<value>Atualizações de Drivers e da BIOS</value>
</data>
<data name="Boot" xml:space="preserve">
<value>Ao ligar</value>
</data>
<data name="Brightness" xml:space="preserve">
<value>Nível do brilho</value>
</data>
<data name="BrightnessDown" xml:space="preserve">
<value>Diminuir o brilho</value>
</data>
<data name="BrightnessUp" xml:space="preserve">
<value>Aumentar o brilho</value>
</data>
<data name="Charging" xml:space="preserve">
<value>Carregando</value>
</data>
<data name="Color" xml:space="preserve">
<value>Cor</value>
</data>
<data name="CPUBoost" xml:space="preserve">
<value>Turbo do CPU</value>
</data>
<data name="Custom" xml:space="preserve">
<value>Personalizado</value>
</data>
<data name="Deceleration" xml:space="preserve">
<value>Desaceleração</value>
</data>
<data name="Default" xml:space="preserve">
<value>Padrão</value>
</data>
<data name="DisableOverdrive" xml:space="preserve">
<value>Desativar o overdrive do ecrã</value>
</data>
<data name="Discharging" xml:space="preserve">
<value>Descarregando</value>
</data>
<data name="DownloadUpdate" xml:space="preserve">
<value>Transferir</value>
</data>
<data name="DriverAndSoftware" xml:space="preserve">
<value>Drivers e Software</value>
</data>
<data name="EcoGPUTooltip" xml:space="preserve">
<value>Desativar o dGPU para poupar energia</value>
</data>
<data name="EcoMode" xml:space="preserve">
<value>Económico</value>
</data>
<data name="EnableOptimusText" xml:space="preserve">
<value>Desativar a dGPU por ativar o modo Eco enquanto o Modo de Ecrã no Painel de Controlo da NVIDIA não está definido para Optimus pode causar problemas com os controlos do brilho do painel até ao próximo reinício.
Quer prosseguir?</value>
</data>
<data name="EnableOptimusTitle" xml:space="preserve">
<value>O Modo de Ecrã da NVIDIA não está definido para Optimus</value>
</data>
<data name="EnergySettings" xml:space="preserve">
<value>Configurações de Energia</value>
</data>
<data name="Extra" xml:space="preserve">
<value>Adicional</value>
</data>
<data name="ExtraSettings" xml:space="preserve">
<value>Configurações adicionais</value>
</data>
<data name="FactoryDefaults" xml:space="preserve">
<value>Padrão de fábrica</value>
</data>
<data name="FanCurves" xml:space="preserve">
<value>Curvas das Ventoinhas</value>
</data>
<data name="FanProfileCPU" xml:space="preserve">
<value>Perfil da Ventoinha do CPU</value>
</data>
<data name="FanProfileGPU" xml:space="preserve">
<value>Perfil da Ventoinha da GPU</value>
</data>
<data name="FanProfileMid" xml:space="preserve">
<value>Perfil da Ventoinha Central</value>
</data>
<data name="FanProfiles" xml:space="preserve">
<value>Perfis das Ventoinhas</value>
</data>
<data name="FansAndPower" xml:space="preserve">
<value>Ventoinhas e Potência</value>
</data>
<data name="FanSpeed" xml:space="preserve">
<value>Fan</value>
</data>
<data name="FansPower" xml:space="preserve">
<value>Ventoinhas + Potência</value>
</data>
<data name="FnLock" xml:space="preserve">
<value>Processar teclas de atalho Fn+F sem pressionar Fn</value>
</data>
<data name="GPUBoost" xml:space="preserve">
<value>Boost dinâmico</value>
</data>
<data name="GPUChanging" xml:space="preserve">
<value>Carregando</value>
</data>
<data name="GPUCoreClockOffset" xml:space="preserve">
<value>Aumento da frequência básica</value>
</data>
<data name="GPUMemoryClockOffset" xml:space="preserve">
<value>Aumento da frequência da memória</value>
</data>
<data name="GPUMode" xml:space="preserve">
<value>Modo da GPU</value>
</data>
<data name="GPUModeEco" xml:space="preserve">
<value>Só iGPU</value>
</data>
<data name="GPUModeStandard" xml:space="preserve">
<value>iGPU + dGPU</value>
</data>
<data name="GPUModeUltimate" xml:space="preserve">
<value>Exclusivamente dGPU</value>
</data>
<data name="GPUSettings" xml:space="preserve">
<value>Parâmetros de GPU</value>
</data>
<data name="GPUTempTarget" xml:space="preserve">
<value>Temperatura limite</value>
</data>
<data name="HibernateAfter" xml:space="preserve">
<value>Minutos para a hibernação em suspensão, na bateria (0 - OFF)</value>
</data>
<data name="High" xml:space="preserve">
<value>Alto</value>
</data>
<data name="KeyBindings" xml:space="preserve">
<value>Combinações de teclas</value>
</data>
<data name="Keyboard" xml:space="preserve">
<value>Teclado</value>
</data>
<data name="KillGpuApps" xml:space="preserve">
<value>Parar todos os programas que usam a GPU ao alternar para o modo Eco</value>
</data>
<data name="LaptopBacklight" xml:space="preserve">
<value>Configurações de iluminação</value>
</data>
<data name="LaptopKeyboard" xml:space="preserve">
<value>Teclado</value>
</data>
<data name="LaptopScreen" xml:space="preserve">
<value>Ecrã</value>
</data>
<data name="Lid" xml:space="preserve">
<value>Tampa</value>
</data>
<data name="Lightbar" xml:space="preserve">
<value>Barra de Luz</value>
</data>
<data name="Lighting" xml:space="preserve">
<value>Iluminação</value>
</data>
<data name="Logo" xml:space="preserve">
<value>Logo</value>
</data>
<data name="Low" xml:space="preserve">
<value>Baixo</value>
</data>
<data name="MatrixAudio" xml:space="preserve">
<value>Visualizador de áudio</value>
</data>
<data name="MatrixBanner" xml:space="preserve">
<value>Bandeira Binária</value>
</data>
<data name="MatrixBright" xml:space="preserve">
<value>Brilho</value>
</data>
<data name="MatrixClock" xml:space="preserve">
<value>Relógio</value>
</data>
<data name="MatrixDim" xml:space="preserve">
<value>Escuro</value>
</data>
<data name="MatrixLogo" xml:space="preserve">
<value>Logo ROG</value>
</data>
<data name="MatrixMedium" xml:space="preserve">
<value>Médio</value>
</data>
<data name="MatrixOff" xml:space="preserve">
<value>Desligado</value>
</data>
<data name="MatrixPicture" xml:space="preserve">
<value>Imagem</value>
</data>
<data name="MaxRefreshTooltip" xml:space="preserve">
<value>Taxa de atualização máxima e menor latência</value>
</data>
<data name="MinRefreshTooltip" xml:space="preserve">
<value>Taxa de atualização de 60Hz para poupar bateria</value>
</data>
<data name="Minute" xml:space="preserve">
<value>Minuto</value>
</data>
<data name="Minutes" xml:space="preserve">
<value>Minutos</value>
</data>
<data name="MouseAngleSnapping" xml:space="preserve">
<value>Angle Snapping</value>
</data>
<data name="MouseAutoPowerOff" xml:space="preserve">
<value>Desligar automaticamente após</value>
</data>
<data name="MouseButtonResponse" xml:space="preserve">
<value>Button Response</value>
</data>
<data name="MouseLiftOffDistance" xml:space="preserve">
<value>Distância de Lift Off</value>
</data>
<data name="MouseLowBatteryWarning" xml:space="preserve">
<value>Aviso de bateria fraca</value>
</data>
<data name="MousePerformance" xml:space="preserve">
<value>Desempenho do rato</value>
</data>
<data name="MouseSynchronize" xml:space="preserve">
<value>Sincronizar com o rato</value>
</data>
<data name="Multizone" xml:space="preserve">
<value>Multizona</value>
</data>
<data name="MuteMic" xml:space="preserve">
<value>Desligar microfone</value>
</data>
<data name="Never" xml:space="preserve">
<value>Nunca</value>
</data>
<data name="NewUpdates" xml:space="preserve">
<value>Novas atualizações</value>
</data>
<data name="NoNewUpdates" xml:space="preserve">
<value>Sem novas atualizações</value>
</data>
<data name="NotConnected" xml:space="preserve">
<value>Não conectado</value>
</data>
<data name="OpenGHelper" xml:space="preserve">
<value>Abrir G-Helper</value>
</data>
<data name="Optimized" xml:space="preserve">
<value>Otimizado</value>
</data>
<data name="OptimizedGPUTooltip" xml:space="preserve">
<value>Mudar para Eco em bateria, e mudar para Standard quando ligado à corrente</value>
</data>
<data name="OptimizedUSBC" xml:space="preserve">
<value>Manter a GPU desativada ao usar um carregador USB-C no modo Otimizado</value>
</data>
<data name="Other" xml:space="preserve">
<value>Outro</value>
</data>
<data name="Overdrive" xml:space="preserve">
<value>Overdrive</value>
</data>
<data name="PerformanceMode" xml:space="preserve">
<value>Modo</value>
</data>
<data name="Peripherals" xml:space="preserve">
<value>Periféricos</value>
</data>
<data name="PictureGif" xml:space="preserve">
<value>Imagem / Gif</value>
</data>
<data name="PlayPause" xml:space="preserve">
<value>Reproduzir / Pausar</value>
</data>
<data name="PollingRate" xml:space="preserve">
<value>Polling Rate</value>
</data>
<data name="PowerLimits" xml:space="preserve">
<value>Limites de Potência</value>
</data>
<data name="PPTExperimental" xml:space="preserve">
<value>Os Limites de Potência são uma funcionalidade experimental. Use com cuidado!</value>
</data>
<data name="PrintScreen" xml:space="preserve">
<value>Captura de ecrã</value>
</data>
<data name="Profile" xml:space="preserve">
<value>Perfil</value>
</data>
<data name="Quit" xml:space="preserve">
<value>Sair</value>
</data>
<data name="RestartGPU" xml:space="preserve">
<value>Algum processo está a utilizar a dGPU, impedindo o modo Eco. Deixar o G-Helper tentar reiniciar a dGPU no gestor de dispositivos? (Proceda por sua conta e risco)</value>
</data>
<data name="RPM" xml:space="preserve">
<value>RPM</value>
</data>
<data name="RunOnStartup" xml:space="preserve">
<value>Executar ao iniciar</value>
</data>
<data name="ScreenPadDown" xml:space="preserve">
<value>Diminuir o brilho do ScreenPad</value>
</data>
<data name="ScreenPadUp" xml:space="preserve">
<value>Aumentar o brilho do ScreenPad</value>
</data>
<data name="Shutdown" xml:space="preserve">
<value>Desligar</value>
</data>
<data name="Silent" xml:space="preserve">
<value>Silencioso</value>
</data>
<data name="Sleep" xml:space="preserve">
<value>Hibernação</value>
</data>
<data name="StandardGPUTooltip" xml:space="preserve">
<value>Liga o dGPU para uso padrão</value>
</data>
<data name="StandardMode" xml:space="preserve">
<value>Padrão</value>
</data>
<data name="Start" xml:space="preserve">
<value>Iniciar</value>
</data>
<data name="StartingServices" xml:space="preserve">
<value>Iniciando os serviços</value>
</data>
<data name="StartupError" xml:space="preserve">
<value>Erro de inicialização</value>
</data>
<data name="Stop" xml:space="preserve">
<value>Parar</value>
</data>
<data name="StopGPUApps" xml:space="preserve">
<value>Parar programas que usem a GPU</value>
</data>
<data name="StoppingServices" xml:space="preserve">
<value>Parando os serviços</value>
</data>
<data name="ToggleAura" xml:space="preserve">
<value>Alternar Aura</value>
</data>
<data name="ToggleClamshellMode" xml:space="preserve">
<value>Alternar automaticamente o Modo Clamshell</value>
</data>
<data name="ToggleFnLock" xml:space="preserve">
<value>Alternar Fn-Lock</value>
</data>
<data name="ToggleMiniled" xml:space="preserve">
<value>Alternar MiniLED (se suportado)</value>
</data>
<data name="ToggleScreen" xml:space="preserve">
<value>Alternar Ecrã</value>
</data>
<data name="Turbo" xml:space="preserve">
<value>Turbo</value>
</data>
<data name="TurnedOff" xml:space="preserve">
<value>Desligado</value>
</data>
<data name="TurnOffOnBattery" xml:space="preserve">
<value>Desligar em bateria</value>
</data>
<data name="UltimateGPUTooltip" xml:space="preserve">
<value>O ecrã do portátil está ligado diretamente à dGPU, maximizando FPS</value>
</data>
<data name="UltimateMode" xml:space="preserve">
<value>Ultimate</value>
</data>
<data name="UndervoltingRisky" xml:space="preserve">
<value>Undervolting é uma funcionalidade experimental e arriscada. Se os valores aplicados foram baixos para o hardware, podem existir instabilidades, desligar e causar corrupção de dados. Caso queira, comece por valores pequenos no início, clique em Aplicar e teste o que funciona para o hardware.</value>
</data>
<data name="Updates" xml:space="preserve">
<value>Atualizações</value>
</data>
<data name="VersionLabel" xml:space="preserve">
<value>Versão</value>
</data>
<data name="VolumeDown" xml:space="preserve">
<value>Diminuir o volume</value>
</data>
<data name="VolumeMute" xml:space="preserve">
<value>Sem som</value>
</data>
<data name="VolumeUp" xml:space="preserve">
<value>Aumentar o volume</value>
</data>
<data name="WindowTop" xml:space="preserve">
<value>Manter a janela do aplicativo sempre no topo</value>
</data>
</root>

View File

@@ -117,6 +117,9 @@
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="Acceleration" xml:space="preserve">
<value>Acceleration</value>
</data>
<data name="ACPIError" xml:space="preserve">
<value>Can't connect to ASUS ACPI. Application can't function without it. Try to install Asus System Control Interface</value>
</data>
@@ -276,6 +279,9 @@
<data name="Custom" xml:space="preserve">
<value>Custom</value>
</data>
<data name="Deceleration" xml:space="preserve">
<value>Deceleration</value>
</data>
<data name="Default" xml:space="preserve">
<value>Default</value>
</data>
@@ -286,7 +292,7 @@
<value>Discharging</value>
</data>
<data name="DownloadUpdate" xml:space="preserve">
<value>Download Update</value>
<value>Download</value>
</data>
<data name="DriverAndSoftware" xml:space="preserve">
<value>Drivers and Software</value>
@@ -374,6 +380,9 @@ Do you still want to continue?</value>
<data name="GPUTempTarget" xml:space="preserve">
<value>Temperature Target</value>
</data>
<data name="HibernateAfter" xml:space="preserve">
<value>Minutes till Hibernation in sleep on battery (0 - OFF)</value>
</data>
<data name="High" xml:space="preserve">
<value>High</value>
</data>
@@ -537,7 +546,7 @@ Do you still want to continue?</value>
<value>Quit</value>
</data>
<data name="RestartGPU" xml:space="preserve">
<value>Something is using dGPU and preventing Eco mode. Restart dGPU in device manager? * Please proceed at your own risk.</value>
<value>Something is using dGPU and preventing Eco mode. Let G-Helper try to restart dGPU in device manager? (Please proceed at your own risk)</value>
</data>
<data name="RPM" xml:space="preserve">
<value>RPM</value>

View File

@@ -117,6 +117,9 @@
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="Acceleration" xml:space="preserve">
<value>Acceleration</value>
</data>
<data name="ACPIError" xml:space="preserve">
<value>Nu se poate conecta la ASUS ACPI. Aplicația nu poate funcționa fără aceasta. Încercați să instalați Asus System Control Interface</value>
</data>
@@ -276,6 +279,9 @@
<data name="Custom" xml:space="preserve">
<value>Personalizat</value>
</data>
<data name="Deceleration" xml:space="preserve">
<value>Deceleration</value>
</data>
<data name="Default" xml:space="preserve">
<value>Implicit</value>
</data>
@@ -286,7 +292,7 @@
<value>Se descarcă</value>
</data>
<data name="DownloadUpdate" xml:space="preserve">
<value>Descărcați actualizarea</value>
<value>Download</value>
</data>
<data name="DriverAndSoftware" xml:space="preserve">
<value>Drivers și Aplicații</value>
@@ -374,6 +380,9 @@
<data name="GPUTempTarget" xml:space="preserve">
<value>Temperatura țintă</value>
</data>
<data name="HibernateAfter" xml:space="preserve">
<value>Minutes till Hibernation in sleep on battery (0 - OFF)</value>
</data>
<data name="High" xml:space="preserve">
<value>High</value>
</data>
@@ -537,7 +546,7 @@
<value>Închide</value>
</data>
<data name="RestartGPU" xml:space="preserve">
<value>O aplicație folosește dGPU și previne pornirea modului Eco. Reporniți dGPU în device manager? * Continuați pe propriul risc.</value>
<value>Something is using dGPU and preventing Eco mode. Let G-Helper try to restart dGPU in device manager? (Please proceed at your own risk)</value>
</data>
<data name="RPM" xml:space="preserve">
<value>RPM</value>

View File

@@ -117,6 +117,9 @@
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="Acceleration" xml:space="preserve">
<value>Acceleration</value>
</data>
<data name="ACPIError" xml:space="preserve">
<value>ASUS ACPI'ye bağlanılamıyor. Uygulama o olmadan çalışamaz. Asus Sistem Kontrol Arayüzü'nü yüklemeyi deneyin.</value>
</data>
@@ -276,6 +279,9 @@
<data name="Custom" xml:space="preserve">
<value>Özel</value>
</data>
<data name="Deceleration" xml:space="preserve">
<value>Deceleration</value>
</data>
<data name="Default" xml:space="preserve">
<value>Varsayılan</value>
</data>
@@ -286,7 +292,7 @@
<value>Pil boşalıyor</value>
</data>
<data name="DownloadUpdate" xml:space="preserve">
<value>Güncelleştirmeyi İndir</value>
<value>Download</value>
</data>
<data name="DriverAndSoftware" xml:space="preserve">
<value>Drivers and Software</value>
@@ -374,6 +380,9 @@ Do you still want to continue?</value>
<data name="GPUTempTarget" xml:space="preserve">
<value>Temperature Target</value>
</data>
<data name="HibernateAfter" xml:space="preserve">
<value>Minutes till Hibernation in sleep on battery (0 - OFF)</value>
</data>
<data name="High" xml:space="preserve">
<value>High</value>
</data>
@@ -537,7 +546,7 @@ Do you still want to continue?</value>
<value>Çıkış Yap</value>
</data>
<data name="RestartGPU" xml:space="preserve">
<value>Something is using dGPU and preventing Eco mode. Restart dGPU in device manager? * Please proceed at your own risk.</value>
<value>Something is using dGPU and preventing Eco mode. Let G-Helper try to restart dGPU in device manager? (Please proceed at your own risk)</value>
</data>
<data name="RPM" xml:space="preserve">
<value>RPM</value>

View File

@@ -117,6 +117,9 @@
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="Acceleration" xml:space="preserve">
<value>Acceleration</value>
</data>
<data name="ACPIError" xml:space="preserve">
<value>Не вдається під'єднатися до ASUS ACPI. Програма не може працювати без нього. Спробуйте встановити Asus System Control Interface</value>
</data>
@@ -133,7 +136,7 @@
<value>Ультимативний режим потребує перезавантаження</value>
</data>
<data name="AlertUltimateTitle" xml:space="preserve">
<value>Перезавантажитися зараз?</value>
<value>Перезавантажити зараз?</value>
</data>
<data name="AnimationSpeed" xml:space="preserve">
<value>Швидкість Анімації</value>
@@ -276,6 +279,9 @@
<data name="Custom" xml:space="preserve">
<value>Своє</value>
</data>
<data name="Deceleration" xml:space="preserve">
<value>Deceleration</value>
</data>
<data name="Default" xml:space="preserve">
<value>За замовчуванням</value>
</data>
@@ -374,6 +380,9 @@
<data name="GPUTempTarget" xml:space="preserve">
<value>Temperature Target</value>
</data>
<data name="HibernateAfter" xml:space="preserve">
<value>Хвилин до режиму глибокого сну з акумулятором (0 - Вимкнено)</value>
</data>
<data name="High" xml:space="preserve">
<value>Висока</value>
</data>
@@ -537,7 +546,7 @@
<value>Вихід</value>
</data>
<data name="RestartGPU" xml:space="preserve">
<value>Щось використовує dGPU та не дає перейти в режимі Еко. Перезапустити dGPU у менеджері пристроїв? * Будь ласка, продовжуйте на свій страх і ризик.</value>
<value>Щось використовує dGPU та запобігає Еко-режиму. Дозвольте G-Helper спробувати перезапустити dGPU у менеджері пристрою? (Будь ласка, продовжуйте на власний ризик)</value>
</data>
<data name="RPM" xml:space="preserve">
<value>Оберти</value>

View File

@@ -117,6 +117,9 @@
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="Acceleration" xml:space="preserve">
<value>Gia tốc</value>
</data>
<data name="ACPIError" xml:space="preserve">
<value>Không thể kết nối đến ASUS ACPI. Chương trình cần nó để có thể hoạt động. Hãy thử cài lại Asus System Control Interface</value>
</data>
@@ -163,28 +166,28 @@
<value>Dịch vụ Asus đang chạy</value>
</data>
<data name="AuraBatteryState" xml:space="preserve">
<value>Battery State</value>
<value>Trạng thái pin</value>
</data>
<data name="AuraBreathe" xml:space="preserve">
<value>Hơi thở</value>
</data>
<data name="AuraClockwise" xml:space="preserve">
<value>Clockwise</value>
<value>Chiều kim đồng hồ</value>
</data>
<data name="AuraColorCycle" xml:space="preserve">
<value>Chuyển màu</value>
</data>
<data name="AuraComet" xml:space="preserve">
<value>Comet</value>
<value>Sao chổi</value>
</data>
<data name="AuraCounterClockwise" xml:space="preserve">
<value>Counterclockwise</value>
<value>Ngược chiều kim đồng hồ</value>
</data>
<data name="AuraFast" xml:space="preserve">
<value>Nhanh</value>
</data>
<data name="AuraLightingMode" xml:space="preserve">
<value>Lighting Mode</value>
<value>Chế độ sáng</value>
</data>
<data name="AuraNormal" xml:space="preserve">
<value>Bình thường</value>
@@ -193,10 +196,10 @@
<value>Cầu vồng</value>
</data>
<data name="AuraRandomColor" xml:space="preserve">
<value>Random</value>
<value>Ngẫu nhiên</value>
</data>
<data name="AuraReact" xml:space="preserve">
<value>React</value>
<value>Phản ứng</value>
</data>
<data name="AuraSlow" xml:space="preserve">
<value>Chậm</value>
@@ -208,7 +211,7 @@
<value>Nhấp nháy</value>
</data>
<data name="AuraZoneAll" xml:space="preserve">
<value>All</value>
<value>Tất cả</value>
</data>
<data name="AuraZoneDock" xml:space="preserve">
<value>Dock</value>
@@ -241,13 +244,13 @@
<value>Cân bằng</value>
</data>
<data name="BatteryCharge" xml:space="preserve">
<value>Charge</value>
<value>Sạc</value>
</data>
<data name="BatteryChargeLimit" xml:space="preserve">
<value>Giới hạn sạc</value>
</data>
<data name="BatteryHealth" xml:space="preserve">
<value>Battery Health</value>
<value>Sức khoẻ pin</value>
</data>
<data name="BiosAndDriverUpdates" xml:space="preserve">
<value>Cập nhật BIOS và driver</value>
@@ -265,7 +268,7 @@
<value>Tăng độ sáng</value>
</data>
<data name="Charging" xml:space="preserve">
<value>Charging</value>
<value>Đang sạc</value>
</data>
<data name="Color" xml:space="preserve">
<value>Màu</value>
@@ -276,6 +279,9 @@
<data name="Custom" xml:space="preserve">
<value>Tuỳ chỉnh</value>
</data>
<data name="Deceleration" xml:space="preserve">
<value>Giảm tốc</value>
</data>
<data name="Default" xml:space="preserve">
<value>Mặc định</value>
</data>
@@ -286,7 +292,7 @@
<value>Đang không sạc</value>
</data>
<data name="DownloadUpdate" xml:space="preserve">
<value>Tải xuống bản cập nhật</value>
<value>Tải xuống</value>
</data>
<data name="DriverAndSoftware" xml:space="preserve">
<value>Driver và phần mềm</value>
@@ -374,6 +380,9 @@ Do you still want to continue?</value>
<data name="GPUTempTarget" xml:space="preserve">
<value>Nhiệt độ đích</value>
</data>
<data name="HibernateAfter" xml:space="preserve">
<value>Minutes till Hibernation in sleep on battery (0 - OFF)</value>
</data>
<data name="High" xml:space="preserve">
<value>High</value>
</data>
@@ -537,7 +546,7 @@ Do you still want to continue?</value>
<value>Thoát</value>
</data>
<data name="RestartGPU" xml:space="preserve">
<value>Không thể chuyển về Chế độ Tiết kiệm do có gì đó đang dùng GPU rời. Khởi động lại GPU rời trong Quản lý Thiết bị? * Bạn sẽ chịu mọi rủi ro.</value>
<value>Something is using dGPU and preventing Eco mode. Let G-Helper try to restart dGPU in device manager? (Please proceed at your own risk)</value>
</data>
<data name="RPM" xml:space="preserve">
<value>VTP</value>

View File

@@ -117,6 +117,9 @@
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="Acceleration" xml:space="preserve">
<value>Acceleration</value>
</data>
<data name="ACPIError" xml:space="preserve">
<value>无法连接到ASUS ACPI。 没有它应用程序将无法运行。 请尝试安装Asus System Control Interface驱动。</value>
</data>
@@ -151,7 +154,7 @@
<value>应用</value>
</data>
<data name="ApplyFanCurve" xml:space="preserve">
<value>应用自定义扇曲线</value>
<value>应用自定义扇曲线</value>
</data>
<data name="ApplyPowerLimits" xml:space="preserve">
<value>应用功率限制</value>
@@ -276,6 +279,9 @@
<data name="Custom" xml:space="preserve">
<value>自定义设置</value>
</data>
<data name="Deceleration" xml:space="preserve">
<value>Deceleration</value>
</data>
<data name="Default" xml:space="preserve">
<value>默认</value>
</data>
@@ -286,7 +292,7 @@
<value>正在放电</value>
</data>
<data name="DownloadUpdate" xml:space="preserve">
<value>下载更新</value>
<value>下载</value>
</data>
<data name="DriverAndSoftware" xml:space="preserve">
<value>驱动程序和软件</value>
@@ -374,6 +380,9 @@
<data name="GPUTempTarget" xml:space="preserve">
<value>温度目标</value>
</data>
<data name="HibernateAfter" xml:space="preserve">
<value>在使用电池时几分钟后进入休眠状态 (0 - 关闭)</value>
</data>
<data name="High" xml:space="preserve">
<value>高</value>
</data>
@@ -537,7 +546,7 @@
<value>退出</value>
</data>
<data name="RestartGPU" xml:space="preserve">
<value>有程序正在使用独立显卡阻止进入节能模式。要在设备管理器中重新启动dGPU 吗?* 请自行承担风险</value>
<value>有程序正在使用独显并阻止进入集显模式。要让 G-Helper 在设备管理器中重新启动独显吗?(请自行承担风险</value>
</data>
<data name="RPM" xml:space="preserve">
<value>转/分钟</value>
@@ -597,7 +606,7 @@
<value>切换 MiniLED (如果支持)</value>
</data>
<data name="ToggleScreen" xml:space="preserve">
<value>切换屏幕</value>
<value>关闭屏幕</value>
</data>
<data name="Turbo" xml:space="preserve">
<value>增强模式</value>

View File

@@ -117,6 +117,9 @@
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="Acceleration" xml:space="preserve">
<value>Acceleration</value>
</data>
<data name="ACPIError" xml:space="preserve">
<value>無法連結到華碩 ACPI。 没有它,應用程式將無法執行。 嘗試安裝Asus System Control Interface</value>
</data>
@@ -235,7 +238,7 @@
<value>喚醒時</value>
</data>
<data name="BacklightTimeout" xml:space="preserve">
<value>超時插入/使用電池 (0 = 不關閉)</value>
<value>閒置幾秒後關閉燈光:插電時 / 使用電池 (0 = 不關閉)</value>
</data>
<data name="Balanced" xml:space="preserve">
<value>平衡模式</value>
@@ -276,6 +279,9 @@
<data name="Custom" xml:space="preserve">
<value>自定義設置</value>
</data>
<data name="Deceleration" xml:space="preserve">
<value>Deceleration</value>
</data>
<data name="Default" xml:space="preserve">
<value>預設</value>
</data>
@@ -286,7 +292,7 @@
<value>正在釋放電力</value>
</data>
<data name="DownloadUpdate" xml:space="preserve">
<value>下載更新</value>
<value>下載</value>
</data>
<data name="DriverAndSoftware" xml:space="preserve">
<value>驅動程式與軟體</value>
@@ -374,6 +380,9 @@
<data name="GPUTempTarget" xml:space="preserve">
<value>GPU溫度上限</value>
</data>
<data name="HibernateAfter" xml:space="preserve">
<value>使用電池下何時進入休眠(0=關閉此功能)</value>
</data>
<data name="High" xml:space="preserve">
<value>高</value>
</data>
@@ -537,7 +546,7 @@
<value>退出</value>
</data>
<data name="RestartGPU" xml:space="preserve">
<value>有其他程式正在使用獨顯導致無法切換至節能模式. 是否在裝置管理員中重啟獨顯? * 請自行評估風險</value>
<value>有其他程式正在使用獨顯導致無法切換至節能模式. 是否讓G-Helper重新啟動獨顯? * 請自行評估風險</value>
</data>
<data name="RPM" xml:space="preserve">
<value>每分鐘轉數</value>

Binary file not shown.

After

Width:  |  Height:  |  Size: 563 B

View File

@@ -11,13 +11,13 @@ namespace Ryzen
internal class RyzenControl
{
public const int MinCPUUV = -30;
public static int MinCPUUV => AppConfig.Get("min_uv", -30);
public const int MaxCPUUV = 0;
public const int MinIGPUUV = -20;
public const int MaxIGPUUV = 0;
public const int MinTemp = 75;
public static int MinTemp => AppConfig.Get("min_temp", 75);
public const int MaxTemp = 98;
public static string[] FAM = { "RAVEN", "PICASSO", "DALI", "RENOIR/LUCIENNE", "MATISSE", "VANGOGH", "VERMEER", "CEZANNE/BARCELO", "REMBRANDT", "PHOENIX", "RAPHAEL/DRAGON RANGE" };

View File

@@ -94,6 +94,7 @@ namespace GHelper
buttonKeyboardColor = new RButton();
comboKeyboard = new RComboBox();
panelKeyboardTitle = new Panel();
buttonFnLock = new RButton();
pictureKeyboard = new PictureBox();
labelKeyboard = new Label();
panelVersion = new Panel();
@@ -143,6 +144,8 @@ namespace GHelper
//
// panelMatrix
//
panelMatrix.AccessibleName = "Anime Matrix";
panelMatrix.AccessibleRole = AccessibleRole.Grouping;
panelMatrix.AutoSize = true;
panelMatrix.AutoSizeMode = AutoSizeMode.GrowAndShrink;
panelMatrix.Controls.Add(tableLayoutMatrix);
@@ -154,7 +157,8 @@ namespace GHelper
panelMatrix.Name = "panelMatrix";
panelMatrix.Padding = new Padding(20, 20, 20, 10);
panelMatrix.Size = new Size(827, 176);
panelMatrix.TabIndex = 4;
panelMatrix.TabIndex = 3;
panelMatrix.TabStop = true;
//
// tableLayoutMatrix
//
@@ -296,7 +300,6 @@ namespace GHelper
sliderBattery.Size = new Size(787, 40);
sliderBattery.Step = 5;
sliderBattery.TabIndex = 20;
sliderBattery.TabStop = false;
sliderBattery.Text = "sliderBattery";
sliderBattery.Value = 80;
//
@@ -408,8 +411,8 @@ namespace GHelper
buttonQuit.Name = "buttonQuit";
buttonQuit.Secondary = true;
buttonQuit.Size = new Size(255, 48);
buttonQuit.TabIndex = 23;
buttonQuit.Text = "Quit";
buttonQuit.TabIndex = 2;
buttonQuit.Text = "&Quit";
buttonQuit.TextAlign = ContentAlignment.MiddleRight;
buttonQuit.TextImageRelation = TextImageRelation.ImageBeforeText;
buttonQuit.UseVisualStyleBackColor = false;
@@ -430,8 +433,8 @@ namespace GHelper
buttonUpdates.Name = "buttonUpdates";
buttonUpdates.Secondary = true;
buttonUpdates.Size = new Size(254, 48);
buttonUpdates.TabIndex = 24;
buttonUpdates.Text = "Updates";
buttonUpdates.TabIndex = 1;
buttonUpdates.Text = "&Updates";
buttonUpdates.TextImageRelation = TextImageRelation.ImageBeforeText;
buttonUpdates.UseVisualStyleBackColor = false;
//
@@ -448,6 +451,8 @@ namespace GHelper
//
// panelPerformance
//
panelPerformance.AccessibleName = "Performance";
panelPerformance.AccessibleRole = AccessibleRole.Grouping;
panelPerformance.AutoSize = true;
panelPerformance.AutoSizeMode = AutoSizeMode.GrowAndShrink;
panelPerformance.Controls.Add(tablePerf);
@@ -459,6 +464,7 @@ namespace GHelper
panelPerformance.Padding = new Padding(20);
panelPerformance.Size = new Size(827, 208);
panelPerformance.TabIndex = 0;
panelPerformance.TabStop = true;
//
// tablePerf
//
@@ -502,7 +508,7 @@ namespace GHelper
buttonSilent.Secondary = false;
buttonSilent.Size = new Size(188, 120);
buttonSilent.TabIndex = 1;
buttonSilent.Text = Properties.Strings.Silent;
buttonSilent.Text = "&Silent";
buttonSilent.TextImageRelation = TextImageRelation.ImageAboveText;
buttonSilent.UseVisualStyleBackColor = false;
//
@@ -525,7 +531,7 @@ namespace GHelper
buttonBalanced.Secondary = false;
buttonBalanced.Size = new Size(188, 120);
buttonBalanced.TabIndex = 1;
buttonBalanced.Text = Properties.Strings.Balanced;
buttonBalanced.Text = "&Balanced";
buttonBalanced.TextImageRelation = TextImageRelation.ImageAboveText;
buttonBalanced.UseVisualStyleBackColor = false;
//
@@ -548,7 +554,7 @@ namespace GHelper
buttonTurbo.Secondary = false;
buttonTurbo.Size = new Size(188, 120);
buttonTurbo.TabIndex = 2;
buttonTurbo.Text = Properties.Strings.Turbo;
buttonTurbo.Text = "&Turbo";
buttonTurbo.TextImageRelation = TextImageRelation.ImageAboveText;
buttonTurbo.UseVisualStyleBackColor = false;
//
@@ -570,7 +576,7 @@ namespace GHelper
buttonFans.Secondary = true;
buttonFans.Size = new Size(191, 120);
buttonFans.TabIndex = 3;
buttonFans.Text = Properties.Strings.FansPower;
buttonFans.Text = "&Fans + Power";
buttonFans.TextImageRelation = TextImageRelation.ImageAboveText;
buttonFans.UseVisualStyleBackColor = false;
//
@@ -600,8 +606,10 @@ namespace GHelper
//
// labelPerf
//
labelPerf.AccessibleRole = AccessibleRole.Caret;
labelPerf.AutoSize = true;
labelPerf.Font = new Font("Segoe UI", 9F, FontStyle.Bold, GraphicsUnit.Point);
labelPerf.LiveSetting = System.Windows.Forms.Automation.AutomationLiveSetting.Polite;
labelPerf.Location = new Point(40, 0);
labelPerf.Margin = new Padding(8, 0, 8, 0);
labelPerf.Name = "labelPerf";
@@ -611,6 +619,7 @@ namespace GHelper
//
// labelCPUFan
//
labelCPUFan.AccessibleRole = AccessibleRole.TitleBar;
labelCPUFan.Anchor = AnchorStyles.Top | AnchorStyles.Right;
labelCPUFan.Cursor = Cursors.Hand;
labelCPUFan.Location = new Point(387, 0);
@@ -623,6 +632,8 @@ namespace GHelper
//
// panelGPU
//
panelGPU.AccessibleName = "GPU";
panelGPU.AccessibleRole = AccessibleRole.Grouping;
panelGPU.AutoSize = true;
panelGPU.AutoSizeMode = AutoSizeMode.GrowAndShrink;
panelGPU.Controls.Add(labelTipGPU);
@@ -635,6 +646,7 @@ namespace GHelper
panelGPU.Padding = new Padding(20, 20, 20, 0);
panelGPU.Size = new Size(827, 352);
panelGPU.TabIndex = 1;
panelGPU.TabStop = true;
//
// labelTipGPU
//
@@ -767,6 +779,7 @@ namespace GHelper
//
// buttonOptimized
//
buttonOptimized.AccessibleName = "Optimized GPU Mode";
buttonOptimized.Activated = false;
buttonOptimized.BackColor = SystemColors.ControlLightLight;
buttonOptimized.BorderColor = Color.Transparent;
@@ -857,6 +870,8 @@ namespace GHelper
//
// panelScreen
//
panelScreen.AccessibleName = "Screen";
panelScreen.AccessibleRole = AccessibleRole.Grouping;
panelScreen.AutoSize = true;
panelScreen.AutoSizeMode = AutoSizeMode.GrowAndShrink;
panelScreen.Controls.Add(labelTipScreen);
@@ -869,6 +884,7 @@ namespace GHelper
panelScreen.Padding = new Padding(20, 20, 20, 0);
panelScreen.Size = new Size(827, 176);
panelScreen.TabIndex = 2;
panelScreen.TabStop = true;
//
// labelTipScreen
//
@@ -1030,6 +1046,8 @@ namespace GHelper
//
// panelKeyboard
//
panelKeyboard.AccessibleName = "Keyboard";
panelKeyboard.AccessibleRole = AccessibleRole.Grouping;
panelKeyboard.AutoSize = true;
panelKeyboard.AutoSizeMode = AutoSizeMode.GrowAndShrink;
panelKeyboard.Controls.Add(tableLayoutKeyboard);
@@ -1040,7 +1058,8 @@ namespace GHelper
panelKeyboard.Name = "panelKeyboard";
panelKeyboard.Padding = new Padding(20);
panelKeyboard.Size = new Size(827, 144);
panelKeyboard.TabIndex = 3;
panelKeyboard.TabIndex = 4;
panelKeyboard.TabStop = true;
//
// tableLayoutKeyboard
//
@@ -1080,7 +1099,7 @@ namespace GHelper
buttonKeyboard.Secondary = true;
buttonKeyboard.Size = new Size(255, 48);
buttonKeyboard.TabIndex = 37;
buttonKeyboard.Text = Properties.Strings.Extra;
buttonKeyboard.Text = "&Extra";
buttonKeyboard.TextImageRelation = TextImageRelation.ImageBeforeText;
buttonKeyboard.UseVisualStyleBackColor = false;
//
@@ -1155,15 +1174,37 @@ namespace GHelper
//
// panelKeyboardTitle
//
panelKeyboardTitle.Controls.Add(buttonFnLock);
panelKeyboardTitle.Controls.Add(pictureKeyboard);
panelKeyboardTitle.Controls.Add(labelKeyboard);
panelKeyboardTitle.Dock = DockStyle.Top;
panelKeyboardTitle.Location = new Point(20, 20);
panelKeyboardTitle.Margin = new Padding(4);
panelKeyboardTitle.Margin = new Padding(0);
panelKeyboardTitle.Name = "panelKeyboardTitle";
panelKeyboardTitle.Padding = new Padding(0, 2, 4, 2);
panelKeyboardTitle.Size = new Size(787, 40);
panelKeyboardTitle.TabIndex = 40;
//
// buttonFnLock
//
buttonFnLock.Activated = false;
buttonFnLock.BackColor = SystemColors.ControlLight;
buttonFnLock.BorderColor = Color.Transparent;
buttonFnLock.BorderRadius = 2;
buttonFnLock.Dock = DockStyle.Right;
buttonFnLock.FlatAppearance.BorderSize = 0;
buttonFnLock.FlatStyle = FlatStyle.Flat;
buttonFnLock.Font = new Font("Segoe UI", 7.125F, FontStyle.Bold, GraphicsUnit.Point);
buttonFnLock.ForeColor = SystemColors.ControlDark;
buttonFnLock.Location = new Point(676, 2);
buttonFnLock.Margin = new Padding(0);
buttonFnLock.Name = "buttonFnLock";
buttonFnLock.Secondary = true;
buttonFnLock.Size = new Size(107, 36);
buttonFnLock.TabIndex = 4;
buttonFnLock.Text = "FN-Lock";
buttonFnLock.UseVisualStyleBackColor = false;
//
// pictureKeyboard
//
pictureKeyboard.BackgroundImage = Properties.Resources.icons8_keyboard_32__1_;
@@ -1179,7 +1220,7 @@ namespace GHelper
//
labelKeyboard.AutoSize = true;
labelKeyboard.Font = new Font("Segoe UI", 9F, FontStyle.Bold, GraphicsUnit.Point);
labelKeyboard.Location = new Point(44, 0);
labelKeyboard.Location = new Point(40, -2);
labelKeyboard.Margin = new Padding(8, 0, 8, 0);
labelKeyboard.Name = "labelKeyboard";
labelKeyboard.Size = new Size(210, 32);
@@ -1508,5 +1549,6 @@ namespace GHelper
private RButton buttonKeyboard;
private RButton buttonUpdates;
private Label labelCharge;
private RButton buttonFnLock;
}
}

View File

@@ -195,8 +195,14 @@ namespace GHelper
//This will auto position the window again when it resizes. Might mess with position if people drag the window somewhere else.
this.Resize += SettingsForm_Resize;
SetContextMenu();
VisualiseFnLock();
buttonFnLock.Click += ButtonFnLock_Click;
panelPerformance.Focus();
}
private void SettingsForm_Resize(object? sender, EventArgs e)
{
Left = Screen.FromControl(this).WorkingArea.Width - 10 - Width;
@@ -370,7 +376,7 @@ namespace GHelper
//contextMenuStrip.ShowCheckMargin = true;
contextMenuStrip.RenderMode = ToolStripRenderMode.System;
if (CheckSystemDarkModeStatus())
if (darkTheme)
{
contextMenuStrip.BackColor = this.BackColor;
contextMenuStrip.ForeColor = this.ForeColor;
@@ -545,8 +551,7 @@ namespace GHelper
if (colorDlg.ShowDialog() == DialogResult.OK)
{
AppConfig.Set("aura_color2", colorDlg.Color.ToArgb());
AsusUSB.ApplyAura();
VisualiseAura();
SetAura();
}
}
@@ -576,6 +581,14 @@ namespace GHelper
});
}
public void GPUInit()
{
Invoke(delegate
{
if (fans != null && fans.Text != "") fans.InitGPU();
});
}
public void FansToggle(int index = 0)
{
if (fans == null || fans.Text == "")
@@ -611,8 +624,7 @@ namespace GHelper
if (colorDlg.ShowDialog() == DialogResult.OK)
{
AppConfig.Set("aura_color", colorDlg.Color.ToArgb());
AsusUSB.ApplyAura();
VisualiseAura();
SetAura();
}
}
@@ -631,7 +643,7 @@ namespace GHelper
comboKeyboard.SelectedValueChanged += ComboKeyboard_SelectedValueChanged;
if (AppConfig.NoAuraColor())
if (AppConfig.IsSingleColor())
{
panelColor.Visible = false;
}
@@ -645,11 +657,23 @@ namespace GHelper
}
public void SetAura()
{
Task.Run(() =>
{
AsusUSB.ApplyAura();
VisualiseAura();
});
}
public void VisualiseAura()
{
pictureColor.BackColor = AsusUSB.Color1;
pictureColor2.BackColor = AsusUSB.Color2;
pictureColor2.Visible = AsusUSB.HasSecondColor();
Invoke(delegate
{
pictureColor.BackColor = AsusUSB.Color1;
pictureColor2.BackColor = AsusUSB.Color2;
pictureColor2.Visible = AsusUSB.HasSecondColor();
});
}
public void InitMatrix()
@@ -681,8 +705,7 @@ namespace GHelper
private void ComboKeyboard_SelectedValueChanged(object? sender, EventArgs e)
{
AppConfig.Set("aura_mode", (int)comboKeyboard.SelectedValue);
AsusUSB.ApplyAura();
VisualiseAura();
SetAura();
}
@@ -841,6 +864,10 @@ namespace GHelper
gpuTemp = $": {HardwareControl.gpuTemp}°C";
}
string trayTip = "CPU" + cpuTemp + " " + HardwareControl.cpuFan;
if (gpuTemp.Length > 0) trayTip += "\nGPU" + gpuTemp + " " + HardwareControl.gpuFan;
if (battery.Length > 0) trayTip += "\n" + battery;
Program.settingsForm.BeginInvoke(delegate
{
labelCPUFan.Text = "CPU" + cpuTemp + " " + HardwareControl.cpuFan;
@@ -850,11 +877,10 @@ namespace GHelper
labelBattery.Text = battery;
if (!batteryMouseOver) labelCharge.Text = charge;
//panelPerformance.AccessibleName = labelPerf.Text + " " + trayTip;
});
string trayTip = "CPU" + cpuTemp + " " + HardwareControl.cpuFan;
if (gpuTemp.Length > 0) trayTip += "\nGPU" + gpuTemp + " " + HardwareControl.gpuFan;
if (battery.Length > 0) trayTip += "\n" + battery;
Program.trayIcon.Text = trayTip;
@@ -912,6 +938,7 @@ namespace GHelper
Invoke(delegate
{
labelPerf.Text = modeText;
panelPerformance.AccessibleName = labelPerf.Text; // + ". " + Program.trayIcon.Text;
});
}
@@ -969,7 +996,7 @@ namespace GHelper
menuUltimate.Visible = false;
}
public void HideGPUModes()
public void HideGPUModes(bool gpuExists)
{
isGpuSection = false;
@@ -981,7 +1008,8 @@ namespace GHelper
buttonStopGPU.Visible = true;
SetContextMenu();
if (HardwareControl.FormatFan(Program.acpi.DeviceGet(AsusACPI.GPU_Fan)) is null) panelGPU.Visible = false;
panelGPU.Visible = gpuExists;
}
@@ -1188,6 +1216,28 @@ namespace GHelper
}
public void VisualiseFnLock()
{
if (AppConfig.Is("fn_lock"))
{
buttonFnLock.BackColor = colorStandard;
buttonFnLock.ForeColor = SystemColors.ControlLightLight;
}
else
{
buttonFnLock.BackColor = buttonSecond;
buttonFnLock.ForeColor = SystemColors.ControlDark;
}
}
private void ButtonFnLock_Click(object? sender, EventArgs e)
{
InputDispatcher.ToggleFnLock();
}
}

View File

@@ -18,7 +18,7 @@
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing"">Blue</data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>

View File

@@ -62,6 +62,23 @@ namespace GHelper.UI
private static bool IsDarkTheme()
{
string? uiMode = AppConfig.GetString("ui_mode");
if (uiMode is not null && uiMode.ToLower() == "dark")
{
return true;
}
if (uiMode is not null && uiMode.ToLower() == "light")
{
return false;
}
if (uiMode is not null && uiMode.ToLower() == "windows")
{
return CheckSystemDarkModeStatus();
}
using var key = Registry.CurrentUser.OpenSubKey(@"Software\Microsoft\Windows\CurrentVersion\Themes\Personalize");
var registryValueObject = key?.GetValue("AppsUseLightTheme");
@@ -71,7 +88,7 @@ namespace GHelper.UI
public bool InitTheme(bool setDPI = false)
{
bool newDarkTheme = CheckSystemDarkModeStatus();
bool newDarkTheme = IsDarkTheme();
bool changed = darkTheme != newDarkTheme;
darkTheme = newDarkTheme;

View File

@@ -7,15 +7,6 @@ using System.Text.Json;
namespace GHelper
{
struct DriverDownload
{
public string categoryName;
public string title;
public string version;
public string downloadUrl;
public JsonElement hardwares;
}
public partial class Updates : RForm
{
//static int rowCount = 0;
@@ -24,7 +15,14 @@ namespace GHelper
static int updatesCount = 0;
private static long lastUpdate;
public struct DriverDownload
{
public string categoryName;
public string title;
public string version;
public string downloadUrl;
public JsonElement hardwares;
}
private void LoadUpdates(bool force = false)
{
@@ -140,7 +138,63 @@ namespace GHelper
}
}
public async void DriversAsync(string url, int type, TableLayoutPanel table)
public void VisualiseDriver(DriverDownload driver, TableLayoutPanel table)
{
Invoke(delegate
{
string versionText = driver.version.Replace("latest version at the ", "");
Label versionLabel = new Label { Text = versionText, Anchor = AnchorStyles.Left, AutoSize = true };
versionLabel.Cursor = Cursors.Hand;
versionLabel.Font = new Font(versionLabel.Font, FontStyle.Underline);
versionLabel.ForeColor = colorEco;
versionLabel.Padding = new Padding(5, 5, 5, 5);
versionLabel.Click += delegate
{
Process.Start(new ProcessStartInfo(driver.downloadUrl) { UseShellExecute = true });
};
table.RowStyles.Add(new RowStyle(SizeType.AutoSize));
table.Controls.Add(new Label { Text = driver.categoryName, Anchor = AnchorStyles.Left, Dock = DockStyle.Fill, Padding = new Padding(5, 5, 5, 5) }, 0, table.RowCount);
table.Controls.Add(new Label { Text = driver.title, Anchor = AnchorStyles.Left, Dock = DockStyle.Fill, Padding = new Padding(5, 5, 5, 5) }, 1, table.RowCount);
table.Controls.Add(versionLabel, 2, table.RowCount);
table.RowCount++;
});
}
public void ShowTable(TableLayoutPanel table)
{
Invoke(delegate
{
table.Visible = true;
ResumeLayout(false);
PerformLayout();
});
}
public void VisualiseNewDriver(int position, TableLayoutPanel table)
{
var label = table.GetControlFromPosition(2, position) as Label;
if (label != null)
{
Invoke(delegate
{
label.Font = new Font(label.Font, FontStyle.Underline | FontStyle.Bold);
label.ForeColor = colorTurbo;
});
}
}
public void VisualiseNewCount(int updatesCount, TableLayoutPanel table)
{
Invoke(delegate
{
labelUpdates.Text = $"{Properties.Strings.NewUpdates}: {updatesCount}";
labelUpdates.ForeColor = colorTurbo;
labelUpdates.Font = new Font(labelUpdates.Font, FontStyle.Bold);
});
}
public async void DriversAsync(string url, int type, TableLayoutPanel table)
{
try
@@ -185,39 +239,14 @@ namespace GHelper
driver.hardwares = file.GetProperty("HardwareInfoList");
drivers.Add(driver);
Invoke(delegate
{
string versionText = driver.version.Replace("latest version at the ", "");
Label versionLabel = new Label { Text = versionText, Anchor = AnchorStyles.Left, AutoSize = true };
versionLabel.Cursor = Cursors.Hand;
versionLabel.Font = new Font(versionLabel.Font, FontStyle.Underline);
versionLabel.ForeColor = colorEco;
versionLabel.Padding = new Padding(5, 5, 5, 5);
versionLabel.Click += delegate
{
Process.Start(new ProcessStartInfo(driver.downloadUrl) { UseShellExecute = true });
};
table.RowStyles.Add(new RowStyle(SizeType.AutoSize));
table.Controls.Add(new Label { Text = driver.categoryName, Anchor = AnchorStyles.Left, Dock = DockStyle.Fill, Padding = new Padding(5, 5, 5, 5) }, 0, table.RowCount);
table.Controls.Add(new Label { Text = driver.title, Anchor = AnchorStyles.Left, Dock = DockStyle.Fill, Padding = new Padding(5, 5, 5, 5) }, 1, table.RowCount);
table.Controls.Add(versionLabel, 2, table.RowCount);
table.RowCount++;
});
VisualiseDriver(driver, table);
}
oldTitle = title;
}
}
Invoke(delegate
{
table.Visible = true;
ResumeLayout(false);
PerformLayout();
});
ShowTable(table);
Dictionary<string, string> devices = new();
@@ -246,20 +275,9 @@ namespace GHelper
if (newer > 0)
{
var label = table.GetControlFromPosition(2, count) as Label;
if (label != null)
{
Invoke(delegate
{
updatesCount++;
label.Font = new Font(label.Font, FontStyle.Underline | FontStyle.Bold);
label.ForeColor = colorTurbo;
labelUpdates.Text = $"{Properties.Strings.NewUpdates}: {updatesCount}";
labelUpdates.ForeColor = colorTurbo;
labelUpdates.Font = new Font(label.Font, FontStyle.Bold);
});
}
updatesCount++;
VisualiseNewDriver(count, table);
VisualiseNewCount(updatesCount, table);
}
count++;

View File

@@ -1,5 +1,5 @@
{
"sdk": {
"version": "7.0.306"
"version": "7.0.400"
}
}

View File

@@ -1,105 +1,113 @@
# G-Helper - Lightweight control tool for Asus laptops
[![United24](https://raw.githubusercontent.com/seerge/g-helper/main/docs/ua.png)](https://u24.gov.ua/)
[![GitHub release](https://img.shields.io/github/release/seerge/g-helper.svg?style=flat-square)](https://GitHub.com/seerge/g-helper/releases/)
[![Github all releases](https://img.shields.io/github/downloads/seerge/g-helper/total.svg?style=flat-square)](https://GitHub.com/seerge/g-helper/releases/) [![GitHub stars](https://img.shields.io/github/stars/seerge/g-helper.svg?style=social)](https://GitHub.com/seerge/g-helper/stargazers/) <sup> Language: English | <a href="https://github.com/seerge/g-helper/blob/main/docs/README.zh-CN.md">[中文]</a></sup>
[![GitHub release](https://img.shields.io/github/release/seerge/g-helper.svg)](https://GitHub.com/seerge/g-helper/releases/)
[![Github all releases](https://img.shields.io/github/downloads/seerge/g-helper/total.svg)](https://GitHub.com/seerge/g-helper/releases/) [![GitHub stars](https://img.shields.io/github/stars/seerge/g-helper.svg?style=social&label=Star)](https://GitHub.com/seerge/g-helper/stargazers/) <sup> Language: English | <a href="https://github.com/seerge/g-helper/blob/main/docs/README.zh-CN.md">[中文]</a></sup>
Small and lightweight Armoury Crate alternative for Asus laptops offering almost same functionality without extra bloat and unnecessary services. Works on all popular models, such as ROG Zephyrus G14, G15, G16, M16, Flow X13, Flow X16, Flow Z13, TUF Series, Strix / Scar Series, ProArt, VivoBook and many more!
Lightweight Armoury Crate alternative for Asus laptops. A small utility that allows you to do almost everything you could do with Armoury Crate but without extra bloat and unnecessary services. Works on all popular models, such as ROG Zephyrus G14, G15, G16, M16, Flow X13, Flow X16, TUF, Strix, Scar, ProArt and many more! Feel free to try :)
# [:floppy_disk:Download](https://github.com/seerge/g-helper/releases/latest/download/GHelper.zip)
# [:floppy_disk: Download](https://github.com/seerge/g-helper/releases/latest/download/GHelper.zip)
- Don't forget to [Read FAQ](#question-faq)
- If you like this app, please [star :star: it on Github](https://github.com/seerge/g-helper) and spread the word about it!
- Don't forget to [**Check Requirements**](#requirements-mandatory) and [**Read FAQ**](#question-faq)
- If you like this app, please give it a star :star: and spread the word about it!
#### Support project in [:euro: EUR](https://www.paypal.com/donate/?hosted_button_id=4HMSHS4EBQWTA) | [💵 USD](https://www.paypal.com/donate/?hosted_button_id=SRM6QUX6ACXDY) | [:credit_card: Stripe](https://buy.stripe.com/00gaFJ9Lf79v7WobII)
![Gihhub](https://github.com/seerge/g-helper/assets/5920850/4d98465a-63a5-4498-ae14-afb3e67e7e82)
## :gift: Main advantages
## :gift: Main Advantages
1. Seamless and automatic GPU switching (without asking you to close all apps, etc)
2. All performance modes can be fully customized (with fan curves and PPTs)
3. Very lightweight and consumes almost no resources, doesn't install any services. Just a single exe to run
1. Seamless and automatic GPU switching
2. All performance modes can be fully customized with power limits and fan curves
3. Lightweight. Doesn't install anything in your system. Just a single exe to run
4. Simple and clean native UI with easy access to all settings
5. FN-Lock
6. Doesn't need administrator privileges to run (*)
5. FN-Lock and custom hotkeys
![Screenshot 2023-08-05 190302](https://github.com/seerge/g-helper/assets/5920850/5d32b8d8-0eb8-4da8-9d5f-95120ea921cf)
### :zap: Features
1. **Performance modes**: Silent - Balanced - Turbo (built-in, with default fan curves)
2. **GPU modes**: Eco - Standard - Ultimate - Optimized
3. Laptop screen refresh rate 60hz or 120hz (144hz, etc) with display overdrive (OD) and mini-led multi-zone switch
4. Custom fan curve editor, power limits (PPT) and turbo boost selection for every performance mode
5. Anime matrix control thanks to [Starlight](https://github.com/vddCore/Starlight) + some tweaks from my side including animated GIFs, clock and audio visualizer
6. Keyboard backlit animation and colors (including sleep animation and support for TUF models)
7. All basic and custom Keyboard hotkeys (M-keys, FN+X keys)
8. Monitor CPU / GPU temperature, fan speeds and battery discharge rate
1. Performance modes: Silent - Balanced - Turbo (built-in, with default fan curves)
2. GPU modes: Eco - Standard - Ultimate - Optimized
3. Screen refresh rate control with display overdrive (OD)
4. Custom fan curve editor, power limits and turbo boost selection for every performance mode
5. Anime matrix control including animated GIFs, clock and Audio visualizer
6. Backlight animation modes and colors
7. Custom hotkeys (M-keys, FN+X keys)
8. Monitor CPU / GPU temperature, fan speeds and battery status
9. Battery charge limit to preserve battery health
10. NVidia GPU overclocking
11. XG Mobile Control
12. AMD CPU Undervolting
![Screenshot 2023-04-13 190951](https://user-images.githubusercontent.com/5920850/231859391-c4963af4-491c-4523-95d4-0bdcfd7cfd6f.png)
13. BIOS and Driver Updates
14. Asus Mice settings
15. Mini-led multi-zone switch
### :gear: Automatic switching when on battery or plugged in
- App remembers last Mode used on battery or when plugged
- Optimized GPU mode - disables dGPU on battery and enables when plugged
- Auto Screen refresh rate (60hz on battery, max hz when plugged)
- Keyboard backlight timeout on battery or when plugged
- Performance Mode switching when on battery or plugged in
- Optimized GPU mode - disables dGPU on battery and enables when plugged in
- Auto Screen refresh rate (60Hz on battery and max Hz when plugged)
- Keyboard backlight timeout on battery or when plugged in
To keep auto switching and hotkeys working the app needs to stay running in the tray. It doesn't consume any resources.
_To keep auto switching and hotkeys working the app needs to stay running in the tray. It doesn't consume any resources._
### :rocket: Performance Modes
Modes are **same** as in Armoury Crate as they are stored in bios including default fan curves
<img align="right" width="300" src="https://github.com/seerge/g-helper/assets/5920850/3e119674-db8d-486b-aa65-2bf9b61f9aa6">
1. **Silent** (minimal or no fans, 70W PPT total, up to 45W PPT to CPU) + Best power efficiency setting in windows
2. **Balanced** (balanced fans, 100W PPT total, up to 45W PPT to CPU) + Balanced setting in windows
3. **Turbo** (intense fans, 125W PPT total, up to 80W PPT to CPU) + Best performance setting in windows
All Modes are **baked in BIOS** along with default fan curves and power limits and they are the **same** as in the Armoury Crate.
_PPTs are shown for G14 2022, for other models PPTs will be different as they are set in bios._
Each BIOS mode is paired with matching Windows Power Mode. You can adjust this setting under ``Fans + Power``
1. **Silent** in BIOS + **Best power efficiency** power mode
2. **Balanced** (Performance in AC) in BIOS + **Balanced** power mode
3. **Turbo** in BIOS + **Best performance** power mode
### :video_game: GPU Modes
1. **Eco** : only low power integrated GPU enabled, iGPU drives built in display
2. **Standard** (MS Hybrid) : iGPU and dGPU enabled, iGPU drives built in display
3. **Ultimate**: iGPU and dGPU enabled, but dGPU drives built in display (supported on 2022+ models)
4. **Optimized**: disables dGPU on battery (Eco) and enables when plugged (Standard)
4. **Optimized**: disables dGPU on battery (Eco) and enables when plugged in (Standard)
![Screenshot 2023-08-03 193646](https://github.com/seerge/g-helper/assets/5920850/ac7debcf-163a-4529-b7fd-fb4d2f3bb1da)
![Screenshot 2023-08-05 170159](https://github.com/seerge/g-helper/assets/5920850/84a5beb3-2463-40f1-9188-930d3099aad9)
## :question: FAQ
#### How do I stop the Armory Crate install popup appearing every time I press the M4 / Rog key?
Stop ``ArmouryCrateControlInterface`` service under windows Services app or you can stop all asus services all together from ``Extra`` -> ``Stop services``
#### How do I stop the Armoury Crate install popup appearing every time I press the M4 / Rog key?
Stop ``ArmouryCrateControlInterface`` service under windows Services app or you can stop all asus services from ``Extra`` -> ``Stop services``
#### Why is Ultimate GPU mode not available on my laptop?
Ultimate mode is supported (by hardware) only on 2022+ models
#### Battery charge limiter is not working
It could be that Asus services are overwriting this limit after. You may want to stop them by clicking "Stop" in the Asus Services section (under Extra).
Please note: For some devices not every charge limit % may be working. Try to set standard **80%** to be sure.
#### I don't see GPU modes section
Some older models (for example G14 2020) don't support disabling GPU on hardware level, therefore GPU section makes no sense for them and will be hidden
#### Should I apply custom power limits (PPT) and fan profiles?
You don't have to, it's purely optional. From my experience built in (in bios) performance modes work well. Limit your power or apply custom fan curves only if you have issues. As soon as you click Apply in the fan + power section bios will be considering the fan profile as "custom"! (no matter if you modified it or not)
#### Why is Ultimate GPU mode not available on my laptop?
Ultimate mode is supported (by hardware) only on 2022+ models
#### Should I apply custom power limits (PPT) and fan curves?
You don't have to, it's purely optional. From my experience built in (in BIOS) performance modes work well. Limit your power or apply custom fan curves only if you have issues. As soon as you click Apply in the ``Fans + Power`` section BIOS will consider your fan curve as "custom"! (no matter if you modified it or not)
#### How does G-helper control my fan speeds?
It doesn't. Your bios does (same as in case with armoury). What G-helper can do - is (optionally) set a custom fan profile to current performance mode consisting of 8 pairs of temperature + fan speed % via same endpoint armoury seem to use.
**It doesn't.** Your BIOS does (same as in case with Armoury). What G-helper can do - is (optionally) set a custom fan profile to current performance mode consisting of 8 pairs of temperature + fan speed % via same endpoint armoury seem to use.
#### How do I change fan % to fan RPM?
Click on them
#### When I try to apply a custom fan curve I get "BIOS rejected fan curve"
TUF models from 2021 and older don't support custom fan curves at all. Most probably you didn't have them in Armoury as well?
#### I don't see a GPU temperature in G-helper
Most probably either you are using Eco / Optimized mode and your dGPU is simply off, or your windows has put the dGPU into sleep (to preserve power). In this situations G-helper won't be able to reach your GPU and get readings
Most probably either you are using Eco / Optimized mode and your dGPU is simply off, or your windows has put the dGPU into sleep to preserve power.
#### I don't see app after starting it
Please check the system tray for a (G) icon. By default windows is keen to hide all icons, so you may need to click ^ to see them all. I would advise to right click on Taskbar select TaskBar Settings -> Other System Tray icons -> Mark G-Helper to be always ON.
Please check the system tray for a ``(G)`` icon. By default Windows is keen to hide all icons, so you may need to click ``^`` to see them all. I would advise to right click on Taskbar select TaskBar Settings -> Other System Tray icons -> Mark G-Helper to be always ON.
#### App crashes or doesn't work properly, what should I do ?
#### App crashes or doesn't work properly
Open "Event Viewer" from the start menu, go to Windows Logs -> Application and check for recent Errors mentioning G-Helper. If you see one - please post a [new issue](https://github.com/seerge/g-helper/issues) with all details from this error.
#### Battery charge limiter is not working
It could be that Asus services are overwriting this limit after. You may want to stop them by clicking "Stop" in the Asus Services section (under Extra).
#### Can I use MyASUS app along with G-Helper?
You can, the only problem is that MyASUS may override the battery charge limit that you set before. My advice in such a situation would be to set the same limit (i.e. 80%) in both MyASUS and G-Helper.
@@ -112,13 +120,20 @@ Personally, I'm not a big fan of them, as they make colors very inaccurate. But
#### Can I overclock Nvidia GPU core / memory?
Make sure that your dGPU is enabled (i.e. it's not in Eco mode). Open Fans + Power section and adjust core / memory clock offsets. They work the same as in armoury's manual mode. Please keep in mind that (unfortunately) you need admin permissions for that, and the app will ask you for them. (*)
#### Windows defender marks app download as malware / virus
#### How to Undervolt GPU
Due to the way of how Core Clock offset works for GPU. When you increase clock offset you undervolt it at the same time (see picture)
1. Increase ``Core Clock Offset`` under ``Fans + Power -> GPU`` until your 3dmark / furmark / game runs stable. Start with +100, +150, +200 ... This should make your **scores / fps better within same power** / heat as before.
2. Set ``Core Clock Limit`` to a certain value (it really depends on application / game that you use) **to lower your power** / heat consumption
![Undervolting](https://github.com/seerge/g-helper/assets/5920850/6cadd219-fa92-4260-8bae-cb24c284b8cf)
#### Windows Defender marks app as malware / virus
False positives from Windows Defender (or any other similar system that uses machine learning for detection) is possible as the application is not digitally signed with a certificate. You can always download a version below or compile the app by yourself. All application sources are open and can be monitored from A to Z :)
#### Where can I find app settings or logs ?
You can find them under the ``%AppData%\GHelper`` folder. Please include them when posting a new bug-report or issue.
#### App refuses to run on startup / runs without icon in tray on startup
#### App refuses to run on startup or runs without any icon in tray on startup
Open the app, and uncheck and check again "run on startup". If it still doesn't help (for some reason), you can try to manually edit the "GHelper" task in Windows Task Scheduler, and add a couple of seconds delay to start.
#### How do I uninstall G-helper?
@@ -131,17 +146,18 @@ Currently you can undervolt AMD CPUs. If your model supports that - you will see
#### I have G14 2023 and my GPU refuses to disable/enable
It seems to be an issue in older BIOS versions. As [users report](https://github.com/seerge/g-helper/issues/680) - latest BIOS 312 (installable via MyASUS or G-Helper -> Updates) resolves all issues :) So please update.
#### I have G15 2022 and my GPU refuses to disable/enable or my fans missbehave
G15 2022 is known to have a notoriously bugged BIOS (last one 313). Multiple users have reported that problems can be solved by rolling back to a [revious BIOS 311 from Asus Support website](https://rog.asus.com/nl/laptops/rog-zephyrus/rog-zephyrus-g15-2022-series/helpdesk_bios/).
#### I have G15 2022 and my GPU refuses to disable/enable or my fans misbehave
G15 2022 is known to have a notoriously bugged BIOS (last one 313). Multiple users have reported that problems can be solved by rolling back to a [previous BIOS 311 from Asus Support website](https://rog.asus.com/nl/laptops/rog-zephyrus/rog-zephyrus-g15-2022-series/helpdesk_bios/).
#### I have uninstalled Armoury and my GPU performance is lower than it was
Check your NVidia Experience settings and make sure that you have **Whisper Mode** set to ``OFF``. Also you can go to reset all settings ``Nvidia Control panel -> Manage 3D Settings -> Reset to defaults``
#### How do I do a hardware reset on a laptop?
All Asus laptops have an option to do a hardware reset that can be handy sometimes. It doesn't touch your data, but resets all main hardware-related things (enables your dGPU, wakes up wifi/bt adapter if it hangs for some reason, etc). Turn OFF laptop. Press and hold the "power" button for 30-40 seconds. Then boot normally (it will take a bit longer to boot)
All Asus laptops have an option to do a hardware reset that can be handy sometimes. It doesn't touch your data, but resets all main hardware-related things (enables your dGPU, wakes up wifi/bt adapter if it hangs for some reason, etc.).
Turn OFF laptop. Press and hold the "power" button for 30-40 seconds. Then boot normally (it will take a bit longer to boot)
#### What is G-helper ?
G-Helper is a lightweight Armoury Crate alternative for Asus laptops. A small utility that allows you to do almost everything you could do with Armoury Crate but without extra bloat and unnecessary services.
Small and lightweight Armoury Crate alternative for Asus laptops offering almost same functionality without extra bloat and unnecessary services. Works on ROG G14, G15, G16, M16, X13, Z13, X16, TUF, Scar, Vivobook, ProArt and all other popular models.
-----------------------------
@@ -168,7 +184,7 @@ G-Helper is a lightweight Armoury Crate alternative for Asus laptops. A small ut
### Recommendations (optional)
- It's **not recommended** to use an app in combination with Armoury Crate services, because they adjust the same settings. You can [uninstall it using AC own uninstall tool](https://dlcdnets.asus.com/pub/ASUS/mb/14Utilities/Armoury_Crate_Uninstall_Tool.zip?model=armoury%20crate). Just in case, you can always install it back later.
- It's **not recommended** to use the app in combination with Armoury Crate services, because they adjust the same settings. You can [uninstall it using AC own uninstall tool](https://dlcdnets.asus.com/pub/ASUS/mb/14Utilities/Armoury_Crate_Uninstall_Tool.zip?model=armoury%20crate). Just in case, you can always install it back later.
- It's **not recommended** to have "ASUS Smart Display Control" app running, as it will try to change refresh rates and fight with g-helper for the same function. You can safely uninstall it.
@@ -179,58 +195,77 @@ G-Helper is a lightweight Armoury Crate alternative for Asus laptops. A small ut
-------------------------------
_Designed and developed for Asus Zephyrus G14 2022 (with AMD Radeon iGPU and dGPU). But could and should potentially work for G14 of 2021 and 2020, G15, X FLOW, and other ROG models for relevant and supported features._
## Notice for G14 2023 users who complain about not being able to set Eco mode
I don't have a Microsoft certificate to sign the app yet, so if you get a warning from Windows Defender on launch (Windows Protected your PC), click More Info -> Run anyway. Alternatively you can compile and run project by yourself using Visual Studio :)
This is a known issue with the Nvidia Drivers / Windows that occurs if you shutdown or restart a system with dGPU disabled (Eco mode). This situation can happen for **BOTH Armoury Crate and G-Helper** (as it doesn't depend on them in a first place)
Scenario to reproduce (for both AC / GH):
1. Set Eco mode and shutdown / start or reboot your computer
2. After booting in Eco set Standard -> ``brightness controls won't work``
3. Try to set Eco mode -> ``it won't work``
4. G-Helper would offer you to restart GPU in Device Manager, after that you will be able to set Eco, AC won't be able to do anything
To prevent this from happening, G-Helper by default would try to enable dGPU before shutdown / restart.
If you want to turn this feature off uncheck ``Extra`` -> ``Enable GPU on shutdown (prevents issue with Eco mode)``
-------------------------------
I don't have a Microsoft certificate to sign the app yet, so if you get a warning from Windows Defender on launch (Windows Protected your PC), click More Info -> Run anyway.
------------------
## Power user settings
_GENERAL NOTE: "Power user" settings require some config edits. Before making any changes to ``config.json`` - quit G-Helper. Make your changes. Run G-Helper again._
GENERAL NOTE: "Power user" settings require editing config located at ``%AppData%\GHelper\config.json``.
- Quit G-Helper
- Make your changes / additions co ``config.json``
- Start G-Helper again
_Make sure to keep json structure (i.e. not to break it with extra or missing commas, etc.) or the app will fail to read it and will just recreate an empty config instead._
### Manual app language setting
By default the app will use your windows language setting. But you can set language manually (if it supported of course)
Add following line to ``%AppData%\GHelper\config.json`` : ``"language" : "en"`` (by replacing "en" with language of your choice)
```
"language" : "en",
```
(by replacing "en" with language of your choice)
### Custom windows power plans with each mode
In ``%AppData%\GHelper\config.json`` you can manually add a custom power plan (or power mode) GUID. It can be either "real" power plan that can be switched or "overlay" power plan like the ones g-helper sets by default.
You can manually assign a custom power plan GUID to each mode.
Format is following : ``"scheme_<mode>" : "GUID" ``
Where ``mode = 0 (balanced), 1 (turbo), 2 (silent)``
Default behavior is :
Example (for default windows "balanced" power plan):
```
"scheme_0": "00000000-0000-0000-0000-000000000000",
"scheme_1": "ded574b5-45a0-4f42-8737-46345c09c238",
"scheme_2": "961cc777-2547-4f9d-8174-7d86181b8a7a",
"scheme_0": "381b4222-f694-41f0-9685-ff5bb260df2e",
"scheme_1": "381b4222-f694-41f0-9685-ff5bb260df2e",
"scheme_2": "381b4222-f694-41f0-9685-ff5bb260df2e",
```
Make sure to keep json structure (i.e. not to break it with extra or missing commas, etc) - or the app will fail to read it and will just recreate a new config instead.
### Override UI theme
### Custom hotkey actions
By default app would set UI theme from "app" theme in windows setting. You can override it to specific theme, or general windows theme
App supports custom actions for M3, M4 and FN+F4 hotkeys. To set them select "Custom" next to appropriate hotkey and do one of the following:
1. To run any custom application - put a full path to exe into "action" text field, for example:
``C:\Program Files\EA Games\Battlefield 2042\BF2042.exe``
2. To simulate any windows key - put appropriate keycode into the "action" field, for example ``0x2C`` for Print Screen.
Full list of keycodes https://learn.microsoft.com/en-us/windows/win32/inputdev/virtual-key-codes
![Screenshot 2023-07-17 192155](https://github.com/seerge/g-helper/assets/5920850/e450e124-1589-4787-bce8-7c37ffe72fbd)
### Force Standard mode on shutdown / hibernation
In some rare cases G14 2023 seem to have issues with enabling / disabling dGPU - i.e. Eco mode. Till we wait for a fix from asus on BIOS level, one of the proposed solutions is to always shutdown the laptop in Standard mode (then everything seems to work fine). To enable "forced" Standard mode on shutdown add following line to ``%AppData%\GHelper\config.json``
```
"gpu_fix" : 1,
"ui_mode" : "dark",
"ui_mode" : "light",
"ui_mode" : "windows",
```
### Skip keyboard Aura initialisation on startup
By default app would set last remembered RGB mode for keyboard on each launch. To disable it completely
```
"skip_aura" : 1,
````
### Disable OSD
You can disable app's OSD (for performance modes, keyboard backlight, etc) by adding following line to ``%AppData%\GHelper\config.json``
Disable app's OSD (for performance modes, keyboard backlight, etc.)
```
"disable_osd": 1,
```
@@ -241,15 +276,45 @@ You can disable app's OSD (for performance modes, keyboard backlight, etc) by ad
- ``Ctrl + M1 / M2`` - Screen brightness Down / Up
- ``Shift + M1 / M2`` - Backlight brightness Down / Up
If you don't want this bindings to work you can add ``"skip_hotkeys":1,`` to ``%AppData%\GHelper\config.json``
If you don't want this bindings to work you can add
```
"skip_hotkeys":1,
```
### Keybinding to toggle performance modes (on external keyboards)
### Toggle Performance Mode key binding
By default the app will toggle performance modes with Ctr+Shift+F5. You can change this binding by adding ``"keybind_profile": 116`` in config.json (under ``%AppData%\GHelper``), where 116 is [numerical code for desired key](https://www.oreilly.com/library/view/javascript-dhtml/9780596514082/apb.html). Put 0 to completely disable this binding.
To change binding for Toggle Performance Modes to ``Ctrl + Shift + KEY``
```
"keybind_profile": 116,
```
Where 116 is [numerical code for desired key](https://www.oreilly.com/library/view/javascript-dhtml/9780596514082/apb.html). Put 0 to completely disable this binding.
### Higher Maximum GPU Clock / Memory Offsets
By default under GPU section you can set up to +250/+250 for Core and Memory Clock Offset. To increase this value:
```
"max_gpu_core": 300,
"max_gpu_memory": 1500,
```
### Custom hotkey actions
Select ``Custom`` next to appropriate hotkey under ``Extra`` settings and do one of the following:
1. To run any custom application - put a full path to exe into "action" text field, for example:
``C:\Program Files\EA Games\Battlefield 2042\BF2042.exe``
2. To simulate any windows key - put appropriate keycode into the "action" field, for example ``0x2C`` for Print Screen.
Full list of keycodes https://learn.microsoft.com/en-us/windows/win32/inputdev/virtual-key-codes
![Screenshot 2023-07-17 192155](https://github.com/seerge/g-helper/assets/5920850/e450e124-1589-4787-bce8-7c37ffe72fbd)
------------
**Libraries / projects used**
**Libraries and projects used**
- [Linux Kernel](https://github.com/torvalds/linux/blob/master/drivers/platform/x86/asus-wmi.c) for some basic endpoints in ASUS ACPI/WMI interface
- [NvAPIWrapper](https://github.com/falahati/NvAPIWrapper) for accessing Nvidia API
- [Starlight](https://github.com/vddCore/Starlight) for anime matrix communication protocol
@@ -258,6 +323,4 @@ By default the app will toggle performance modes with Ctr+Shift+F5. You can chan
**Disclaimers**
"ROG", "TUF", and "Armoury Crate" are trademarked by and belong to AsusTek Computer, Inc. I make no claims to these or any assets belonging to AsusTek Computer and use them purely for informational purposes only.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. MISUSE OF THIS SOFTWARE COULD CAUSE SYSTEM INSTABILITY OR MALFUNCTION.
THE SOFTWARE IS PROVIDED “AS IS” AND WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. MISUSE OF THIS SOFTWARE COULD CAUSE SYSTEM INSTABILITY OR MALFUNCTION.

View File

@@ -10,27 +10,27 @@
这是一个ROG 幻14、幻15幻13、幻16飞行堡垒/天选系列ROG 枪神/魔霸系列或其他ASUS笔记本的控制工具。可以做到几乎所有Armoury Crate(奥创控制中心)能做的事情,而且不需要任何多余的功能或安装不必要的系统服务。
## 🎁 主要优点
## :gift: 主要优点
1. 自动且无缝的独立显卡模式切换(不需要关闭所有应用或执行其他操作)
2. 可以手动调整所有的性能模式包括自定义风扇曲线以及PPTs(Platform Power Threshold,即CPU总功耗,下文简称PPTs--译注))
1. 自动且无缝的独立显卡模式切换(不需要关闭所有应用或执行其他操作)
2. 可以手动调整所有的性能模式(包括自定义风扇曲线以及PPTs(Platform Power Threshold,即CPU总功耗,下文简称PPTs--译注))
3. 极致的轻量化几乎不消耗任何资源也不需要安装系统服务。只需要下载一个exe文件就可以运行。
4. 简洁的界面设计,可以轻松调整所有设置。
5. 运行不需要管理员权限!
## [:floppy_disk: 下载应用](https://github.com/seerge/g-helper/releases/latest/download/GHelper.zip)
## [💾 下载应用](https://github.com/seerge/g-helper/releases/latest/download/GHelper.zip)
如果你喜欢这个应用,请[给这个项目:star:](https://github.com/seerge/g-helper) 或者向别人推荐它!
### :euro: [(通过paypal)支持和捐赠G-Helper](https://www.paypal.com/donate/?hosted_button_id=4HMSHS4EBQWTA)
如果你喜欢这个应用,请[给这个项目⭐️](https://github.com/seerge/g-helper) 或者向别人推荐它!
### 💶 [(通过paypal)支持和捐赠G-Helper](https://www.paypal.com/donate/?hosted_button_id=4HMSHS4EBQWTA)
_如果你在别的地方提到这个软件-请记得加上这个项目的网址。十分感谢。_
![Screenshot 2023-04-11 221528](https://user-images.githubusercontent.com/5920850/231278828-9bb7f5c3-4ce6-4825-b06d-572f39d3ede8.png)
### :zap: 主要功能
### ⚡️ 主要功能
1. **性能模式**: 静音模式 - 平衡模式 - 增强模式 笔电bios内置的性能模式附带默认的风扇曲线
1. **性能模式**: 静音模式 - 平衡模式 - 增强模式 (笔电bios内置的性能模式附带默认的风扇曲线)
2. **显卡模式**: 集显模式 - 标准模式 - 独显直连 - 自动切换
3. 笔记本屏幕刷新率 60hz 或 120hz 自动调节(或者 144hz 等刷新率)包括屏幕Overdrive(OD,即ROG系列的屏幕快速响应/快显功能--译注)功能
4. 可调节的风扇曲线、电源功耗设置(PPTs)(_注:请谨慎调节!_)和CPU超频选项
@@ -40,7 +40,8 @@ _如果你在别的地方提到这个软件-请记得加上这个项目的网址
8. CPU/GPU温度、风扇转速和电池充放电功率显示
9. 电池充电上限设置,保护电池健康度
### :gear: 当使用电池供电或插上电源时,自动切换:
### ⚙️ 当使用电池供电或插上电源时,自动切换:
- 性能模式 (软件会记住上一次使用电池或插上电源时的电源模式)
- 自动切换独立显卡模式 - 使用电池时停用独显,并在插上电源时重新启用
- 自动切换屏幕刷新率 (使用电池时切换为 60hz,插入电源后切换为 120+ hz)
@@ -48,7 +49,7 @@ _如果你在别的地方提到这个软件-请记得加上这个项目的网址
为了保证自动切换功能和按键绑定功能的正常工作,软件需要在后台运行并显示一个托盘图标。这并不会消耗其他资源。
### :rocket: 性能模式
### 🚀 性能模式
性能模式与 Armoury Crate(奥创控制中心)中的 **保持一致**因为这些设置与其对应的风扇曲线都被保存在bios中
@@ -60,70 +61,127 @@ _PPTs 默认在 幻14 2022版上显示, 对于其他型号 PPTs 的显示将会
![Screenshot 2023-04-06 142234](https://user-images.githubusercontent.com/5920850/230377635-7032a480-3a94-4e35-9468-d8911e3e55ec.png)
### :video_game: 显卡模式
### 🎮 显卡模式
1. 集显模式 : 只启用低功耗的内置显卡, 核显连接笔电内置屏幕
2. 标准模式 (MS Hybrid) : 同时启用核显与独显, 核显连接笔电内置屏幕
3. 独显直连: 同时启用核显与独显, 但独显直连笔电屏幕 (仅在幻14 2022版等机型上支持)
4. 自动切换: 使用电池时关闭独显(集显模式),并在插上电源后重新启用独显(混合输出)
## :question: 常见问题解答(FAQ)
## 常见问题解答(FAQ)
#### 当我按下 M4 / Rog键的时候总是弹出安装Armoury Crate的弹窗提示我该如何关闭它?
删除下列文件或者把它移动(注:剪切+粘贴)到别的目录 ``C:\Windows\System32\ASUSACCI\ArmouryCrateKeyControl.exe``.
如果还是出现弹窗 - 进入 BIOS (开机时按住 F2), 按照屏幕下方的快捷键提示进入 Advanced Settings,然后关闭 "Armoury Crate Control Interface" (注:把它设置为disabled)。
#### 为什么我的笔记本不支持独显输出?
独显输出只在幻14 2022版上支持(也可能支持2022年以来的其他机型)。
#### 电池充电限制不起作用
#### 我无法在幻14 2020版上设置集显模式(关闭独显)
很不幸2020版的机型在硬件上不支持这个设置。
这有可能是因为ASUS服务在你设置后又覆写了对应的设置。你可以通过在G-helper中点击"更多",然后在"正在运行的Asus服务项"右侧点击"停止"来停止ASUS服务。
#### 我没看到显卡模式
在一些旧型号中(比如幻14 2020)从硬件层上不支持禁用显卡,在这些机型中并不需要显卡模式,因此没有显示。
#### 为什么我的电脑上没有独显直连
独显直连(在硬件层面上)只对2022年之后的机型中生效。
#### 我是否应该自行调整功耗设置(PPTs)和风扇曲线?
你可以不那么做,这些操作是可选的。按照经验(bios)内置的性能模式工作的很好。请只在遇到问题的时候限制功耗或者手动设置风扇模式。当你在风扇与功率设置中按下“应用”时bios将会认为风扇配置文件为“自定义”! (无论你是否真的修改了风扇曲线)
#### G-helper是如何控制我的风扇转速的?
软件并不会修改风扇转速。这个设置实际上由bios控制(与Armoury Crate的情况相同)。G-helper 所能做的 - 就是将一个自定义的风扇配置(可选地)应用到正在使用的性能模式其中包括8组温度+风扇速度的百分比数值%。软件通过与Armoury Crate看起来相同的WMI endpoint来应用这一设置
#### 我如何把风扇转速显示从百分比%切换到RPM(每分钟转速)?
点击一下百分比即可切换。
#### 当我修改自定义风扇曲线时,我得到了"BIOS拒绝修改风扇曲线"("BIOS rejected fan curve")提示
2021之后的TUF机型不支持自定义风扇曲线。很可能在Armory Crate中也没有这个选项。
#### 我没有在G-helper中看到独显温度
很可能要么你正在使用核显模式/自动切换模式这种情况下独显只是关闭了或者你的windows系统为独显设置了睡眠模式(为了省电)。这种情况下G-helper无法识别到独显也不能获得温度读数。
#### 弹窗提示"G-Helper已经在运行"
#### 打开应用后没有看到应用启动/弹窗提示"G-Helper已经在运行"
请在系统托盘里找到 (G) 图标。windows会默认隐藏所有图标所以你可能需要点击 ^ 来看见它们。建议任务栏右键进入任务栏设置 -> 其他系统图标 -> 将 G-Helper 设置为始终在任务栏上显示。
#### 应用不能启动或者崩溃了,我该怎么做?
从开始菜单里打开“事件管理器”, 进入 Windows日志 -> 应用然后在最近的错误日志里寻找包含G-helper的日志。如果你找到一个 - 请提出一个 [新的 issue](https://github.com/seerge/g-helper/issues) ,其中包含来自这次错误的所有的详细信息。
#### 我可以在用G-Helper的时候同时用myASUS吗?
当然可以! 唯一的问题是myASUS可能会重置你之前在g-helper里设置的电池充电上限。在这种情况下建议你在这两个应用(myASUS和g-helper)里设置相同的充电上限(60%/80%/100%)以避免冲突。
#### 我如何将M3键设置为将麦克风静音?
这个功能由 Asus Optimization Service 管理(所以 G-helper 没有这项设置,也不管理这个功能)。请确认这个系统服务是否正常运行
#### 我如何设置不同的视觉风格(即 Armoury Crate 内的gamevisual功能)?
因为这个功能让颜色显示不正确,我个人(注:作者 :) )并不喜欢这些。但是如果你需要这个功能 - 你可以使用 Nvidia 控制面板/GefoeceExperirence滤镜或者AMD控制面板(Radeon Software/AMD Software: Adrenalin Edition)来修改显示颜色(因显示器和配置而异)。如果你真的非常需要这个功能,你也可以使用 [微软商店中ASUS自己的工具](https://apps.microsoft.com/store/detail/gamevisual/9P4K1LFTXSH8?hl=nl-nl&gl=nl&rtc=1)
#### 我能超频 Nvidia GPU 核心或显存吗?
我(注:作者 :) )现在并没有Nvidia的显卡所以我不能保证这个功能加入之后是安全的。但是你可以用微星小飞机(msi afterburner) 去超频GPU毕竟它是为GPU超频专门设计的 :)
首先确保你的独立显卡是启用的,之后打开"风扇 + 电源"选项在这里即可调整核心和显存频率。这个和Armoury Crate中的设置一样。注意使用这项功能需要管理员权限应用也会弹出需要管理员权限的提示。(*)
#### Windows Defender将该应用标记为恶意软件/病毒
这是Windows Defender的误报(其他使用机器学习来检测病毒的杀毒软件可能也出现同样的结果),这可能是因为本应用没有数字签名和证书。如果你不放心的话,你可以自己编译安装本项目,本项目是完全开源的。
#### 我该在哪找到应用的配置文件和日志文件
你可以在 `%AppData%\GHelper` 文件夹找到他们当你在issue中提交bug的时候请务必附上应用日志。
#### 应用无法在开机时启动或者启动的时候在任务栏没有提示
打开应用,取消再重新勾选"开机自启"项目。如果还是不行的话你可以手动在Windows 任务计划程序(Task Scheduler)中为G-helper应用增加几秒延迟后再启动。
#### 我该如何卸载G-helper?
G-helper是一个单文件的exe文件, 而且它不会向系统中安装任何东西。如果要“卸载”它 - 你可以直接删除exe文件 :) 如果你已经设置了自定义的风扇配置或者功耗设置(PPTs) - 在删除软件之前建议你选择你最喜欢的配置模式(比如"平衡"),然后在“风扇与电源设置”里点击“恢复默认设置”。
#### 我如何给我的CPU降压
目前你只能给AMD CPU降压。如果你的机型支持这个功能 - 你会在“风扇 + 电源”项中看到对应的设置。如果你看不到该项设置说明你的CPU不支持降压。所有支持的型号可以[点此查询](https://github.com/seerge/g-helper/discussions/736)。
#### 我的机型是幻14 2023并且我无法关闭/开启我的独立显卡
这应该是旧版本的BIOS的问题。根据[用户反馈](https://github.com/seerge/g-helper/issues/680)更新最近的BIOS 312版本即可解决问题(可以通过MyASUS或者G-helper "更新" 项进行安装)。
#### 我的机型是幻15 2022并且我无法关闭/开启我的独立显卡或者风扇出问题
幻15 2022款在BIOS 313以上版本会有很多小问题。许多用户反馈可以通过[将BIOS版本降级到311版本来解决](https://rog.asus.com/nl/laptops/rog-zephyrus/rog-zephyrus-g15-2022-series/helpdesk_bios/)。
#### 我删除了Armoury之后我的GPU性能降低了
检查你的 Nvidia Experience 设置确保Whisper Mode项是关闭的。你还可以尝试重置所有设置。`Nvidia 控制面板 -> 管理 3D 设置 -> 恢复`
#### 我如何从硬件层面重启我的笔记本?
所有的华硕笔记本都支持方便的硬重启。它不会影响你的数据,但是会重置所有硬件相关的东西(例如启动独立显卡唤醒wifi/蓝牙模块等)
关闭你的电脑长按“电源”按钮30-40秒。之后正常启动你的电脑(会比正常情况下花更长时间启动)。
#### G-helper 是什么?
这是一个ASUS笔记本的控制工具。可以做到几乎所有Armoury Crate(奥创控制中心)能做的事情,而且不需要任何多余的功能或安装不必要的系统服务。
这是一个轻量化的Armoury Crate(奥创控制中心)替代工具而且不需要任何多余的功能或安装不必要的系统服务的。在ROG G14, G15, G16, M16, X13, Z13, X16, TUF, Scar, Vivobook, ProArt等热门笔记本中都适用。
----------------------------
---
## 💶 [支持这个项目](https://www.paypal.com/donate/?hosted_button_id=4HMSHS4EBQWTA)
## :euro: [支持这个项目](https://www.paypal.com/donate/?hosted_button_id=4HMSHS4EBQWTA)
#### 如果你喜欢这个项目你可以[通过Paypal捐赠](https://www.paypal.com/donate/?hosted_button_id=4HMSHS4EBQWTA)
[![二维码](https://user-images.githubusercontent.com/5920850/233658717-0441494d-fede-4a2c-b4f2-4b16a184a69a.png)](https://www.paypal.com/donate/?hosted_button_id=4HMSHS4EBQWTA)
----------------
---
### 安装指南
@@ -131,21 +189,19 @@ G-helper是一个单文件的exe文件, 而且它不会向系统中安装任何
2. 解压到你选择的文件夹
3. 运行 **GHelper.exe**
### 运行要求必须
### 运行要求(必须)
- Microsoft [.NET7](https://dotnet.microsoft.com/en-us/download)。 你可能已经安装了。 如果没有的话你可以从官方网站 [立即下载](https://dotnet.microsoft.com/en-us/download/dotnet/thank-you/sdk-7.0.202-windows-x64-installer)。
- [Asus System Control Interface](https://dlcdnets.asus.com/pub/ASUS/nb/Image/CustomComponent/ASUSSystemControlInterfaceV3/ASUSSystemControlInterfaceV3.exe)。 如果你安装了或者安装过myASUS, 那么这个"驱动"应当已经安装(即使myASUS已经卸载)。 或者你可以手动下载安装。
### 推荐配置可选
### 推荐配置(可选)
- 推荐保持 "Asus Optimization Service" 这个windows服务的运行, 它保证基本的键盘快捷键(比如屏幕或键盘亮度)能够使用。
- 可选选项(!) 你可以通过在管理员模式下运行 [这个用于精简的.bat文件](https://raw.githubusercontent.com/seerge/g-helper/main/debloat.bat)来禁用/移除不必要的服务。如果要恢复这些服务,运行 [这个.bat文件](https://raw.githubusercontent.com/seerge/g-helper/main/bloat.bat)。
-这个应用不建议与Armoury Crate(及其服务)同时运行, 因为它们会调整相同的设置。你可以[使用ASUS官方提供的卸载工具卸载](https://dlcdnets.asus.com/pub/ASUS/mb/14Utilities/Armoury_Crate_Uninstall_Tool.zip?model=armoury%20crate)Armoury Crate。以防万一你总是可以之后再安装回来。
-------------------------------
---
为Asus ROG 幻14 2022 (配置了AMD核显和独显)设计和开发。但应当可能在幻14 2021和2020款, 幻15, X FLOW, 以及其他的ROG机型上使用相关且支持的功能。
@@ -153,13 +209,13 @@ G-helper是一个单文件的exe文件, 而且它不会向系统中安装任何
设置文件保存在 ``%AppData%\GHelper``
------------------
---
精简你的windows可以帮助延长电池的使用时间同时让笔电的温度更低一些
![Helps to save your battery](https://raw.githubusercontent.com/seerge/g-helper/main/docs/screenshots/screen-5w.png)
---------
---
## 高级用户设置
@@ -167,7 +223,7 @@ G-helper是一个单文件的exe文件, 而且它不会向系统中安装任何
在 config.json (位于 %appdata/GHelper) 中你可以手动添加自定义电源设置的GUID (它既可以是"真正的"可被选择的电源计划,也可以是"覆盖式(overlay)"的电源计划就像g-helper默认设置的那样)
格式如下 : "scheme_<mode>" : "GUID"
格式如下 : "scheme_`<mode>`" : "GUID"
Where ``mode = 0 (balanced), 1 (turbo), 2 (silent)``
@@ -180,17 +236,16 @@ Where ``mode = 0 (balanced), 1 (turbo), 2 (silent)``
### 自定义热键行为
软件支持为 M3, M4 和 FN+F4 热键自定义配置。如要设置,在按键旁的选项框中选择"自定义设置",然后执行下面的操作任选其一:
软件支持为 M3, M4 和 FN+F4 热键自定义配置。如要设置,在按键旁的选项框中选择"自定义设置",然后执行下面的操作(任选其一):
1. 要想运行任意应用 - 向 "action" 文本框中粘贴应用文件exe的完整路径例如:
``C:\Program Files\EA Games\Battlefield 2042\BF2042.exe``
``C:\Program Files\EA Games\Battlefield 2042\BF2042.exe``
2. 要想模拟任意windows按键 - 向"action"文本框中粘贴相对应的 keycode例如 ``0x2C`` 为屏幕截图键。
Keycodes的完整列表: https://learn.microsoft.com/en-us/windows/win32/inputdev/virtual-key-codes
Keycodes的完整列表: https://learn.microsoft.com/en-us/windows/win32/inputdev/virtual-key-codes
![Screenshot 2023-04-13 172537](https://user-images.githubusercontent.com/5920850/231837470-df913847-cf8a-43e1-80b6-5eb6e9eaee4e.png)
------------
---
_注:请务必参考下方 **免责声明** 原文,以避免或减小错误或不恰当之翻译引起的负面影响。翻译仅为便于阅读之目的,不具有法律效力,亦不作为发生争端时处理之依据。_

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 11 KiB