Compare commits

...

297 Commits

Author SHA1 Message Date
Serge
c4e251afa0 UI Tweaks 2024-02-07 13:09:59 +01:00
Serge
e5e079896d UI tweaks 2024-02-07 12:51:58 +01:00
Serge
3bdcb5a630 Merge branch 'main' of https://github.com/seerge/g-helper 2024-02-07 12:40:32 +01:00
Serge
b879a4f83f UI Tweaks 2024-02-07 12:40:30 +01:00
Serge
b825b0dcd4 New translations strings.resx (French) (#2037) 2024-02-07 11:54:16 +01:00
Serge
5875c1ed2c Narrator support for toast notifications https://github.com/seerge/g-helper/issues/2035 2024-02-06 18:21:26 +01:00
Serge
d428bfa3c8 Merge branch 'main' of https://github.com/seerge/g-helper 2024-02-06 15:24:00 +01:00
Serge
b8c8508fd7 Narrator improvements https://github.com/seerge/g-helper/issues/2035 2024-02-06 15:23:56 +01:00
Serge
490d40a244 New Crowdin updates (#2032)
* New translations strings.resx (Chinese Traditional)

* New translations strings.resx (Spanish)

* New translations strings.resx (Polish)

* New translations strings.resx (Romanian)

* New translations strings.resx (French)

* New translations strings.resx (German)

* New translations strings.resx (Hungarian)

* New translations strings.resx (Italian)

* New translations strings.resx (Korean)

* New translations strings.resx (Lithuanian)

* New translations strings.resx (Portuguese)

* New translations strings.resx (Turkish)

* New translations strings.resx (Ukrainian)

* New translations strings.resx (Chinese Simplified)

* New translations strings.resx (Vietnamese)

* New translations strings.resx (Portuguese, Brazilian)

* New translations strings.resx (Indonesian)
2024-02-04 23:22:04 +01:00
IceStormNG
236e6215e7 Mouse Profile Import/Export (#2030)
* Support for Strix Carry (P508)

* Fixes polling rate, angle snapping and debounce for Gladius II Origin.

* The Gen2 version of the TuF M3 uses 0-100 for brightness.

* Adds support for ROG Strix Impact III (P518)

* Import/Export feature for mice.
2024-02-04 16:57:41 +01:00
Serge
106ac8aca5 Log tweaks 2024-02-04 14:40:27 +01:00
Serge
6afc813de1 Version Bump 2024-02-04 13:53:40 +01:00
Serge
c9458494aa UI Tweaks 2024-02-04 13:52:38 +01:00
Serge
a32920586c New translations strings.resx (Ukrainian) (#2028) 2024-02-04 13:51:31 +01:00
Serge
b86588457b New translations strings.resx (Ukrainian) (#2027) 2024-02-04 13:46:03 +01:00
Serge
1f55878894 New Crowdin updates (#2025)
* New translations strings.resx (Chinese Traditional)

* New translations strings.resx (Chinese Traditional)

* New translations strings.resx (Spanish)

* New translations strings.resx (Polish)

* New translations strings.resx (Romanian)

* New translations strings.resx (French)

* New translations strings.resx (German)

* New translations strings.resx (Hungarian)

* New translations strings.resx (Italian)

* New translations strings.resx (Korean)

* New translations strings.resx (Lithuanian)

* New translations strings.resx (Portuguese)

* New translations strings.resx (Turkish)

* New translations strings.resx (Ukrainian)

* New translations strings.resx (Chinese Simplified)

* New translations strings.resx (Vietnamese)

* New translations strings.resx (Portuguese, Brazilian)

* New translations strings.resx (Indonesian)

* New translations strings.resx (Ukrainian)

* New translations strings.resx (Ukrainian)
2024-02-04 13:43:15 +01:00
Serge
b0e60d5d78 Translations Update 2024-02-04 13:29:17 +01:00
Serge
e1ba87fa2b Merge branch 'main' of https://github.com/seerge/g-helper 2024-02-03 11:43:27 +01:00
Serge
71c31d6dde Charger delay https://github.com/seerge/g-helper/discussions/2020 2024-02-03 11:43:25 +01:00
Serge
338e5719db Update README.md 2024-02-03 10:58:36 +01:00
Serge
b402535a73 Improved USB-C charger detection for FA507 https://github.com/seerge/g-helper/issues/2018 2024-02-02 21:12:29 +01:00
Serge
accb8e13d6 Cleanup 2024-02-01 22:23:40 +01:00
Serge
e01df60c5e Merge branch 'main' of https://github.com/seerge/g-helper 2024-02-01 22:19:49 +01:00
Serge
aed26d2fda Lid Close / Open detection https://github.com/seerge/g-helper/issues/2013 2024-02-01 22:19:47 +01:00
Serge
993e123032 Update README.md 2024-02-01 13:39:15 +01:00
IceStormNG
d6386c3977 Support for ROG Strix Impact III (P518) (#2012)
* Support for Strix Carry (P508)

* Fixes polling rate, angle snapping and debounce for Gladius II Origin.

* The Gen2 version of the TuF M3 uses 0-100 for brightness.

* Adds support for ROG Strix Impact III (P518)
2024-02-01 13:37:23 +01:00
Serge
00595b80f0 Update README.md 2024-01-31 22:00:19 +01:00
Serge
4ca5db4560 Update peripherals_request.yml 2024-01-31 17:16:48 +01:00
Serge
d440846cac Create peripherals_request.yml 2024-01-31 17:13:16 +01:00
IceStormNG
222cefcee2 LED brightness fix for TuF M3 Gen II (#2004)
* Support for Strix Carry (P508)

* Fixes polling rate, angle snapping and debounce for Gladius II Origin.

* The Gen2 version of the TuF M3 uses 0-100 for brightness.
2024-01-30 16:58:54 +01:00
Serge
1478f80c1a Ally UI Fix 2024-01-30 15:24:49 +01:00
Serge
b2a64bf012 Ally cleanup 2024-01-30 15:04:12 +01:00
Serge
d734581493 Release logic 2024-01-30 15:02:11 +01:00
Serge
31eef60e75 UI tweaks 2024-01-30 14:59:05 +01:00
Serge
563d49d675 Release logic 2024-01-30 14:58:07 +01:00
Serge
2a7bea83ad Aura cleanup 2024-01-30 14:56:28 +01:00
Serge
e57f61b07a Release Update Logic 2024-01-30 14:35:03 +01:00
Serge
bdc1f92f1b Update release.yml 2024-01-30 11:43:25 +01:00
Serge
621835076b Lightbar toggle for old devices https://github.com/seerge/g-helper/issues/1929 2024-01-30 00:49:04 +01:00
Serge
297ebe5d64 Cleanup 2024-01-29 22:00:10 +01:00
Serge
e04c4cd46f AMD Overlay button 2024-01-29 12:31:31 +01:00
Serge
2b0ea99acc Merge branch 'main' of https://github.com/seerge/g-helper 2024-01-29 12:05:31 +01:00
Serge
f2371b0931 Ally tweaks 2024-01-29 12:05:29 +01:00
Serge
bc75b154c3 New translations strings.resx (Polish) (#1993) 2024-01-29 10:49:03 +01:00
Serge
279d07d674 Controller Toggle tweaks 2024-01-28 21:34:15 +01:00
Serge
8243d87824 Merge branch 'main' of https://github.com/seerge/g-helper 2024-01-28 20:09:43 +01:00
Serge
3d95fb33ce Controller mode binding 2024-01-28 20:09:40 +01:00
Serge
736bead0a9 Merge branch 'main' of https://github.com/seerge/g-helper 2024-01-28 16:04:44 +01:00
Serge
296527d994 UI crash fix https://github.com/seerge/g-helper/issues/1992 2024-01-28 16:04:41 +01:00
Serge
d534f5440b Update release.yml 2024-01-28 12:23:43 +01:00
Serge
9e08114363 Merge branch 'main' of https://github.com/seerge/g-helper 2024-01-27 21:43:08 +01:00
Serge
ca8531cf26 Matrix Pixel Fix 2024-01-27 21:43:06 +01:00
Serge
cda04d3c3b Update README.md 2024-01-27 12:55:12 +01:00
Serge
8c5f4aa0f3 Handheld form behavior 2024-01-27 12:06:46 +01:00
Serge
6f861957df Version Bump 2024-01-27 11:51:27 +01:00
Serge
8884b0d844 XBox controller toggle 2024-01-27 11:50:13 +01:00
Serge
2987d750e3 XBox controller disable / enable toggle 2024-01-27 11:44:07 +01:00
Serge
b5e160bc00 Bindings UI 2024-01-26 21:23:22 +01:00
Serge
fb33f426d3 Binding UI 2024-01-26 20:43:51 +01:00
Serge
163b35d6b0 Advanced Settings Plugin downloader fixes 2024-01-26 18:21:47 +01:00
Serge
325c6ff3ea Advanced Settings Plugin downloader tweaks 2024-01-26 18:10:11 +01:00
Serge
7b34ec4a8c Update release.yml 2024-01-26 17:59:29 +01:00
Serge
31b535a582 Update README.md 2024-01-26 17:52:37 +01:00
Serge
1fa2442023 Update README.md 2024-01-26 17:15:29 +01:00
Serge
39cc2b7563 Update README.md 2024-01-26 17:14:56 +01:00
Serge
8a37520453 Advanced Settings Plugin downloader 2024-01-26 15:01:14 +01:00
Serge
fbfbe8e730 Ally Backlight control 2024-01-25 16:54:34 +01:00
Serge
545e2cc705 Update feature_request.yml 2024-01-25 11:40:54 +01:00
Serge
a27b02ff62 Delete .github/ISSUE_TEMPLATE/feature_request.md 2024-01-25 11:35:35 +01:00
Serge
06bfe8361d Create feature_request.yml 2024-01-25 11:35:16 +01:00
Serge
8531d903bb Minor tweaks 2024-01-24 23:00:06 +01:00
Serge
a3768bcedf Anime Matrix tweaks https://github.com/seerge/g-helper/issues/1648 2024-01-24 18:49:57 +01:00
Serge
ef1a823294 Update README.md 2024-01-23 13:17:00 +01:00
Serge
5e49c2e699 Update README.md 2024-01-23 13:16:40 +01:00
Serge
bbe1fd3d9f Aura tweaks for 2024 models 2024-01-23 11:08:46 +01:00
Serge
fff52f3f5c Merge branch 'main' of https://github.com/seerge/g-helper 2024-01-22 10:52:28 +01:00
Serge
bb10fff4e2 Aura tweaks 2024-01-22 10:52:26 +01:00
Serge
5b3947c580 New Crowdin updates (#1963)
* New translations strings.resx (Portuguese)

* New translations strings.resx (Romanian)

* New translations strings.resx (Chinese Traditional)

* New translations strings.resx (French)

* New translations strings.resx (Spanish)

* New translations strings.resx (German)

* New translations strings.resx (Hungarian)

* New translations strings.resx (Italian)

* New translations strings.resx (Korean)

* New translations strings.resx (Lithuanian)

* New translations strings.resx (Polish)

* New translations strings.resx (Turkish)

* New translations strings.resx (Ukrainian)

* New translations strings.resx (Chinese Simplified)

* New translations strings.resx (Vietnamese)

* New translations strings.resx (Portuguese, Brazilian)

* New translations strings.resx (Indonesian)

* New translations strings.resx (Spanish)
2024-01-21 19:31:05 +01:00
Serge
76e547c2dc UI Tweaks 2024-01-21 18:44:46 +01:00
Serge
d635dc275f Removed notification if XGM toggle happens via hotkey 2024-01-21 18:23:01 +01:00
Serge
5b96757939 Ally XGM binding 2024-01-21 15:47:49 +01:00
Serge
3fbd833e21 XGM binding for Ally https://github.com/seerge/g-helper/issues/1964 2024-01-21 15:35:56 +01:00
Serge
a3fd1a2703 Ally Show Desktop / Mic Mute 2024-01-21 13:38:26 +01:00
Serge
72dea26fde New Ally bindings and Touch Keyboard Support 2024-01-21 13:31:48 +01:00
Serge
6e3fde8537 Multizone Toggle UI 2024-01-20 16:28:43 +01:00
Serge
f8624c8954 Miniled / Multizone Toggle for 2024 models https://github.com/seerge/g-helper/issues/1957 2024-01-20 15:55:04 +01:00
Serge
ce0a1c0ed2 Merge branch 'main' of https://github.com/seerge/g-helper 2024-01-20 12:46:37 +01:00
Serge
1b25017c18 Ally bindings 2024-01-20 12:46:35 +01:00
Serge
0ac1a44800 Update bug_report.yml 2024-01-20 01:29:55 +01:00
Serge
d8bf8ed463 Start/Stop for AC services on Ally 2024-01-19 20:39:50 +01:00
Serge
8b26e9aeba Ally bindings 2024-01-19 18:26:20 +01:00
Serge
42ccbe8783 Merge branch 'main' of https://github.com/seerge/g-helper 2024-01-19 11:45:36 +01:00
Serge
f1ef397ada Backlight checkboxes fix for some Strix models https://github.com/seerge/g-helper/issues/1943 2024-01-19 11:45:33 +01:00
Serge
97f2cc4332 New Crowdin updates (#1945)
* New translations strings.resx (Chinese Traditional)

* New translations strings.resx (Chinese Traditional)
2024-01-18 20:44:39 +01:00
Serge
b4039e1301 Merge branch 'main' of https://github.com/seerge/g-helper 2024-01-18 15:08:16 +01:00
Serge
dedb2123f0 Battery Discharge reader 2024-01-18 15:08:13 +01:00
Serge
6d56bc1231 Update README.md 2024-01-18 10:09:40 +01:00
Serge
f0d8987806 Update README.md 2024-01-17 23:02:49 +01:00
Serge
c4ccdbe737 Update README.md 2024-01-17 23:02:20 +01:00
Serge
5607e4faec Update README.md 2024-01-17 22:57:13 +01:00
Serge
8eb920313d Update README.md 2024-01-17 18:04:29 +01:00
Serge
6479079212 Hotkeys for switching modes https://github.com/seerge/g-helper/issues/1931 2024-01-17 17:53:35 +01:00
Serge
db3804414e Reset clock limit https://github.com/seerge/g-helper/issues/1915 2024-01-17 17:42:42 +01:00
Serge
99dfcbb95c Clock reset revert 2024-01-17 17:33:16 +01:00
Serge
736cad7ff5 Ally controller wake up tweaks 2024-01-17 17:22:32 +01:00
Serge
b3b0b512d2 Sleeing controller fix 2024-01-17 16:02:58 +01:00
Serge
2462bc92de Labels fix 2024-01-17 14:10:47 +01:00
Serge
fcfa1821a6 DarkTheme fix 2024-01-17 14:02:05 +01:00
Serge
70e2e2e06e Label tweaks 2024-01-17 13:56:17 +01:00
Serge
c0b5ef93d3 Version Bump 2024-01-17 13:50:08 +01:00
Serge
737c83ec22 Ally mappings 2024-01-17 13:33:19 +01:00
Serge
fd1d929d0d Ally Mappings 2024-01-17 12:28:23 +01:00
Serge
c2aa4da1db Ally Mappings 2024-01-17 12:18:59 +01:00
Serge
adcbe33fbb Ally bindings 2024-01-16 23:49:28 +01:00
Serge
31e52dbf00 Ally Mappings 2024-01-16 21:00:51 +01:00
Serge
acef2407c7 Ally Mappings 2024-01-16 20:53:09 +01:00
Serge
6dd4905b95 Merge branch 'main' of https://github.com/seerge/g-helper 2024-01-16 20:31:22 +01:00
Serge
1657e89599 Ally Bindings 2024-01-16 20:31:20 +01:00
Serge
745deef642 New translations strings.resx (Romanian) (#1934) 2024-01-16 15:07:51 +01:00
IceStormNG
21ad10ce4e Fix for Gladius II Origin (#1936)
* Support for Strix Carry (P508)

* Fixes polling rate, angle snapping and debounce for Gladius II Origin.
2024-01-16 15:07:02 +01:00
Serge
5e7a2e8ced New translations strings.resx (Romanian) (#1932) 2024-01-16 12:11:46 +01:00
Serge
30fb32c3d5 Reste GPU clock limit when it's not set in new profile https://github.com/seerge/g-helper/issues/1915 2024-01-16 12:03:11 +01:00
Serge
ef442f3f11 Restored extra backlight checkboxes for Z13 https://github.com/seerge/g-helper/issues/1930 2024-01-16 11:54:31 +01:00
Serge
7bfd80b20f Ally M1/M2 bindings 2024-01-16 00:50:13 +01:00
Serge
4e1aa01fae Ally Controller Settings 2024-01-15 21:40:08 +01:00
Serge
2c8f14f783 Update bug_report.yml 2024-01-15 11:15:22 +01:00
Serge
cf46ed7eff Update bug_report.yml 2024-01-15 10:59:52 +01:00
Serge
8552eab367 Update bug_report.yml 2024-01-15 10:58:52 +01:00
Serge
abd28efb61 Update bug_report.yml 2024-01-15 10:56:44 +01:00
Serge
e161a76e66 Update bug_report.yml 2024-01-15 09:48:30 +01:00
Serge
0270a453b8 Input listener fix https://github.com/seerge/g-helper/issues/1924 2024-01-15 09:06:08 +01:00
Serge
6e1081044b Merge branch 'main' of https://github.com/seerge/g-helper 2024-01-14 21:29:26 +01:00
Serge
384a70c51c UI tweaks for Ally 2024-01-14 21:29:24 +01:00
IceStormNG
0da6540de4 Support for Strix Carry (P508) (#1922) 2024-01-14 20:40:30 +01:00
Serge
83fed695e4 Ally controller tweaks 2024-01-13 23:38:12 +01:00
Serge
6bd69a6055 Merge branch 'main' of https://github.com/seerge/g-helper 2024-01-13 21:37:49 +01:00
Serge
e125afde1a FPS Limit for Ally 2024-01-13 21:37:47 +01:00
IceStormNG
bc79784b2f Support for ROG Spatha (#1914)
* Added support for ROG Chakram Core (P511)

* Add support for the TUF M3 Gen II

* Support for Gladius II and Gladius II Origin (P502 and P504)

* Support for ROG Spatha Mouse
2024-01-13 19:33:47 +01:00
Serge
a29cd7e1be GPU mode fix for TUF https://github.com/seerge/g-helper/discussions/1912 2024-01-13 16:36:53 +01:00
Serge
5986707f90 Ally Aura Tweaks 2024-01-13 16:34:45 +01:00
Serge
3bd35074fe Hide unsupported options for Ally at Extra screen 2024-01-13 16:10:46 +01:00
Serge
b1b187f098 Dimmer minimum backlight brightness for Ally 2024-01-13 15:57:59 +01:00
Serge
1464a39eb4 Ally Backlight Button 2024-01-13 15:48:48 +01:00
Serge
f682646865 Merge branch 'main' of https://github.com/seerge/g-helper 2024-01-13 15:23:45 +01:00
Serge
6a9d805838 Removed unsupported GPU modes for Ally 2024-01-13 15:23:43 +01:00
Serge
0217b2a993 UI Tweaks 2024-01-13 13:36:19 +01:00
Serge
0a3256eb44 Update bug_report.yml 2024-01-13 13:30:07 +01:00
Serge
6eba7dadea Auto controller mode detection for Ally 2024-01-13 13:24:30 +01:00
IceStormNG
772bd8e7a5 Fixes for Auto Update (#1908)
* Automatically restart audio capture when device changes.

* Wait for process to terminate instead of waiting a fixed amount of time.

* Application.Exit might not exit if there is a child process running. Environment.Exit(0) do though.
2024-01-13 11:38:37 +01:00
Serge
556a4ce4ee Ally Controller Modes 2024-01-12 22:56:12 +01:00
Serge
c0f88191df Per key RGB option for G513QM https://github.com/seerge/g-helper/discussions/1906 2024-01-12 21:32:10 +01:00
Serge
527769042f Version Bump 2024-01-12 19:36:18 +01:00
Serge
671c31848b Merge branch 'main' of https://github.com/seerge/g-helper 2024-01-12 19:35:12 +01:00
Serge
00dc6a6ca3 Auto updater tweaks 2024-01-12 19:35:10 +01:00
IceStormNG
765c03815e Automatically restart audio capture when device changes. (#1903) 2024-01-12 18:55:52 +01:00
Serge
df35a576df Update bug_report.yml 2024-01-12 14:51:00 +01:00
Serge
becb71b69b Update bug_report.yml 2024-01-12 14:49:18 +01:00
Serge
aba4ab7742 Update bug_report.yml 2024-01-12 14:45:04 +01:00
Serge
2a9b9735d5 Update bug_report.yml 2024-01-12 14:39:53 +01:00
Serge
9ced493821 Delete .github/ISSUE_TEMPLATE/bug_report.md 2024-01-12 14:34:24 +01:00
Serge
c6f3f73405 Create bug_report.yml 2024-01-12 14:32:32 +01:00
Serge
b8b82af613 New translations strings.resx (Portuguese) (#1897) 2024-01-12 13:41:46 +01:00
Serge
4ab7ceb837 Hide unsupported PL2/SPPT https://github.com/seerge/g-helper/discussions/1894 2024-01-11 19:37:50 +01:00
Serge
d7c85e8440 Aura tweaks https://github.com/seerge/g-helper/issues/1864 2024-01-11 16:24:48 +01:00
Serge
87eb2e5a39 Merge branch 'main' of https://github.com/seerge/g-helper 2024-01-11 14:31:43 +01:00
Serge
d8569d5d43 Aura tweaks for G533Q https://github.com/seerge/g-helper/issues/1864 2024-01-11 14:31:41 +01:00
Serge
ddf56fc017 Update README.md 2024-01-11 13:11:25 +01:00
Serge
ee86661aac Merge branch 'main' of https://github.com/seerge/g-helper 2024-01-11 00:08:25 +01:00
Serge
d05298030f ProArt backlight control support https://github.com/seerge/g-helper/issues/1876 , Added CPU name to Fans+Power screen https://github.com/seerge/g-helper/issues/1883 2024-01-11 00:08:10 +01:00
Serge
49d751ee15 Update README.md 2024-01-10 21:24:27 +01:00
Serge
6e659264e2 Update README.md 2024-01-09 22:13:29 +01:00
Serge
f8fdaf094a Update README.md 2024-01-09 22:01:31 +01:00
Serge
cc667519bc Update README.md 2024-01-09 20:43:23 +01:00
Serge
88cc19d813 Update LICENSE 2024-01-09 20:42:43 +01:00
Serge
87806608e3 UI fixes 2024-01-09 13:07:34 +01:00
Serge
8280ce1d1c Aura tweaks 2024-01-09 10:55:55 +01:00
Serge
ea73de4414 Aura tweaks for G513QM https://github.com/seerge/g-helper/issues/1868 2024-01-08 13:49:51 +01:00
Serge
adcba8d35e Keybindings tweak for FA506IV https://github.com/seerge/g-helper/issues/1869 2024-01-08 10:27:03 +01:00
Serge
baf52720bb Fix to prevent config corruption 2024-01-07 21:38:53 +01:00
Serge
8a2eec7823 Config fix 2024-01-07 18:27:43 +01:00
Serge
2be3b831ef UI tweaks https://github.com/seerge/g-helper/issues/533 2024-01-06 19:51:18 +01:00
Serge
3785454200 Reduced Ambient mode refresh rate for M16 2024-01-06 13:38:39 +01:00
Serge
48c6f4f659 Merge branch 'main' of https://github.com/seerge/g-helper 2024-01-05 11:38:23 +01:00
Serge
605c699651 UI error on wrong mouse DPI https://github.com/seerge/g-helper/issues/1850#issuecomment-1878456736 2024-01-05 11:38:21 +01:00
Serge
096366de4e New translations strings.resx (Chinese Simplified) (#1849) 2024-01-05 11:34:46 +01:00
Serge
797381463d Update README.md 2024-01-04 18:30:00 +01:00
IceStormNG
69ec75ff79 Support for Gladius II and Gladius II Origin (#1848) 2024-01-04 18:15:52 +01:00
Serge
dca954a244 Merge branch 'main' of https://github.com/seerge/g-helper 2024-01-04 11:31:57 +01:00
Serge
440632c209 Version Bump 2024-01-04 11:27:30 +01:00
Serge
274c2ef706 New translations strings.resx (Polish) (#1840) 2024-01-03 16:24:54 +01:00
Serge
acb7a45139 Enable GPU on shutdown for all Nvidia devices https://github.com/seerge/g-helper/issues/1841 2024-01-03 15:54:10 +01:00
Serge
9d5c70b4c3 Merge branch 'main' of https://github.com/seerge/g-helper 2024-01-03 13:01:32 +01:00
Serge
cc682412cc HDR check for miniled toggle https://github.com/seerge/g-helper/issues/1822#issuecomment-1874770630 2024-01-03 13:01:30 +01:00
Serge
ee89a2308b New translations strings.resx (Spanish) (#1837) 2024-01-02 22:12:48 +01:00
Serge
1578c7a18e Version Bump 2024-01-02 17:42:32 +01:00
Serge
b50f4f11a4 UI Tweaks 2024-01-02 17:29:59 +01:00
Serge
ad5b3e33c4 UI Tweaks 2024-01-02 17:19:01 +01:00
Serge
5de44067bc Dynamic Boost fallback https://github.com/seerge/g-helper/issues/1834 2024-01-01 22:13:42 +01:00
Serge
82f76b8d80 Accessibility improvements https://github.com/seerge/g-helper/issues/1830 2024-01-01 20:05:44 +01:00
Serge
0823e8efa2 Merge branch 'main' of https://github.com/seerge/g-helper 2024-01-01 16:26:19 +01:00
Serge
7bd0d3594a UI tweaks 2024-01-01 16:26:17 +01:00
Serge
573b56f6b6 New Crowdin updates (#1824)
* New translations strings.resx (French)

* New translations strings.resx (Turkish)

* New translations strings.resx (Romanian)

* New translations strings.resx (Spanish)

* New translations strings.resx (German)

* New translations strings.resx (Hungarian)

* New translations strings.resx (Italian)

* New translations strings.resx (Korean)

* New translations strings.resx (Lithuanian)

* New translations strings.resx (Polish)

* New translations strings.resx (Portuguese)

* New translations strings.resx (Ukrainian)

* New translations strings.resx (Chinese Simplified)

* New translations strings.resx (Chinese Traditional)

* New translations strings.resx (Vietnamese)

* New translations strings.resx (Portuguese, Brazilian)

* New translations strings.resx (Indonesian)
2024-01-01 11:16:25 +01:00
Serge
aabead161a Multizone toggle toast https://github.com/seerge/g-helper/issues/1822 2023-12-31 15:35:00 +01:00
Serge
5602d385f6 Translations for accessible labels https://github.com/seerge/g-helper/issues/1823 2023-12-31 15:28:22 +01:00
Serge
537123acda Ultimate mode for G834 https://github.com/seerge/g-helper/discussions/1816 2023-12-30 11:18:17 +01:00
Serge
05de5e5e18 Updates 2023-12-29 16:42:05 +01:00
Serge
9e805bfa97 Merge branch 'main' of https://github.com/seerge/g-helper 2023-12-29 12:43:25 +01:00
Serge
19ebb52a5e Dynamic boost https://github.com/seerge/g-helper/issues/1786 https://github.com/seerge/g-helper/issues/1806 2023-12-29 12:43:23 +01:00
Serge
8462042a57 Update README.md 2023-12-28 20:36:31 +01:00
Serge
442bd23e4a Update README.md 2023-12-28 16:50:27 +01:00
Serge
dd51add9f1 Update README.md 2023-12-28 16:49:31 +01:00
Serge
c2a025c808 Update README.md 2023-12-28 16:48:15 +01:00
Serge
86767983a4 Update README.md 2023-12-28 16:45:17 +01:00
Serge
e625a5d1f2 Update README.md 2023-12-28 16:44:34 +01:00
Serge
69aefd2ee7 Update README.md 2023-12-28 16:44:22 +01:00
Serge
c68534cbcb Update README.md 2023-12-28 16:42:44 +01:00
Serge
93b1aa6426 Update README.md 2023-12-28 15:10:50 +01:00
Serge
68ad2b6625 Update README.md 2023-12-28 13:44:07 +01:00
Serge
e484d7a1d6 Update README.md 2023-12-28 13:35:55 +01:00
Serge
ac447e33e2 Update README.md 2023-12-28 13:22:07 +01:00
Serge
60cb46ea4f Update README.md 2023-12-28 13:18:28 +01:00
Serge
6283d84d5d Update README.md 2023-12-28 12:57:51 +01:00
Serge
13b90c7e06 Update README.md 2023-12-28 12:57:41 +01:00
Serge
1c1d9e68e7 Update bug_report.md 2023-12-28 12:46:00 +01:00
Serge
6fbcde2303 Homepage cleanup 2023-12-28 12:39:48 +01:00
Serge
20f2d51d20 Update README.md 2023-12-28 12:37:46 +01:00
Serge
359459477a Update README.md 2023-12-28 12:32:50 +01:00
Serge
23f911767e Update README.md 2023-12-28 12:27:12 +01:00
Serge
cab5084f28 Update README.md 2023-12-28 12:10:35 +01:00
Serge
e4d528b0eb Update README.md 2023-12-28 12:08:00 +01:00
Serge
10643e9899 Update README.md 2023-12-28 12:05:33 +01:00
Serge
35e19fa257 Update README.md 2023-12-28 12:01:07 +01:00
Serge
c0f46c600e Update README.md 2023-12-28 11:52:25 +01:00
Serge
4cf90ac10d Delete docs/power-user.md 2023-12-28 11:46:09 +01:00
Serge
cdb89216e0 Create power-user.md 2023-12-28 11:38:07 +01:00
Serge
c207f03657 Update README.md 2023-12-27 20:16:36 +01:00
Serge
8f5c23fbe5 New translations strings.resx (Turkish) (#1796) 2023-12-26 21:16:17 +01:00
Serge
2bd6791edf Merge branch 'main' of https://github.com/seerge/g-helper 2023-12-26 15:10:38 +01:00
Serge
d7a8d51375 Aura Tweaks 2023-12-26 15:10:36 +01:00
Serge
165f5e4829 Ambient mode fix for GA503 https://github.com/seerge/g-helper/issues/1790 2023-12-26 12:43:23 +01:00
Serge
be79246c21 Update README.md 2023-12-25 12:41:32 +01:00
Serge
3afe0d8e1a Autoupdate tweaks 2023-12-24 16:14:06 +01:00
Serge
4f3ae43c3b AutoUpdate improvements 2023-12-24 15:50:30 +01:00
Serge
2bc4151c7a Merge branch 'main' of https://github.com/seerge/g-helper 2023-12-23 11:45:49 +01:00
Serge
4624fabd33 Configurable ambient refresh rate 2023-12-23 11:45:47 +01:00
Serge
00afbb7810 New translations strings.resx (French) (#1775) 2023-12-23 11:25:23 +01:00
Serge
f94d76aab9 Version bump 2023-12-22 21:51:57 +01:00
Serge
57b896d05a Aura GPU mode simplification 2023-12-22 21:41:53 +01:00
Serge
27b78ba1cf Aura tweaks 2023-12-22 20:53:51 +01:00
Serge
eea453b3c4 Airplane mode hotkey https://github.com/seerge/g-helper/issues/1765 2023-12-21 13:20:26 +01:00
Serge
e5dd7f54af Aura tweaks 2023-12-20 12:00:03 +01:00
Serge
149ed7f81b Aura improvements 2023-12-20 11:48:10 +01:00
Serge
88d4e5d3a8 Aura fixes 2023-12-20 01:48:55 +01:00
Serge
77f8d34d13 Version bump 2023-12-20 00:34:25 +01:00
Serge
02aef7f2f3 Merge branch 'main' of https://github.com/seerge/g-helper 2023-12-20 00:23:40 +01:00
Serge
edc434a890 Imprpved ambient mode 2023-12-20 00:23:38 +01:00
Serge
b337a226da Update README.md 2023-12-19 15:30:20 +01:00
Serge
03e6e69fb4 Update README.md 2023-12-19 15:24:20 +01:00
Serge
f852fbadb6 Update README.md 2023-12-19 15:23:18 +01:00
Serge
b95d676285 Merge branch 'main' of https://github.com/seerge/g-helper 2023-12-19 12:31:25 +01:00
Serge
fafa27b2a0 Enable GPU on shutdown option for FA506 https://github.com/seerge/g-helper/issues/1755#issuecomment-1862465947 2023-12-19 12:31:23 +01:00
IceStormNG
e7ceb2feaf Support for ASUS TuF M3 Gen II (#1762)
* Added support for ROG Chakram Core (P511)

* Add support for the TUF M3 Gen II
2023-12-19 12:29:12 +01:00
Serge
62f280b0b9 Custom aura colors will be saved to config 2023-12-18 17:39:58 +01:00
Serge
d179fe6b86 UI Fix 2023-12-18 17:23:23 +01:00
Serge
291909749a Merge branch 'main' of https://github.com/seerge/g-helper 2023-12-18 16:46:58 +01:00
Serge
883ec1828b Version bump 2023-12-18 16:46:55 +01:00
Serge
55a75f79b0 New Crowdin updates (#1752)
* New translations strings.resx (French)

* New translations strings.resx (French)
2023-12-17 19:34:02 +01:00
Serge
5c6deb902c Added G15 2022 to the list of devies with enabling GPU on shutdown https://github.com/seerge/g-helper/issues/1755 2023-12-17 19:33:46 +01:00
Serge
fac634b460 Hide SPPT for unsupported models https://github.com/seerge/g-helper/issues/1753 2023-12-17 19:30:47 +01:00
Serge
41e74084ac Chart temps tooltip rounding tweak https://github.com/seerge/g-helper/discussions/1744 2023-12-17 11:18:47 +01:00
Serge
bc8084f3e0 Matrix brightness control via hotkeys https://github.com/seerge/g-helper/issues/1733 2023-12-16 11:07:56 +01:00
Serge
e8d0030444 Merge branch 'main' of https://github.com/seerge/g-helper 2023-12-16 10:40:48 +01:00
Serge
4cf4e2eb66 Hide unsupported power sliders https://github.com/seerge/g-helper/discussions/1747 2023-12-16 10:40:46 +01:00
Serge
ece5606c27 Update README.md 2023-12-15 18:45:18 +01:00
Serge
e115e0f82b Ambient mode fix https://github.com/seerge/g-helper/issues/1641#issuecomment-1855661443 2023-12-15 18:44:54 +01:00
Serge
d6fe7f41c1 Remove unsupported RGB colors from GA502IU https://github.com/seerge/g-helper/issues/1740 2023-12-13 23:06:28 +01:00
Serge
4a0e9d2e41 Separated PL1/PL2 and SPL/SPPT https://github.com/seerge/g-helper/issues/1729 2023-12-13 17:16:44 +01:00
Serge
e59142140c Ambient tweaks 2023-12-13 16:46:37 +01:00
Serge
8ca043de7d Ambient mode improvements 2023-12-13 16:42:29 +01:00
Serge
9543cd400e Ultimate mode fix for FA617N 2023-12-13 12:48:22 +01:00
Serge
b808aa7619 Issue https://github.com/seerge/g-helper/issues/1734 2023-12-13 11:20:58 +01:00
Serge
6ca63bb9c5 Removed unsupported backlight options for ARCNM https://github.com/seerge/g-helper/issues/1728 2023-12-12 12:29:26 +01:00
Serge
4ba11f1f9f Version bump 2023-12-11 13:53:12 +01:00
Serge
382080922d White only keyboard detection for GA503R https://github.com/seerge/g-helper/issues/1714 2023-12-09 17:51:12 +01:00
Serge
d439d20c13 Merge branch 'main' of https://github.com/seerge/g-helper 2023-12-09 14:42:16 +01:00
Serge
24199b3036 Matrix Contrast slider https://github.com/seerge/g-helper/issues/1713 2023-12-09 14:42:14 +01:00
Serge
d45ce23d9a Update README.md 2023-12-09 00:58:00 +01:00
Serge
34ae2e536d New Crowdin updates (#1708)
* New translations strings.resx (French)

* New translations strings.resx (Chinese Simplified)
2023-12-08 13:44:42 +01:00
Serge
64e3b3bbd6 Added M16 2023 to the list of devices that support GPU enabling on shutdown https://www.reddit.com/r/ZephyrusM16/comments/18chukc/comment/kcd132i/?context=3 2023-12-07 14:31:05 +01:00
Serge
f3fd590be4 Version Bump 2023-12-07 11:25:08 +01:00
Serge
6a9d47a61d UI Fixes https://github.com/seerge/g-helper/issues/1701 2023-12-07 11:12:57 +01:00
Serge
3848ef9a43 New translations strings.resx (Polish) (#1692) 2023-12-03 21:55:37 +01:00
Serge
84c7fdb3bf Removed ACPI requirement for non-asus models https://github.com/seerge/g-helper/issues/1676 2023-12-03 12:17:07 +01:00
Serge
013c83fd60 Merge branch 'main' of https://github.com/seerge/g-helper 2023-12-03 11:23:17 +01:00
Serge
b31ed8338a G14 2023 white-only / RGB detection https://github.com/seerge/g-helper/issues/1686 2023-12-03 11:23:14 +01:00
Serge
6f9eb1e9c5 New translations strings.resx (Spanish) (#1681) 2023-12-01 22:56:15 +01:00
Hamza Rizwan
f19ea5eaf6 Update AppConfig.cs (#1682)
Added "G713RC" to the list of limited Strix RGB models
2023-12-01 22:56:01 +01:00
102 changed files with 9033 additions and 1985 deletions

View File

@@ -1,42 +0,0 @@
---
name: Bug report
about: Create a report to help us improve
---
## NOTE
Bug reports without clear information or scenario to reproduce and logs from ``%AppData%\GHelper`` will be closed without answer.
Please respect the time of the developer. Thanks.
**Describe the bug**
A clear and concise description of what the bug is.
**Clear scenario to Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. Explanation of an error or a bug
**Expected behavior**
A clear and concise description of what you expected to happen.
**App Logs**
Please include and attach log.txt from ``%AppData%\GHelper``
**Screenshots or screencasts**
If applicable, add screenshots to help explain your problem.
**Desktop (please complete the following information):**
- OS: [e.g. Windows 11]
- Laptop model
**Asus software**
- Armoury Crate (or it's services installed)
- MyASUS installed
- Other Asus services running in background
**Additional context**
Add any other context about the problem here.

88
.github/ISSUE_TEMPLATE/bug_report.yml vendored Normal file
View File

@@ -0,0 +1,88 @@
name: Bug Report
description: Something isn't working correctly
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out this bug report. The more information you provide, the easier it will be for me to fix it!
- type: checkboxes
id: rules
attributes:
label: Rules
options:
- label: I made myself familiar with the <a href='https://github.com/seerge/g-helper?tab=readme-ov-file'>Readme</a>, <a href='https://github.com/seerge/g-helper/wiki/FAQ'>FAQ</a> and <a href='https://github.com/seerge/g-helper/wiki/Troubleshooting'>Troubleshooting</a>.
required: true
- label: I understand that, if insufficient information or no app logs will be provided, my issue will be closed without an answer.
required: true
validations:
required: true
- type: textarea
id: description
attributes:
label: What's wrong?
description: Provide detailed description of what is wrong or does not work as expected.
placeholder: Provide detailed description of what is wrong or does not work as expected.
validations:
required: true
- type: textarea
id: reproduce
attributes:
label: How to reproduce the bug?
description: Describe how to reproduce the behavior. Be as specific as possible and provide as many details as possible.
placeholder: |
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
validations:
required: true
- type: textarea
id: logs
attributes:
label: Logs
placeholder: Please drag and drop complete log file from ``%APPDATA%\GHelper\log.txt``
description: Please drag and drop complete log file from ``%APPDATA%\GHelper\log.txt``
validations:
required: true
- type: input
id: device
attributes:
label: Device and Model
description: Which laptop do you use?
placeholder: e.g. Asus Zephyrus G14 GA404RK
validations:
required: true
- type: textarea
id: additional
attributes:
label: Additional information.
description: If applicable, add screenshots or other relevant information to help explain your problem.
- type: dropdown
id: armoury
attributes:
label: Armoury Crate
description: Do you have Armoury Crate installed?
options:
- Uninstalled
- Installed
- Never installed
default: 0
- type: input
id: asus
attributes:
label: Asus Services
description: How many Asus services do you have running (check ``Extra`` section in G-Helper)?
placeholder: e.g. None
- type: input
id: version
attributes:
label: Version
description: G-Helper version?
placeholder: e.g. 0.146
- type: input
id: os
attributes:
label: OS
description: Which operating system do you use?
placeholder: e.g. Windows 11 21H2

View File

@@ -1,20 +0,0 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: ''
assignees: ''
---
**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
**Describe the solution you'd like**
A clear and concise description of what you want to happen.
**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
**Additional context**
Add any other context or screenshots about the feature request here.

View File

@@ -0,0 +1,46 @@
name: Feature request
description: Suggest an idea for this project
body:
- type: checkboxes
id: rules
attributes:
label: Rules
options:
- label: I made myself familiar with the <a href='https://github.com/seerge/g-helper?tab=readme-ov-file'>Readme</a>, <a href='https://github.com/seerge/g-helper/wiki/FAQ'>FAQ</a> and <a href='https://github.com/seerge/g-helper/wiki/Troubleshooting'>Troubleshooting</a>.
required: true
- label: I understand that, if insufficient information will be provided, my issue will be closed without an answer.
required: true
validations:
required: true
- type: textarea
id: description
attributes:
label: Is your feature request related to a problem? Please describe
placeholder: A clear and concise description of what the problem is.
validations:
required: true
- type: textarea
id: solution
attributes:
label: Describe the solution you'd like
placeholder: A clear and concise description of what you want to happen.
validations:
required: true
- type: textarea
id: alternatives
attributes:
label: Describe alternatives you've considered
placeholder: A clear and concise description of any alternative solutions or features you've considered.
- type: input
id: device
attributes:
label: Device and Model
description: Which laptop do you use?
placeholder: e.g. Asus Zephyrus G14 GA404RK
validations:
required: true
- type: textarea
id: additional
attributes:
label: Additional information.
placeholder: If applicable, add screenshots or other relevant information

View File

@@ -0,0 +1,31 @@
name: Mouse and other peripherals support request
description: Request support for a new device
body:
- type: input
id: device
attributes:
label: Mouse / peripheral model and version
placeholder: e.g. Asus TUF M4 Wireless
validations:
required: true
- type: textarea
id: description
attributes:
label: Armoury Crate Screenshots
description: Connect your mouse to Armoury Crate (maybe in a VM if you do not want to install it on your PC) and upload here screenshots of all the pages for your mouse for settings.
placeholder: Drag and drop screenshots here
validations:
required: true
- type: textarea
id: solution
attributes:
label: USB Details
description: Also, please use <a href=https://www.uwe-sieber.de/usbtreeview.html>USB Tree View</a> and send the text (especially the block with all the child devices) of the mouse. <img width="1168" alt="image" src="https://github.com/seerge/g-helper/assets/12786283/8b51dd4d-c9fe-444e-b1b1-415175e10555">
placeholder: USB Tree View details
validations:
required: true
- type: textarea
id: additional
attributes:
label: Additional information.
placeholder: If applicable, add screenshots or other relevant information

View File

@@ -22,9 +22,9 @@ jobs:
- name: Publish
run: |
dotnet publish app/GHelper.sln --configuration Release --runtime win-x64 -p:PublishSingleFile=true --no-self-contained
powershell Compress-Archive app/bin/x64/Release/net7.0-windows/win-x64/publish/* GHelper.zip
powershell Compress-Archive app/bin/x64/Release/net7.0-windows/win-x64/publish/GHelper.exe GHelper.zip
- name: Upload
env:
GH_TOKEN: ${{ github.token }}
run: |
gh release upload ${{ github.ref_name }} GHelper.zip
gh release upload ${{ github.ref_name }} app/bin/x64/Release/net7.0-windows/win-x64/publish/GHelper.exe GHelper.zip

687
LICENSE
View File

@@ -1,21 +1,674 @@
MIT License
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (c) 2023 Serge
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
Preamble
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
The GNU General Public License is a free, copyleft license for
software and other kinds of works.
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. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
The licenses for most software and other practical works are designed
to take away your freedom to share and change the works. By contrast,
the GNU General Public License is intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains free
software for all its users. We, the Free Software Foundation, use the
GNU General Public License for most of our software; it applies also to
any other work released this way by its authors. You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.
To protect your rights, we need to prevent others from denying you
these rights or asking you to surrender the rights. Therefore, you have
certain responsibilities if you distribute copies of the software, or if
you modify it: responsibilities to respect the freedom of others.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must pass on to the recipients the same
freedoms that you received. You must make sure that they, too, receive
or can get the source code. And you must show them these terms so they
know their rights.
Developers that use the GNU GPL protect your rights with two steps:
(1) assert copyright on the software, and (2) offer you this License
giving you legal permission to copy, distribute and/or modify it.
For the developers' and authors' protection, the GPL clearly explains
that there is no warranty for this free software. For both users' and
authors' sake, the GPL requires that modified versions be marked as
changed, so that their problems will not be attributed erroneously to
authors of previous versions.
Some devices are designed to deny users access to install or run
modified versions of the software inside them, although the manufacturer
can do so. This is fundamentally incompatible with the aim of
protecting users' freedom to change the software. The systematic
pattern of such abuse occurs in the area of products for individuals to
use, which is precisely where it is most unacceptable. Therefore, we
have designed this version of the GPL to prohibit the practice for those
products. If such problems arise substantially in other domains, we
stand ready to extend this provision to those domains in future versions
of the GPL, as needed to protect the freedom of users.
Finally, every program is threatened constantly by software patents.
States should not allow patents to restrict development and use of
software on general-purpose computers, but in those that do, we wish to
avoid the special danger that patents applied to a free program could
make it effectively proprietary. To prevent this, the GPL assures that
patents cannot be used to render the program non-free.
The precise terms and conditions for copying, distribution and
modification follow.
TERMS AND CONDITIONS
0. Definitions.
"This License" refers to version 3 of the GNU General Public License.
"Copyright" also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.
"The Program" refers to any copyrightable work licensed under this
License. Each licensee is addressed as "you". "Licensees" and
"recipients" may be individuals or organizations.
To "modify" a work means to copy from or adapt all or part of the work
in a fashion requiring copyright permission, other than the making of an
exact copy. The resulting work is called a "modified version" of the
earlier work or a work "based on" the earlier work.
A "covered work" means either the unmodified Program or a work based
on the Program.
To "propagate" a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
computer or modifying a private copy. Propagation includes copying,
distribution (with or without modification), making available to the
public, and in some countries other activities as well.
To "convey" a work means any kind of propagation that enables other
parties to make or receive copies. Mere interaction with a user through
a computer network, with no transfer of a copy, is not conveying.
An interactive user interface displays "Appropriate Legal Notices"
to the extent that it includes a convenient and prominently visible
feature that (1) displays an appropriate copyright notice, and (2)
tells the user that there is no warranty for the work (except to the
extent that warranties are provided), that licensees may convey the
work under this License, and how to view a copy of this License. If
the interface presents a list of user commands or options, such as a
menu, a prominent item in the list meets this criterion.
1. Source Code.
The "source code" for a work means the preferred form of the work
for making modifications to it. "Object code" means any non-source
form of a work.
A "Standard Interface" means an interface that either is an official
standard defined by a recognized standards body, or, in the case of
interfaces specified for a particular programming language, one that
is widely used among developers working in that language.
The "System Libraries" of an executable work include anything, other
than the work as a whole, that (a) is included in the normal form of
packaging a Major Component, but which is not part of that Major
Component, and (b) serves only to enable use of the work with that
Major Component, or to implement a Standard Interface for which an
implementation is available to the public in source code form. A
"Major Component", in this context, means a major essential component
(kernel, window system, and so on) of the specific operating system
(if any) on which the executable work runs, or a compiler used to
produce the work, or an object code interpreter used to run it.
The "Corresponding Source" for a work in object code form means all
the source code needed to generate, install, and (for an executable
work) run the object code and to modify the work, including scripts to
control those activities. However, it does not include the work's
System Libraries, or general-purpose tools or generally available free
programs which are used unmodified in performing those activities but
which are not part of the work. For example, Corresponding Source
includes interface definition files associated with source files for
the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those
subprograms and other parts of the work.
The Corresponding Source need not include anything that users
can regenerate automatically from other parts of the Corresponding
Source.
The Corresponding Source for a work in source code form is that
same work.
2. Basic Permissions.
All rights granted under this License are granted for the term of
copyright on the Program, and are irrevocable provided the stated
conditions are met. This License explicitly affirms your unlimited
permission to run the unmodified Program. The output from running a
covered work is covered by this License only if the output, given its
content, constitutes a covered work. This License acknowledges your
rights of fair use or other equivalent, as provided by copyright law.
You may make, run and propagate covered works that you do not
convey, without conditions so long as your license otherwise remains
in force. You may convey covered works to others for the sole purpose
of having them make modifications exclusively for you, or provide you
with facilities for running those works, provided that you comply with
the terms of this License in conveying all material for which you do
not control copyright. Those thus making or running the covered works
for you must do so exclusively on your behalf, under your direction
and control, on terms that prohibit them from making any copies of
your copyrighted material outside their relationship with you.
Conveying under any other circumstances is permitted solely under
the conditions stated below. Sublicensing is not allowed; section 10
makes it unnecessary.
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
No covered work shall be deemed part of an effective technological
measure under any applicable law fulfilling obligations under article
11 of the WIPO copyright treaty adopted on 20 December 1996, or
similar laws prohibiting or restricting circumvention of such
measures.
When you convey a covered work, you waive any legal power to forbid
circumvention of technological measures to the extent such circumvention
is effected by exercising rights under this License with respect to
the covered work, and you disclaim any intention to limit operation or
modification of the work as a means of enforcing, against the work's
users, your or third parties' legal rights to forbid circumvention of
technological measures.
4. Conveying Verbatim Copies.
You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice;
keep intact all notices stating that this License and any
non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.
You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.
5. Conveying Modified Source Versions.
You may convey a work based on the Program, or the modifications to
produce it from the Program, in the form of source code under the
terms of section 4, provided that you also meet all of these conditions:
a) The work must carry prominent notices stating that you modified
it, and giving a relevant date.
b) The work must carry prominent notices stating that it is
released under this License and any conditions added under section
7. This requirement modifies the requirement in section 4 to
"keep intact all notices".
c) You must license the entire work, as a whole, under this
License to anyone who comes into possession of a copy. This
License will therefore apply, along with any applicable section 7
additional terms, to the whole of the work, and all its parts,
regardless of how they are packaged. This License gives no
permission to license the work in any other way, but it does not
invalidate such permission if you have separately received it.
d) If the work has interactive user interfaces, each must display
Appropriate Legal Notices; however, if the Program has interactive
interfaces that do not display Appropriate Legal Notices, your
work need not make them do so.
A compilation of a covered work with other separate and independent
works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program,
in or on a volume of a storage or distribution medium, is called an
"aggregate" if the compilation and its resulting copyright are not
used to limit the access or legal rights of the compilation's users
beyond what the individual works permit. Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.
6. Conveying Non-Source Forms.
You may convey a covered work in object code form under the terms
of sections 4 and 5, provided that you also convey the
machine-readable Corresponding Source under the terms of this License,
in one of these ways:
a) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by the
Corresponding Source fixed on a durable physical medium
customarily used for software interchange.
b) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by a
written offer, valid for at least three years and valid for as
long as you offer spare parts or customer support for that product
model, to give anyone who possesses the object code either (1) a
copy of the Corresponding Source for all the software in the
product that is covered by this License, on a durable physical
medium customarily used for software interchange, for a price no
more than your reasonable cost of physically performing this
conveying of source, or (2) access to copy the
Corresponding Source from a network server at no charge.
c) Convey individual copies of the object code with a copy of the
written offer to provide the Corresponding Source. This
alternative is allowed only occasionally and noncommercially, and
only if you received the object code with such an offer, in accord
with subsection 6b.
d) Convey the object code by offering access from a designated
place (gratis or for a charge), and offer equivalent access to the
Corresponding Source in the same way through the same place at no
further charge. You need not require recipients to copy the
Corresponding Source along with the object code. If the place to
copy the object code is a network server, the Corresponding Source
may be on a different server (operated by you or a third party)
that supports equivalent copying facilities, provided you maintain
clear directions next to the object code saying where to find the
Corresponding Source. Regardless of what server hosts the
Corresponding Source, you remain obligated to ensure that it is
available for as long as needed to satisfy these requirements.
e) Convey the object code using peer-to-peer transmission, provided
you inform other peers where the object code and Corresponding
Source of the work are being offered to the general public at no
charge under subsection 6d.
A separable portion of the object code, whose source code is excluded
from the Corresponding Source as a System Library, need not be
included in conveying the object code work.
A "User Product" is either (1) a "consumer product", which means any
tangible personal property which is normally used for personal, family,
or household purposes, or (2) anything designed or sold for incorporation
into a dwelling. In determining whether a product is a consumer product,
doubtful cases shall be resolved in favor of coverage. For a particular
product received by a particular user, "normally used" refers to a
typical or common use of that class of product, regardless of the status
of the particular user or of the way in which the particular user
actually uses, or expects or is expected to use, the product. A product
is a consumer product regardless of whether the product has substantial
commercial, industrial or non-consumer uses, unless such uses represent
the only significant mode of use of the product.
"Installation Information" for a User Product means any methods,
procedures, authorization keys, or other information required to install
and execute modified versions of a covered work in that User Product from
a modified version of its Corresponding Source. The information must
suffice to ensure that the continued functioning of the modified object
code is in no case prevented or interfered with solely because
modification has been made.
If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the
User Product is transferred to the recipient in perpetuity or for a
fixed term (regardless of how the transaction is characterized), the
Corresponding Source conveyed under this section must be accompanied
by the Installation Information. But this requirement does not apply
if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has
been installed in ROM).
The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or updates
for a work that has been modified or installed by the recipient, or for
the User Product in which it has been modified or installed. Access to a
network may be denied when the modification itself materially and
adversely affects the operation of the network or violates the rules and
protocols for communication across the network.
Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly
documented (and with an implementation available to the public in
source code form), and must require no special password or key for
unpacking, reading or copying.
7. Additional Terms.
"Additional permissions" are terms that supplement the terms of this
License by making exceptions from one or more of its conditions.
Additional permissions that are applicable to the entire Program shall
be treated as though they were included in this License, to the extent
that they are valid under applicable law. If additional permissions
apply only to part of the Program, that part may be used separately
under those permissions, but the entire Program remains governed by
this License without regard to the additional permissions.
When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of
it. (Additional permissions may be written to require their own
removal in certain cases when you modify the work.) You may place
additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission.
Notwithstanding any other provision of this License, for material you
add to a covered work, you may (if authorized by the copyright holders of
that material) supplement the terms of this License with terms:
a) Disclaiming warranty or limiting liability differently from the
terms of sections 15 and 16 of this License; or
b) Requiring preservation of specified reasonable legal notices or
author attributions in that material or in the Appropriate Legal
Notices displayed by works containing it; or
c) Prohibiting misrepresentation of the origin of that material, or
requiring that modified versions of such material be marked in
reasonable ways as different from the original version; or
d) Limiting the use for publicity purposes of names of licensors or
authors of the material; or
e) Declining to grant rights under trademark law for use of some
trade names, trademarks, or service marks; or
f) Requiring indemnification of licensors and authors of that
material by anyone who conveys the material (or modified versions of
it) with contractual assumptions of liability to the recipient, for
any liability that these contractual assumptions directly impose on
those licensors and authors.
All other non-permissive additional terms are considered "further
restrictions" within the meaning of section 10. If the Program as you
received it, or any part of it, contains a notice stating that it is
governed by this License along with a term that is a further
restriction, you may remove that term. If a license document contains
a further restriction but permits relicensing or conveying under this
License, you may add to a covered work material governed by the terms
of that license document, provided that the further restriction does
not survive such relicensing or conveying.
If you add terms to a covered work in accord with this section, you
must place, in the relevant source files, a statement of the
additional terms that apply to those files, or a notice indicating
where to find the applicable terms.
Additional terms, permissive or non-permissive, may be stated in the
form of a separately written license, or stated as exceptions;
the above requirements apply either way.
8. Termination.
You may not propagate or modify a covered work except as expressly
provided under this License. Any attempt otherwise to propagate or
modify it is void, and will automatically terminate your rights under
this License (including any patent licenses granted under the third
paragraph of section 11).
However, if you cease all violation of this License, then your
license from a particular copyright holder is reinstated (a)
provisionally, unless and until the copyright holder explicitly and
finally terminates your license, and (b) permanently, if the copyright
holder fails to notify you of the violation by some reasonable means
prior to 60 days after the cessation.
Moreover, your license from a particular copyright holder is
reinstated permanently if the copyright holder notifies you of the
violation by some reasonable means, this is the first time you have
received notice of violation of this License (for any work) from that
copyright holder, and you cure the violation prior to 30 days after
your receipt of the notice.
Termination of your rights under this section does not terminate the
licenses of parties who have received copies or rights from you under
this License. If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same
material under section 10.
9. Acceptance Not Required for Having Copies.
You are not required to accept this License in order to receive or
run a copy of the Program. Ancillary propagation of a covered work
occurring solely as a consequence of using peer-to-peer transmission
to receive a copy likewise does not require acceptance. However,
nothing other than this License grants you permission to propagate or
modify any covered work. These actions infringe copyright if you do
not accept this License. Therefore, by modifying or propagating a
covered work, you indicate your acceptance of this License to do so.
10. Automatic Licensing of Downstream Recipients.
Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and
propagate that work, subject to this License. You are not responsible
for enforcing compliance by third parties with this License.
An "entity transaction" is a transaction transferring control of an
organization, or substantially all assets of one, or subdividing an
organization, or merging organizations. If propagation of a covered
work results from an entity transaction, each party to that
transaction who receives a copy of the work also receives whatever
licenses to the work the party's predecessor in interest had or could
give under the previous paragraph, plus a right to possession of the
Corresponding Source of the work from the predecessor in interest, if
the predecessor has it or can get it with reasonable efforts.
You may not impose any further restrictions on the exercise of the
rights granted or affirmed under this License. For example, you may
not impose a license fee, royalty, or other charge for exercise of
rights granted under this License, and you may not initiate litigation
(including a cross-claim or counterclaim in a lawsuit) alleging that
any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.
11. Patents.
A "contributor" is a copyright holder who authorizes use under this
License of the Program or a work on which the Program is based. The
work thus licensed is called the contributor's "contributor version".
A contributor's "essential patent claims" are all patent claims
owned or controlled by the contributor, whether already acquired or
hereafter acquired, that would be infringed by some manner, permitted
by this License, of making, using, or selling its contributor version,
but do not include claims that would be infringed only as a
consequence of further modification of the contributor version. For
purposes of this definition, "control" includes the right to grant
patent sublicenses in a manner consistent with the requirements of
this License.
Each contributor grants you a non-exclusive, worldwide, royalty-free
patent license under the contributor's essential patent claims, to
make, use, sell, offer for sale, import and otherwise run, modify and
propagate the contents of its contributor version.
In the following three paragraphs, a "patent license" is any express
agreement or commitment, however denominated, not to enforce a patent
(such as an express permission to practice a patent or covenant not to
sue for patent infringement). To "grant" such a patent license to a
party means to make such an agreement or commitment not to enforce a
patent against the party.
If you convey a covered work, knowingly relying on a patent license,
and the Corresponding Source of the work is not available for anyone
to copy, free of charge and under the terms of this License, through a
publicly available network server or other readily accessible means,
then you must either (1) cause the Corresponding Source to be so
available, or (2) arrange to deprive yourself of the benefit of the
patent license for this particular work, or (3) arrange, in a manner
consistent with the requirements of this License, to extend the patent
license to downstream recipients. "Knowingly relying" means you have
actual knowledge that, but for the patent license, your conveying the
covered work in a country, or your recipient's use of the covered work
in a country, would infringe one or more identifiable patents in that
country that you have reason to believe are valid.
If, pursuant to or in connection with a single transaction or
arrangement, you convey, or propagate by procuring conveyance of, a
covered work, and grant a patent license to some of the parties
receiving the covered work authorizing them to use, propagate, modify
or convey a specific copy of the covered work, then the patent license
you grant is automatically extended to all recipients of the covered
work and works based on it.
A patent license is "discriminatory" if it does not include within
the scope of its coverage, prohibits the exercise of, or is
conditioned on the non-exercise of one or more of the rights that are
specifically granted under this License. You may not convey a covered
work if you are a party to an arrangement with a third party that is
in the business of distributing software, under which you make payment
to the third party based on the extent of your activity of conveying
the work, and under which the third party grants, to any of the
parties who would receive the covered work from you, a discriminatory
patent license (a) in connection with copies of the covered work
conveyed by you (or copies made from those copies), or (b) primarily
for and in connection with specific products or compilations that
contain the covered work, unless you entered into that arrangement,
or that patent license was granted, prior to 28 March 2007.
Nothing in this License shall be construed as excluding or limiting
any implied license or other defenses to infringement that may
otherwise be available to you under applicable patent law.
12. No Surrender of Others' Freedom.
If conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot convey a
covered work so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you may
not convey it at all. For example, if you agree to terms that obligate you
to collect a royalty for further conveying from those to whom you convey
the Program, the only way you could satisfy both those terms and this
License would be to refrain entirely from conveying the Program.
13. Use with the GNU Affero General Public License.
Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed
under version 3 of the GNU Affero General Public License into a single
combined work, and to convey the resulting work. The terms of this
License will continue to apply to the part which is the covered work,
but the special requirements of the GNU Affero General Public License,
section 13, concerning interaction through a network will apply to the
combination as such.
14. Revised Versions of this License.
The Free Software Foundation may publish revised and/or new versions of
the GNU General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the
Program specifies that a certain numbered version of the GNU General
Public License "or any later version" applies to it, you have the
option of following the terms and conditions either of that numbered
version or of any later version published by the Free Software
Foundation. If the Program does not specify a version number of the
GNU General Public License, you may choose any version ever published
by the Free Software Foundation.
If the Program specifies that a proxy can decide which future
versions of the GNU General Public License can be used, that proxy's
public statement of acceptance of a version permanently authorizes you
to choose that version for the Program.
Later license versions may give you additional or different
permissions. However, no additional obligations are imposed on any
author or copyright holder as a result of your choosing to follow a
later version.
15. Disclaimer of Warranty.
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. Limitation of Liability.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.
17. Interpretation of Sections 15 and 16.
If the disclaimer of warranty and limitation of liability provided
above cannot be given local legal effect according to their terms,
reviewing courts shall apply local law that most closely approximates
an absolute waiver of all civil liability in connection with the
Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
Also add information on how to contact you by electronic and paper mail.
If the program does terminal interaction, make it output a short
notice like this when it starts in an interactive mode:
<program> Copyright (C) <year> <name of author>
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, your program's commands
might be different; for a GUI interface, you would use an "about box".
You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU GPL, see
<https://www.gnu.org/licenses/>.
The GNU General Public License does not permit incorporating your program
into proprietary programs. If your program is a subroutine library, you
may consider it more useful to permit linking proprietary applications with
the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
<https://www.gnu.org/licenses/why-not-lgpl.html>.

626
app/Ally/AllyControl.cs Normal file
View File

@@ -0,0 +1,626 @@
using GHelper.Gpu.AMD;
using GHelper.Helpers;
using GHelper.Input;
using GHelper.USB;
using HidSharp;
using System.Text;
namespace GHelper.Ally
{
public enum ControllerMode : int
{
Auto = 0,
Gamepad = 1,
WASD = 2,
Mouse = 3,
Skip = -1,
}
public enum BindingZone : byte
{
DPadUpDown = 1,
DPadLeftRight = 2,
StickClick = 3,
Bumper = 4,
AB = 5,
XY = 6,
ViewMenu = 7,
M1M2 = 8,
Trigger = 9
}
public class AllyControl
{
System.Timers.Timer timer = default!;
static AmdGpuControl amdControl = new AmdGpuControl();
SettingsForm settings;
static ControllerMode _mode = ControllerMode.Auto;
static ControllerMode _applyMode = ControllerMode.Mouse;
static int _autoCount = 0;
static int fpsLimit = -1;
public const string BindA = "01-01";
public const string BindB = "01-02";
public const string BindX = "01-03";
public const string BindY = "01-04";
public const string BindLB = "01-05";
public const string BindRB = "01-06";
public const string BindLS = "01-07";
public const string BindRS = "01-08";
public const string BindDU = "01-09";
public const string BindDD = "01-0A";
public const string BindDL = "01-0B";
public const string BindDR = "01-0C";
public const string BindVB = "01-11";
public const string BindMB = "01-12";
public const string BindM1 = "02-8F";
public const string BindM2 = "02-8E";
public const string BindLT = "01-0D";
public const string BindRT = "01-0E";
public const string BindXB = "01-13";
public const string BindMouseL = "03-01";
public const string BindMouseR = "03-02";
public const string BindKBU = "02-98";
public const string BindKBD = "02-99";
public const string BindKBL = "02-9A";
public const string BindKBR = "02-9B";
public const string BindTab = "02-0D";
public const string BindEnter = "02-5A";
public const string BindBack = "02-66";
public const string BindEsc = "02-76";
public const string BindPgU = "02-96";
public const string BindPgD = "02-97";
public const string BindShift = "02-88";
public const string BindCtrl = "02-8C";
public const string BindAlt = "02-8A";
public const string BindWin = "02-82";
public const string BindTaskManager = "04-03-8C-88-76";
public const string BindCloseWindow = "04-02-8A-0C";
public const string BindBrightnessDown = "04-04-8C-88-8A-05";
public const string BindBrightnessUp = "04-04-8C-88-8A-06";
public const string BindXGM = "04-04-8C-88-8A-04";
public const string BindToggleMode = "04-04-8C-88-8A-0C";
public const string BindOverlay = "04-03-8C-88-44";
public const string BindShiftTab = "04-02-88-0D";
public const string BindAltTab = "04-02-8A-0D";
public const string BindVolUp = "05-03";
public const string BindVolDown = "05-02";
public const string BindPrintScrn = "02-C3";
public const string BindScreenshot = "04-03-82-88-1B";
public const string BindShowDesktop = "04-02-82-23";
public const string BindShowKeyboard = "05-19";
static byte[] CommandReady = new byte[] { AsusHid.INPUT_ID, 0xD1, 0x0A, 0x01 };
static byte[] CommandSave = new byte[] { AsusHid.INPUT_ID, 0xD1, 0x0F, 0x20 };
public static Dictionary<string, string> BindCodes = new Dictionary<string, string>
{
{ "", "--------" },
{ "00-00", "[ Disabled ]" },
{ BindM1, "M1" },
{ BindM2, "M2" },
{ BindA, "A" },
{ BindB, "B" },
{ BindX, "X" },
{ BindY, "Y" },
{ BindLB, "Left Bumper" },
{ BindRB, "Right Bumper" },
{ BindLS, "Left Stick Click" },
{ BindRS, "Right Stick Click" },
{ BindDU, "DPad Up" },
{ BindDD, "DPad Down" },
{ BindDL, "DPad Left" },
{ BindDR, "DPad Right" },
{ BindVB, "View Button" },
{ BindMB, "Menu Button" },
{ BindXB, "XBox/Steam" },
{ BindToggleMode, "Controller Mode" },
{ BindVolUp, "Vol Up" },
{ BindVolDown, "Vol Down" },
{ BindBrightnessUp, "Bright Up" },
{ BindBrightnessDown, "Bright Down" },
{ BindShowKeyboard, "Show Keyboard" },
{ BindShowDesktop, "Show Desktop" },
{ BindScreenshot, "Screenshot" },
{ BindOverlay, "AMD Overlay" },
{ BindTaskManager, "Task Manager" },
{ BindCloseWindow, "Close Window" },
{ BindShiftTab, "Shift-Tab" },
{ BindAltTab, "Alt-Tab" },
{ BindXGM, "XGM Toggle" },
{ BindEsc, "Esc" },
{ BindBack, "Backspace" },
{ BindTab, "Tab" },
{ BindEnter, "Enter" },
{ BindShift, "LShift" },
{ BindAlt, "LAlt" },
{ BindCtrl, "LCtl" },
{ BindWin, "WIN" },
{ BindPrintScrn, "PrntScn" },
{ BindPgU, "PgUp" },
{ BindPgD, "PgDwn" },
{ BindKBU, "UpArrow" },
{ BindKBD, "DownArrow" },
{ BindKBL, "LeftArrow" },
{ BindKBR, "RightArrow" },
{ "02-05", "F1" },
{ "02-06", "F2" },
{ "02-04", "F3" },
{ "02-0C", "F4" },
{ "02-03", "F5" },
{ "02-0B", "F6" },
{ "02-80", "F7" },
{ "02-0A", "F8" },
{ "02-01", "F9" },
{ "02-09", "F10" },
{ "02-78", "F11" },
{ "02-07", "F12" },
{ "02-0E", "`" },
{ "02-16", "1" },
{ "02-1E", "2" },
{ "02-26", "3" },
{ "02-25", "4" },
{ "02-2E", "5" },
{ "02-36", "6" },
{ "02-3D", "7" },
{ "02-3E", "8" },
{ "02-46", "9" },
{ "02-45", "0" },
{ "02-4E", "-" },
{ "02-55", "=" },
{ "02-15", "Q" },
{ "02-1D", "W" },
{ "02-24", "E" },
{ "02-2D", "R" },
{ "02-2C", "T" },
{ "02-35", "Y" },
{ "02-3C", "U" },
{ "02-44", "O" },
{ "02-4D", "P" },
{ "02-54", "[" },
{ "02-5B", "]" },
{ "02-5D", "|" },
{ "02-58", "Caps" },
{ "02-1C", "A" },
{ "02-1B", "S" },
{ "02-23", "D" },
{ "02-2B", "F" },
{ "02-34", "G" },
{ "02-33", "H" },
{ "02-3B", "J" },
{ "02-42", "k" },
{ "02-4B", "l" },
{ "02-4C", ";" },
{ "02-52", "'" },
{ "02-22", "X" },
{ "02-1A", "Z" },
{ "02-21", "C" },
{ "02-2A", "V" },
{ "02-32", "B" },
{ "02-31", "N" },
{ "02-3A", "M" },
{ "02-41", "," },
{ "02-49", "." },
{ "02-89", "RShift" },
{ "02-29", "Space" },
{ "02-8B", "RAlt" },
{ "02-84", "App menu" },
{ "02-8D", "RCtl" },
{ "02-7E", "ScrLk" },
{ "02-C2", "Insert" },
{ "02-C0", "Delete" },
{ "02-94", "Home" },
{ "02-95", "End" },
{ "02-77", "NumLock" },
{ "02-90", "NumSlash" },
{ "02-7C", "NumStar" },
{ "02-7B", "NumHyphen" },
{ "02-70", "Num0" },
{ "02-69", "Num1" },
{ "02-72", "Num2" },
{ "02-7A", "Num3" },
{ "02-6B", "Num4" },
{ "02-73", "Num5" },
{ "02-74", "Num6" },
{ "02-6C", "Num7" },
{ "02-75", "Num8" },
{ "02-7D", "Num9" },
{ "02-79", "NumPlus" },
{ "02-81", "NumEnter" },
{ "02-71", "NumPeriod" },
{ BindMouseL, "Mouse left click" },
{ BindMouseR, "Mouse right click" },
{ "03-03", "Mouse middle click" },
{ "03-04", "Mouse scroll up" },
{ "03-05", "Mouse scroll down" },
//{ "05-16", "Screenshot" },
//{ "05-1C", "Show desktop" },
{ "05-1E", "Begin recording" },
{ "05-01", "Mic off" },
};
public AllyControl(SettingsForm settingsForm)
{
if (!AppConfig.IsAlly()) return;
settings = settingsForm;
timer = new System.Timers.Timer(300);
timer.Elapsed += Timer_Elapsed;
}
private void Timer_Elapsed(object? sender, System.Timers.ElapsedEventArgs e)
{
float fps = amdControl.GetFPS();
ControllerMode newMode = (fps > 0) ? ControllerMode.Gamepad : ControllerMode.Mouse;
if (_applyMode != newMode) _autoCount++;
else _autoCount = 0;
if (_mode != ControllerMode.Auto) return;
if (_autoCount > 2)
{
_autoCount = 0;
ApplyMode(newMode);
Logger.WriteLine(fps.ToString());
}
}
public void Init()
{
if (AppConfig.IsAlly()) settings.VisualiseAlly(true);
else return;
SetMode((ControllerMode)AppConfig.Get("controller_mode", (int)ControllerMode.Auto), true);
settings.VisualiseBacklight(InputDispatcher.GetBacklight());
fpsLimit = amdControl.GetFPSLimit();
settings.VisualiseFPSLimit(fpsLimit);
}
public void ToggleFPSLimit()
{
switch (fpsLimit)
{
case 30:
fpsLimit = 45;
break;
case 45:
fpsLimit = 60;
break;
case 60:
fpsLimit = 90;
break;
case 90:
fpsLimit = 120;
break;
case 120:
fpsLimit = 240;
break;
default:
fpsLimit = 30;
break;
}
int result = amdControl.SetFPSLimit(fpsLimit);
Logger.WriteLine($"FPS Limit {fpsLimit}: {result}");
settings.VisualiseFPSLimit(fpsLimit);
}
public void ToggleBacklight()
{
InputDispatcher.SetBacklight(4, true);
settings.VisualiseBacklight(InputDispatcher.GetBacklight());
}
static private byte[] DecodeBinding(string binding = "")
{
byte[] bytes;
if (binding == "" || binding is null) return new byte[2];
try
{
bytes = AppConfig.StringToBytes(binding);
}
catch
{
return new byte[2];
}
byte[] code = new byte[10];
code[0] = bytes[0];
switch (bytes[0])
{
case 0x02:
code[2] = bytes[1];
break;
case 0x03:
code[4] = bytes[1];
break;
case 0x04:
bytes.Skip(1).ToArray().CopyTo(code, 5);
break;
case 0x05:
code[3] = bytes[1];
break;
default:
code[1] = bytes[1];
break;
}
return code;
}
static private void BindZone(BindingZone zone)
{
string KeyL1, KeyR1;
string KeyL2, KeyR2;
bool desktop = (_applyMode == ControllerMode.Mouse);
switch (zone)
{
case BindingZone.DPadUpDown:
KeyL1 = AppConfig.GetString("bind_du", desktop ? BindKBU : BindDU);
KeyR1 = AppConfig.GetString("bind_dd", desktop ? BindKBD : BindDD);
KeyL2 = AppConfig.GetString("bind2_du", BindShowKeyboard);
KeyR2 = AppConfig.GetString("bind2_dd", BindShowDesktop);
break;
case BindingZone.DPadLeftRight:
KeyL1 = AppConfig.GetString("bind_dl", desktop ? BindKBL : BindDL);
KeyR1 = AppConfig.GetString("bind_dr", desktop ? BindKBR : BindDR);
KeyL2 = AppConfig.GetString("bind2_dl", BindBrightnessDown);
KeyR2 = AppConfig.GetString("bind2_dr", BindBrightnessUp);
break;
case BindingZone.StickClick:
KeyL1 = AppConfig.GetString("bind_ls", desktop ? BindShift : BindLS);
KeyR1 = AppConfig.GetString("bind_rs", desktop ? BindMouseL : BindRS);
KeyL2 = AppConfig.GetString("bind2_ls");
KeyR2 = AppConfig.GetString("bind2_rs", BindToggleMode);
break;
case BindingZone.Bumper:
KeyL1 = AppConfig.GetString("bind_lb", desktop ? BindTab : BindLB);
KeyR1 = AppConfig.GetString("bind_rb", desktop ? BindMouseL : BindRB);
KeyL2 = AppConfig.GetString("bind2_lb");
KeyR2 = AppConfig.GetString("bind2_rb");
break;
case BindingZone.AB:
KeyL1 = AppConfig.GetString("bind_a", desktop ? BindEnter : BindA);
KeyR1 = AppConfig.GetString("bind_b", desktop ? BindEsc : BindB);
KeyL2 = AppConfig.GetString("bind2_a");
KeyR2 = AppConfig.GetString("bind2_b");
break;
case BindingZone.XY:
KeyL1 = AppConfig.GetString("bind_x", desktop ? BindPgD : BindX);
KeyR1 = AppConfig.GetString("bind_y", desktop ? BindPgU : BindY);
KeyL2 = AppConfig.GetString("bind2_x", BindScreenshot);
KeyR2 = AppConfig.GetString("bind2_y", BindOverlay);
break;
case BindingZone.ViewMenu:
KeyL1 = AppConfig.GetString("bind_vb", BindVB);
KeyR1 = AppConfig.GetString("bind_mb", BindMB);
KeyL2 = AppConfig.GetString("bind2_vb");
KeyR2 = AppConfig.GetString("bind2_mb");
break;
case BindingZone.M1M2:
KeyL1 = AppConfig.GetString("bind_m2", BindM2);
KeyR1 = AppConfig.GetString("bind_m1", BindM1);
KeyL2 = AppConfig.GetString("bind2_m2", BindM2);
KeyR2 = AppConfig.GetString("bind2_m1", BindM1);
break;
default:
KeyL1 = AppConfig.GetString("bind_trl", desktop ? BindShiftTab : BindLT);
KeyR1 = AppConfig.GetString("bind_trr", desktop ? BindMouseR : BindRT);
KeyL2 = AppConfig.GetString("bind2_trl");
KeyR2 = AppConfig.GetString("bind2_trr");
break;
}
if (KeyL1 == "" && KeyR1 == "") return;
byte[] bindings = new byte[50];
byte[] init = new byte[] { AsusHid.INPUT_ID, 0xd1, 0x02, (byte)zone, 0x2c };
init.CopyTo(bindings, 0);
DecodeBinding(KeyL1).CopyTo(bindings, 5);
DecodeBinding(KeyL2).CopyTo(bindings, 16);
DecodeBinding(KeyR1).CopyTo(bindings, 27);
DecodeBinding(KeyR2).CopyTo(bindings, 38);
//AsusHid.WriteInput(CommandReady, null);
AsusHid.WriteInput(bindings, $"B{zone}");
}
static void WakeUp()
{
AsusHid.WriteInput(Encoding.ASCII.GetBytes("ZASUS Tech.Inc."), "Init");
}
static public void SetDeadzones()
{
AsusHid.WriteInput(new byte[] { AsusHid.INPUT_ID, 0xd1, 4, 4,
(byte)AppConfig.Get("ls_min", 0),
(byte)AppConfig.Get("ls_max", 100),
(byte)AppConfig.Get("rs_min", 0),
(byte)AppConfig.Get("rs_max", 100)
}, "StickDeadzone");
AsusHid.WriteInput(new byte[] { AsusHid.INPUT_ID, 0xd1, 5, 4,
(byte)AppConfig.Get("lt_min", 0),
(byte)AppConfig.Get("lt_max", 100),
(byte)AppConfig.Get("rt_min", 0),
(byte)AppConfig.Get("rt_max", 100)
}, "TriggerDeadzone");
AsusHid.WriteInput(new byte[] { AsusHid.INPUT_ID, 0xd1, 6, 2,
(byte)AppConfig.Get("vibra", 100),
(byte)AppConfig.Get("vibra", 100)
}, "Vibration");
}
public static void ApplyXBoxStatus()
{
AsusHid.WriteInput(new byte[] { AsusHid.INPUT_ID, 0xD1, 0x0B, 0x01, AppConfig.Is("controller_disabled") ? (byte)0x02 : (byte)0x01 }, "Status");
}
public static void ApplyMode(ControllerMode applyMode = ControllerMode.Auto, bool init = false)
{
Task.Run(() =>
{
if (applyMode == ControllerMode.Skip) return;
HidStream? input = AsusHid.FindHidStream(AsusHid.INPUT_ID);
int count = 0;
while (input == null && count++ < 10)
{
input = AsusHid.FindHidStream(AsusHid.INPUT_ID);
Thread.Sleep(500);
}
if (input == null)
{
Logger.WriteLine($"Controller not found");
return;
}
if (applyMode != ControllerMode.Auto) _applyMode = applyMode;
if (init)
{
WakeUp();
InputDispatcher.SetBacklightAuto(true);
}
AsusHid.WriteInput(new byte[] { AsusHid.INPUT_ID, 0xD1, 0x01, 0x01, (byte)_applyMode }, "Controller");
//AsusHid.WriteInput(CommandSave, null);
BindZone(BindingZone.M1M2);
BindZone(BindingZone.DPadUpDown);
BindZone(BindingZone.DPadLeftRight);
BindZone(BindingZone.StickClick);
BindZone(BindingZone.Bumper);
BindZone(BindingZone.AB);
BindZone(BindingZone.XY);
BindZone(BindingZone.ViewMenu);
BindZone(BindingZone.Trigger);
AsusHid.WriteInput(CommandSave, null);
SetDeadzones();
});
}
private void SetMode(ControllerMode mode, bool init = false)
{
_mode = mode;
AppConfig.Set("controller_mode", (int)mode);
ApplyMode(mode, init);
if (mode == ControllerMode.Auto)
{
amdControl.StartFPS();
timer.Start();
}
else
{
timer.Stop();
amdControl.StopFPS();
}
settings.VisualiseController(mode);
}
public void ToggleModeHotkey()
{
if (_applyMode == ControllerMode.Gamepad)
{
SetMode(ControllerMode.Mouse);
Program.toast.RunToast("Mouse", ToastIcon.Controller);
}
else
{
SetMode(ControllerMode.Gamepad);
Program.toast.RunToast("Gamepad", ToastIcon.Controller);
}
}
public void ToggleMode()
{
switch (_mode)
{
case ControllerMode.Auto:
SetMode(ControllerMode.Gamepad);
break;
case ControllerMode.Gamepad:
SetMode(ControllerMode.Mouse);
break;
case ControllerMode.Mouse:
SetMode(ControllerMode.Skip);
break;
case ControllerMode.Skip:
SetMode(ControllerMode.Auto);
break;
}
}
}
}

View File

@@ -4,13 +4,12 @@ using Starlight.AnimeMatrix;
using System.Diagnostics;
using System.Drawing.Drawing2D;
using System.Drawing.Imaging;
using System.IO;
using System.Timers;
namespace GHelper.AnimeMatrix
{
public class AniMatrixControl
public class AniMatrixControl : NAudio.CoreAudioApi.Interfaces.IMMNotificationClient
{
SettingsForm settings;
@@ -20,6 +19,8 @@ namespace GHelper.AnimeMatrix
double[]? AudioValues;
WasapiCapture? AudioDevice;
string? AudioDeviceId;
private MMDeviceEnumerator? AudioDeviceEnum;
public bool IsValid => device != null;
@@ -67,49 +68,51 @@ namespace GHelper.AnimeMatrix
StopMatrixTimer();
StopMatrixAudio();
try
Task.Run(() =>
{
device.SetProvider();
}
catch (Exception ex)
{
Logger.WriteLine(ex.Message);
return;
}
if (wakeUp && AppConfig.ContainsModel("401")) device.WakeUp();
if (brightness == 0 || (auto && SystemInformation.PowerStatus.PowerLineStatus != PowerLineStatus.Online))
{
device.SetDisplayState(false);
device.SetDisplayState(false); // some devices are dumb
Logger.WriteLine("Matrix Off");
}
else
{
device.SetDisplayState(true);
device.SetBrightness((BrightnessMode)brightness);
switch (running)
try
{
case 2:
SetMatrixPicture(AppConfig.GetString("matrix_picture"));
break;
case 3:
SetMatrixClock();
break;
case 4:
SetMatrixAudio();
break;
default:
device.SetBuiltInAnimation(true, animation);
Logger.WriteLine("Matrix builtin " + animation.AsByte);
break;
device.SetProvider();
}
catch (Exception ex)
{
Logger.WriteLine(ex.Message);
return;
}
//mat.SetBrightness((BrightnessMode)brightness);
}
if (wakeUp && AppConfig.ContainsModel("401")) device.WakeUp();
if (brightness == 0 || (auto && SystemInformation.PowerStatus.PowerLineStatus != PowerLineStatus.Online))
{
device.SetDisplayState(false);
device.SetDisplayState(false); // some devices are dumb
Logger.WriteLine("Matrix Off");
}
else
{
device.SetDisplayState(true);
device.SetBrightness((BrightnessMode)brightness);
switch (running)
{
case 2:
SetMatrixPicture(AppConfig.GetString("matrix_picture"));
break;
case 3:
SetMatrixClock();
break;
case 4:
SetMatrixAudio();
break;
default:
device.SetBuiltInAnimation(true, animation);
Logger.WriteLine("Matrix builtin " + animation.AsByte);
break;
}
}
});
}
private void StartMatrixTimer(int interval = 100)
@@ -167,6 +170,9 @@ namespace GHelper.AnimeMatrix
Logger.WriteLine(ex.ToString());
}
}
AudioDeviceId = null;
AudioDeviceEnum?.Dispose();
}
void SetMatrixAudio()
@@ -179,10 +185,13 @@ namespace GHelper.AnimeMatrix
try
{
using (var enumerator = new MMDeviceEnumerator())
using (MMDevice device = enumerator.GetDefaultAudioEndpoint(DataFlow.Render, Role.Console))
AudioDeviceEnum = new MMDeviceEnumerator();
AudioDeviceEnum.RegisterEndpointNotificationCallback(this);
using (MMDevice device = AudioDeviceEnum.GetDefaultAudioEndpoint(DataFlow.Render, Role.Console))
{
AudioDevice = new WasapiLoopbackCapture(device);
AudioDeviceId = device.ID;
WaveFormat fmt = AudioDevice.WaveFormat;
AudioValues = new double[fmt.SampleRate / 1000];
@@ -347,10 +356,13 @@ namespace GHelper.AnimeMatrix
int matrixX = AppConfig.Get("matrix_x", 0);
int matrixY = AppConfig.Get("matrix_y", 0);
int matrixZoom = AppConfig.Get("matrix_zoom", 100);
int matrixContrast = AppConfig.Get("matrix_contrast", 100);
int matrixSpeed = AppConfig.Get("matrix_speed", 50);
MatrixRotation rotation = (MatrixRotation)AppConfig.Get("matrix_rotation", 0);
MatrixRotation rotation = (MatrixRotation)AppConfig.Get("matrix_rotation", 0);
InterpolationMode matrixQuality = (InterpolationMode)AppConfig.Get("matrix_quality", 0);
@@ -368,10 +380,10 @@ namespace GHelper.AnimeMatrix
image.SelectActiveFrame(dimension, i);
if (rotation == MatrixRotation.Planar)
device.GenerateFrame(image, matrixZoom, matrixX, matrixY, matrixQuality);
device.GenerateFrame(image, matrixZoom, matrixX, matrixY, matrixQuality, matrixContrast);
else
device.GenerateFrameDiagonal(image, matrixZoom, matrixX, matrixY, matrixQuality);
device.GenerateFrameDiagonal(image, matrixZoom, matrixX, matrixY, matrixQuality, matrixContrast);
device.AddFrame();
}
@@ -385,15 +397,57 @@ namespace GHelper.AnimeMatrix
else
{
if (rotation == MatrixRotation.Planar)
device.GenerateFrame(image, matrixZoom, matrixX, matrixY, matrixQuality);
device.GenerateFrame(image, matrixZoom, matrixX, matrixY, matrixQuality, matrixContrast);
else
device.GenerateFrameDiagonal(image, matrixZoom, matrixX, matrixY, matrixQuality);
device.GenerateFrameDiagonal(image, matrixZoom, matrixX, matrixY, matrixQuality, matrixContrast);
device.Present();
}
}
public void OnDeviceStateChanged(string deviceId, DeviceState newState)
{
}
public void OnDeviceAdded(string pwstrDeviceId)
{
}
public void OnDeviceRemoved(string deviceId)
{
}
public void OnDefaultDeviceChanged(DataFlow flow, Role role, string defaultDeviceId)
{
if (AudioDeviceId == defaultDeviceId)
{
//We already caputre this device. No need to re-initialize
return;
}
int running = AppConfig.Get("matrix_running");
if (flow != DataFlow.Render || role != Role.Console || running != 4)
{
return;
}
//Restart audio if default audio changed
Logger.WriteLine("Matrix Audio: Default Output changed to " + defaultDeviceId);
//Already set the device here. Otherwise this will be called multiple times in a short succession and causes a crash due to dispose during initalization.
AudioDeviceId = defaultDeviceId;
//Delay is required or it will deadlock on dispose.
Task.Delay(50).ContinueWith(t => SetMatrixAudio());
}
public void OnPropertyValueChanged(string pwstrDeviceId, PropertyKey key)
{
}
}
}

View File

@@ -3,7 +3,6 @@
using GHelper.AnimeMatrix.Communication;
using System.Drawing.Drawing2D;
using System.Drawing.Text;
using System.Management;
using System.Text;
namespace Starlight.AnimeMatrix
@@ -107,9 +106,7 @@ namespace Starlight.AnimeMatrix
public AnimeMatrixDevice() : base(0x0B05, 0x193B, 640)
{
string model = GetModel();
if (model.Contains("401"))
if (AppConfig.ContainsModel("401"))
{
_model = AnimeType.GA401;
@@ -124,7 +121,7 @@ namespace Starlight.AnimeMatrix
LedStart = 1;
}
if (model.Contains("GU604"))
if (AppConfig.ContainsModel("GU604"))
{
_model = AnimeType.GU604;
@@ -154,18 +151,6 @@ namespace Starlight.AnimeMatrix
System.Runtime.InteropServices.Marshal.FreeCoTaskMem(fontPtr);
}
public string GetModel()
{
using (var searcher = new ManagementObjectSearcher(@"Select * from Win32_ComputerSystem"))
{
foreach (var process in searcher.Get())
return process["Model"].ToString();
}
return null;
}
public byte[] GetBuffer()
{
return _displayBuffer;
@@ -293,7 +278,7 @@ namespace Starlight.AnimeMatrix
if (x >= FirstX(y) && x < Width())
SetLedLinear(RowToLinearAddress(y) - FirstX(y) + x, value);
}
}
public void SetLedDiagonal(int x, int y, byte color, int deltaX = 0, int deltaY = 0)
{
@@ -302,6 +287,9 @@ namespace Starlight.AnimeMatrix
int plX = (x - y) / 2;
int plY = x + y;
if (x - y == -1) plX = -1;
SetLedPlanar(plX, plY, color);
}
@@ -399,21 +387,21 @@ namespace Starlight.AnimeMatrix
}
private void SetBitmapDiagonal(Bitmap bmp, int deltaX = 0, int deltaY = 0)
private void SetBitmapDiagonal(Bitmap bmp, int deltaX = 0, int deltaY = 0, int contrast = 100)
{
for (int y = 0; y < bmp.Height; y++)
{
for (int x = 0; x < bmp.Width; x++)
{
var pixel = bmp.GetPixel(x, y);
var color = (pixel.R + pixel.G + pixel.B) / 3;
var color = Math.Min((pixel.R + pixel.G + pixel.B) * contrast / 300, 255);
if (color > 20)
SetLedDiagonal(x, y, (byte)color, deltaX + (FullRows / 2) + 1, deltaY - (FullRows / 2) - 1);
SetLedDiagonal(x, y, (byte)color, deltaX, deltaY - (FullRows / 2) - 1);
}
}
}
private void SetBitmapLinear(Bitmap bmp)
private void SetBitmapLinear(Bitmap bmp, int contrast = 100)
{
for (int y = 0; y < bmp.Height; y++)
{
@@ -421,7 +409,7 @@ namespace Starlight.AnimeMatrix
if (x % 2 == y % 2)
{
var pixel = bmp.GetPixel(x, y);
var color = (pixel.R + pixel.G + pixel.B) / 3;
var color = Math.Min((pixel.R + pixel.G + pixel.B) * contrast / 300, 255);
if (color > 20)
SetLedPlanar(x / 2, y, (byte)color);
}
@@ -431,7 +419,7 @@ namespace Starlight.AnimeMatrix
public void Text(string text, float fontSize = 10, int x = 0, int y = 0)
{
int width = MaxRows - FullRows;
int width = MaxRows;
int height = MaxRows - FullRows;
int textHeight, textWidth;
@@ -452,7 +440,7 @@ namespace Starlight.AnimeMatrix
}
}
SetBitmapDiagonal(bmp, (width - textWidth), height);
SetBitmapDiagonal(bmp, 5, height);
}
}
@@ -468,7 +456,7 @@ namespace Starlight.AnimeMatrix
Present();
}
public void GenerateFrame(Image image, float zoom = 100, int panX = 0, int panY = 0, InterpolationMode quality = InterpolationMode.Default)
public void GenerateFrame(Image image, float zoom = 100, int panX = 0, int panY = 0, InterpolationMode quality = InterpolationMode.Default, int contrast = 100)
{
int width = MaxColumns / 2 * 6;
int height = MaxRows;
@@ -495,14 +483,17 @@ namespace Starlight.AnimeMatrix
}
Clear();
SetBitmapLinear(bmp);
SetBitmapLinear(bmp, contrast);
}
}
public void GenerateFrameDiagonal(Image image, float zoom = 100, int panX = 0, int panY = 0, InterpolationMode quality = InterpolationMode.Default)
public void GenerateFrameDiagonal(Image image, float zoom = 100, int panX = 0, int panY = 0, InterpolationMode quality = InterpolationMode.Default, int contrast = 100)
{
int width = MaxRows - FullRows;
int height = MaxRows - FullRows*2;
int width = MaxRows + FullRows;
int height = MaxColumns + FullRows;
if ((image.Height / image.Width) > (height / width)) height = MaxColumns;
float scale;
using (Bitmap bmp = new Bitmap(width, height))
@@ -518,12 +509,12 @@ namespace Starlight.AnimeMatrix
graph.CompositingQuality = CompositingQuality.HighQuality;
graph.SmoothingMode = SmoothingMode.AntiAlias;
graph.DrawImage(image, width - scaleWidth, height - scaleHeight, scaleWidth, scaleHeight);
graph.DrawImage(image, (width - scaleWidth) / 2, height - scaleHeight, scaleWidth, scaleHeight);
}
Clear();
SetBitmapDiagonal(bmp, -panX, height + panY);
SetBitmapDiagonal(bmp, -panX, height + panY, contrast);
}
}

View File

@@ -1,5 +1,4 @@
using GHelper.Mode;
using System.Diagnostics;
using System.Management;
using System.Text.Json;
@@ -13,6 +12,7 @@ public static class AppConfig
private static string? _bios;
private static Dictionary<string, object> config = new Dictionary<string, object>();
private static System.Timers.Timer timer = new System.Timers.Timer(1000);
static AppConfig()
{
@@ -24,7 +24,8 @@ public static class AppConfig
if (File.Exists(startupPath + configName))
{
configFile = startupPath + configName;
} else
}
else
{
configFile = appPath + configName;
}
@@ -51,8 +52,39 @@ public static class AppConfig
Init();
}
timer.Elapsed += Timer_Elapsed;
}
private static void Timer_Elapsed(object? sender, System.Timers.ElapsedEventArgs e)
{
timer.Stop();
string jsonString = JsonSerializer.Serialize(config, new JsonSerializerOptions { WriteIndented = true });
var backup = configFile + ".bak";
try
{
File.WriteAllText(backup, jsonString);
}
catch (Exception ex)
{
Logger.WriteLine(ex.ToString());
return;
}
Thread.Sleep(500);
if (File.ReadAllText(backup).Contains("}"))
{
File.Copy(backup, configFile, true);
}
else
{
Logger.WriteLine("Error writing config");
}
}
public static string GetModel()
{
@@ -156,15 +188,7 @@ public static class AppConfig
private static void Write()
{
string jsonString = JsonSerializer.Serialize(config, new JsonSerializerOptions { WriteIndented = true });
try
{
File.WriteAllText(configFile, jsonString);
}
catch (Exception e)
{
Debug.Write(e.ToString());
}
timer.Start();
}
public static void Set(string name, int value)
@@ -320,6 +344,11 @@ public static class AppConfig
return ContainsModel("TUF");
}
public static bool IsProArt()
{
return ContainsModel("ProArt");
}
public static bool IsVivobook()
{
return ContainsModel("Vivobook");
@@ -328,7 +357,7 @@ public static class AppConfig
// Devices with bugged bios command to change brightness
public static bool SwappedBrightness()
{
return ContainsModel("FA506IH") || ContainsModel("FA506IC") || ContainsModel("FX506LU") || ContainsModel("FX506IC") || ContainsModel("FX506LH");
return ContainsModel("FA506IH") || ContainsModel("FA506IC") || ContainsModel("FX506LU") || ContainsModel("FX506IC") || ContainsModel("FX506LH") || ContainsModel("FA506IV");
}
@@ -345,17 +374,22 @@ public static class AppConfig
public static bool IsSingleColor()
{
return ContainsModel("GA401") || ContainsModel("FX517Z") || ContainsModel("FX516P") || ContainsModel("X13");
return ContainsModel("GA401") || ContainsModel("FX517Z") || ContainsModel("FX516P") || ContainsModel("X13") || IsARCNM() || ContainsModel("GA502IU");
}
public static bool IsStrix()
{
return ContainsModel("Strix") || ContainsModel("Scar");
return ContainsModel("Strix") || ContainsModel("Scar") || ContainsModel("G703G");
}
public static bool IsStrixLimitedRGB()
{
return ContainsModel("G614JV") || ContainsModel("G614JZ") || ContainsModel("G512LI") || ContainsModel("G513RS") || ContainsModel("G513RM") || ContainsModel("G713PV") || ContainsModel("G513IE") || ContainsModel("G513QM");
return (ContainsModel("G614JV") || ContainsModel("G614JZ") || ContainsModel("G512LI") || ContainsModel("G513R") || ContainsModel("G713PV") || ContainsModel("G513IE") || ContainsModel("G713RC") || ContainsModel("G513QM") || ContainsModel("G531G")) && !Is("per_key_rgb");
}
public static bool IsNoDirectRGB()
{
return ContainsModel("GA503") || ContainsModel("G533Q");
}
public static bool IsStrixNumpad()
@@ -378,6 +412,20 @@ public static class AppConfig
return ContainsModel("X13");
}
public static bool IsG14AMD()
{
return ContainsModel("GA402R");
}
public static bool DynamicBoost5()
{
return ContainsModel("GZ301ZE");
}
public static bool DynamicBoost15()
{
return ContainsModel("FX507ZC4");
}
public static bool IsAdvantageEdition()
{
@@ -386,7 +434,7 @@ public static class AppConfig
public static bool NoAutoUltimate()
{
return ContainsModel("G614") || ContainsModel("GU604") || ContainsModel("FX507") || ContainsModel("G513");
return ContainsModel("G614") || ContainsModel("GU604") || ContainsModel("FX507") || ContainsModel("G513") || ContainsModel("FA617") || ContainsModel("G834");
}
@@ -404,13 +452,14 @@ public static class AppConfig
public static bool IsFanScale()
{
if (!ContainsModel("GU604")) return false;
if (!ContainsModel("GU604")) return false;
try
{
var (bios, model) = GetBiosAndModel();
return (Int32.Parse(bios) < 312);
} catch
}
catch
{
return false;
}
@@ -426,11 +475,6 @@ public static class AppConfig
return ContainsModel("FX507") || ContainsModel("FX517") || ContainsModel("FX707");
}
public static bool IsGPUFixNeeded()
{
return ContainsModel("GA402X") || ContainsModel("GV302") || ContainsModel("GV301") || ContainsModel("GZ301") || ContainsModel("FX506") || ContainsModel("GU603V") || ContainsModel("GU603Z");
}
public static bool IsGPUFix()
{
return Is("gpu_fix") || (ContainsModel("GA402X") && IsNotFalse("gpu_fix"));
@@ -451,4 +495,18 @@ public static class AppConfig
return ContainsModel("FA507");
}
public static bool IsIntelHX()
{
return ContainsModel("G814") || ContainsModel("G614") || ContainsModel("G834") || ContainsModel("G634");
}
public static bool IsNewAura()
{
return ContainsModel("G834") || ContainsModel("G614") || ContainsModel("G834") || ContainsModel("G634");
}
public static bool IsASUS()
{
return ContainsModel("ROG") || ContainsModel("TUF") || ContainsModel("Vivobook") || ContainsModel("Zenbook");
}
}

View File

@@ -1,5 +1,4 @@
using FftSharp;
using GHelper;
using GHelper;
using GHelper.USB;
using System.Management;
using System.Runtime.InteropServices;
@@ -37,7 +36,8 @@ public class AsusACPI
const uint INIT = 0x54494E49;
public const uint UniversalControl = 0x00100021;
public const int Airplane = 0x88;
public const int KB_Light_Up = 0xc4;
public const int KB_Light_Down = 0xc5;
public const int Brightness_Down = 0x10;
@@ -58,6 +58,8 @@ public class AsusACPI
public const uint GPU_Fan = 0x00110014;
public const uint Mid_Fan = 0x00110031;
public const uint BatteryDischarge = 0x0012005A;
public const uint PerformanceMode = 0x00120075; // Performance modes
public const uint VivoBookMode = 0x00110019; // Vivobook performance modes
@@ -70,8 +72,10 @@ public class AsusACPI
public const uint GPUMuxVivo = 0x00090026;
public const uint BatteryLimit = 0x00120057;
public const uint ScreenOverdrive = 0x00050019;
public const uint ScreenMiniled = 0x0005001E;
public const uint ScreenMiniled1 = 0x0005001E;
public const uint ScreenMiniled2 = 0x0005002E;
public const uint DevsCPUFan = 0x00110022;
public const uint DevsGPUFan = 0x00110023;
@@ -83,10 +87,10 @@ public class AsusACPI
public const int Temp_CPU = 0x00120094;
public const int Temp_GPU = 0x00120097;
public const int PPT_TotalA0 = 0x001200A0; // SPL (Total limit for all-AMD models) / PL1
public const int PPT_APUA0 = 0x001200A0; // sPPT (slow boost limit) / PL2
public const int PPT_EDCA1 = 0x001200A1; // CPU EDC
public const int PPT_TDCA2 = 0x001200A2; // CPU TDC
public const int PPT_APUA3 = 0x001200A3; // sPPT (long boost limit) / PL2
public const int PPT_APUA3 = 0x001200A3; // SPL (sustained limit) / PL1
public const int PPT_CPUB0 = 0x001200B0; // CPU PPT on 2022 (PPT_LIMIT_APU)
public const int PPT_CPUB1 = 0x001200B1; // Total PPT on 2022 (PPT_LIMIT_SLOW)
@@ -129,14 +133,14 @@ public class AsusACPI
public const int MinTotal = 5;
public static int MaxTotal = 150;
public static int DefaultTotal = 125;
public static int DefaultTotal = 80;
public const int MinCPU = 5;
public const int MaxCPU = 100;
public const int DefaultCPU = 80;
public const int MinGPUBoost = 5;
public const int MaxGPUBoost = 25;
public static int MaxGPUBoost = 25;
public const int MinGPUTemp = 75;
public const int MaxGPUTemp = 87;
@@ -186,6 +190,7 @@ public class AsusACPI
private static extern bool WaitForSingleObject(IntPtr hHandle, int dwMilliseconds);
private IntPtr eventHandle;
private bool _connected = false;
// still works only with asus optimization service on , if someone knows how to get ACPI events from asus without that - let me know
public void RunListener()
@@ -212,25 +217,45 @@ public class AsusACPI
}
}
public bool IsConnected()
{
return _connected;
}
public AsusACPI()
{
handle = CreateFile(
FILE_NAME,
GENERIC_READ | GENERIC_WRITE,
FILE_SHARE_READ | FILE_SHARE_WRITE,
IntPtr.Zero,
OPEN_EXISTING,
FILE_ATTRIBUTE_NORMAL,
IntPtr.Zero
);
if (handle == new IntPtr(-1))
try
{
throw new Exception("Can't connect to ACPI");
handle = CreateFile(
FILE_NAME,
GENERIC_READ | GENERIC_WRITE,
FILE_SHARE_READ | FILE_SHARE_WRITE,
IntPtr.Zero,
OPEN_EXISTING,
FILE_ATTRIBUTE_NORMAL,
IntPtr.Zero
);
//handle = new IntPtr(-1);
//throw new Exception("ERROR");
_connected = true;
}
catch (Exception ex)
{
Logger.WriteLine($"Can't connect to ACPI: {ex.Message}");
}
if (AppConfig.IsAdvantageEdition())
{
MaxTotal = 250;
}
if (AppConfig.IsG14AMD())
{
DefaultTotal = 125;
}
if (AppConfig.IsAdvantageEdition()) MaxTotal = 250;
if (AppConfig.IsX13())
{
MaxTotal = 75;
@@ -243,6 +268,20 @@ public class AsusACPI
DefaultTotal = 30;
}
if (AppConfig.IsIntelHX())
{
MaxTotal = 175;
}
if (AppConfig.DynamicBoost5())
{
MaxGPUBoost = 5;
}
if (AppConfig.DynamicBoost15())
{
MaxGPUBoost = 15;
}
}
public void Control(uint dwIoControlCode, byte[] lpInBuffer, byte[] lpOutBuffer)
@@ -342,6 +381,23 @@ public class AsusACPI
return CallMethod(DSTS, args);
}
public decimal? GetBatteryDischarge()
{
var buffer = DeviceGetBuffer(BatteryDischarge);
if (buffer[2] > 0)
{
buffer[2] = 0;
return (decimal)BitConverter.ToInt16(buffer, 0) / 100;
}
else
{
return null;
}
}
public int SetGPUEco(int eco)
{
int ecoFlag = DeviceGet(GPUEco);
@@ -382,6 +438,7 @@ public class AsusACPI
return fan;
}
public int SetFanRange(AsusFan device, byte[] curve)
{
@@ -390,7 +447,7 @@ public class AsusACPI
byte min = (byte)(curve[8] * 255 / 100);
byte max = (byte)(curve[15] * 255 / 100);
byte[] range = { min, max};
byte[] range = { min, max };
int result;
switch (device)
@@ -422,7 +479,7 @@ public class AsusACPI
// it seems to be a bug, when some old model's bios can go nuts if fan is set to 100%
for (int i = 8; i < curve.Length; i++) curve[i] = (byte)(Math.Max((byte)0, Math.Min((byte)100, curve[i])) * fanScale / 100);
for (int i = 8; i < curve.Length; i++) curve[i] = (byte)(Math.Max((byte)0, Math.Min((byte)100, curve[i])) * fanScale / 100);
switch (device)
{
@@ -483,7 +540,7 @@ public class AsusACPI
for (int i = 0; i < 8; i++)
{
if (curve[i] == old) curve[i]++; // preventing 2 points in same spot from default asus profiles
if (curve[i] <= old) curve[i] = (byte)Math.Min(100, old + 6); // preventing 2 points in same spot from default asus profiles
points[curve[i]] = curve[i + 8];
old = curve[i];
}
@@ -519,15 +576,20 @@ public class AsusACPI
public bool IsXGConnected()
{
//return true;
return DeviceGet(GPUXGConnected) == 1;
}
public bool IsAllAmdPPT()
{
//return false;
return DeviceGet(PPT_CPUB0) >= 0 && DeviceGet(PPT_GPUC0) < 0;
}
public bool IsNVidiaGPU()
{
return (!IsAllAmdPPT() && Program.acpi.DeviceGet(GPUEco) >= 0 && !AppConfig.IsAlly());
}
public void SetAPUMem(int memory = 4)
{
if (memory < 0 || memory > 8) return;
@@ -575,7 +637,7 @@ public class AsusACPI
switch (memory)
{
case 256:
case 256:
return 0;
case 258:
return 1;
@@ -626,7 +688,7 @@ public class AsusACPI
{
byte[] setting = new byte[6];
setting[0] = (byte)0xb4;
setting[1] = (byte)mode;
setting[2] = color.R;

File diff suppressed because it is too large Load Diff

View File

@@ -55,6 +55,9 @@ namespace GHelper
buttonLightingZoneAll.Text = Properties.Strings.AuraZoneAll;
buttonLightingZoneDock.Text = Properties.Strings.AuraZoneDock;
buttonExport.Text = Properties.Strings.Export;
buttonImport.Text = Properties.Strings.Import;
InitTheme();
this.Text = mouse.GetDisplayName();
@@ -863,7 +866,14 @@ namespace GHelper
private void VisualizeCurrentDPIProfile()
{
if (mouse.DpiProfile > mouse.DpiSettings.Count())
{
Logger.WriteLine($"Wrong mouse DPI: {mouse.DpiProfile}");
return;
}
AsusMouseDPI dpi = mouse.DpiSettings[mouse.DpiProfile - 1];
if (dpi is null)
{
return;
@@ -896,5 +906,64 @@ namespace GHelper
{
RefreshMouseData();
}
private void buttonImport_Click(object sender, EventArgs e)
{
byte[] data = null;
Thread t = new Thread(() =>
{
OpenFileDialog ofd = new OpenFileDialog();
ofd.Filter = "G-Helper Mouse Profile V1 (*.gmp1)|*.gmp1";
if (ofd.ShowDialog() == DialogResult.OK)
{
data = File.ReadAllBytes(ofd.FileName);
}
});
t.SetApartmentState(ApartmentState.STA);
t.Start();
t.Join();
if (data == null)
{
//User aborted loading
return;
}
if (!mouse.Import(data))
{
Logger.WriteLine("Failed to import mouse profile");
MessageBox.Show(Properties.Strings.MouseImportFailed);
}
else
{
if (!mouse.IsLightingZoned())
{
visibleZone = LightingZone.All;
}
RefreshMouseData();
}
}
private void buttonExport_Click(object sender, EventArgs e)
{
Thread t = new Thread(() =>
{
SaveFileDialog sfd = new SaveFileDialog();
sfd.Filter = "G-Helper Mouse Profile V1 (*.gmp1)|*.gmp1";
if (sfd.ShowDialog() == DialogResult.OK)
{
File.WriteAllBytes(sfd.FileName, mouse.Export());
}
});
t.SetApartmentState(ApartmentState.STA);
t.Start();
t.Join();
}
}
}

View File

@@ -1,4 +1,5 @@
using System.Diagnostics;
using GHelper.Helpers;
using System.Diagnostics;
using System.Net;
using System.Reflection;
using System.Text.Json;
@@ -107,6 +108,7 @@ namespace GHelper.AutoUpdate
string exeLocation = Application.ExecutablePath;
string exeDir = Path.GetDirectoryName(exeLocation);
string exeName = Path.GetFileName(exeLocation);
string zipLocation = exeDir + "\\" + zipName;
using (WebClient client = new WebClient())
@@ -114,17 +116,30 @@ namespace GHelper.AutoUpdate
client.DownloadFile(uri, zipLocation);
Logger.WriteLine(requestUri);
Logger.WriteLine(zipLocation);
Logger.WriteLine(exeLocation);
Logger.WriteLine(exeDir);
Logger.WriteLine(zipName);
Logger.WriteLine(exeName);
var cmd = new Process();
cmd.StartInfo.UseShellExecute = false;
cmd.StartInfo.CreateNoWindow = true;
cmd.StartInfo.FileName = "powershell";
cmd.StartInfo.Arguments = $"Start-Sleep -Seconds 1; Expand-Archive {zipLocation} -DestinationPath {exeDir} -Force; Remove-Item {zipLocation} -Force; {exeLocation}";
cmd.Start();
string command = $"$ErrorActionPreference = \"Stop\"; Wait-Process -Name \"GHelper\"; Expand-Archive \"{zipName}\" -DestinationPath . -Force; Remove-Item \"{zipName}\" -Force; \".\\{exeName}\"; ";
Logger.WriteLine(command);
Application.Exit();
try
{
var cmd = new Process();
cmd.StartInfo.WorkingDirectory = exeDir;
cmd.StartInfo.UseShellExecute = false;
cmd.StartInfo.CreateNoWindow = true;
cmd.StartInfo.FileName = "powershell";
cmd.StartInfo.Arguments = command;
if (ProcessHelper.IsUserAdministrator()) cmd.StartInfo.Verb = "runas";
cmd.Start();
}
catch (Exception ex)
{
Logger.WriteLine(ex.Message);
}
Environment.Exit(0);
}
}

View File

@@ -19,7 +19,7 @@
public static void UnSetBatteryLimitFull()
{
AppConfig.Set("charge_full", 0);
Program.settingsForm.VisualiseBatteryFull();
Program.settingsForm.Invoke(Program.settingsForm.VisualiseBatteryFull);
}
public static void AutoBattery(bool init = false)

View File

@@ -49,19 +49,41 @@ namespace GHelper.Display
if (miniled >= 0)
{
Program.acpi.DeviceSet(AsusACPI.ScreenMiniled, miniled, "Miniled");
Debug.WriteLine("Miniled " + miniled);
if (Program.acpi.DeviceGet(AsusACPI.ScreenMiniled1) >= 0)
Program.acpi.DeviceSet(AsusACPI.ScreenMiniled1, miniled, "Miniled1");
else
Program.acpi.DeviceSet(AsusACPI.ScreenMiniled2, miniled, "Miniled2");
}
InitScreen();
}
public void ToogleMiniled()
public int ToogleMiniled()
{
int miniled = (Program.acpi.DeviceGet(AsusACPI.ScreenMiniled) == 1) ? 0 : 1;
int miniled1 = Program.acpi.DeviceGet(AsusACPI.ScreenMiniled1);
int miniled2 = Program.acpi.DeviceGet(AsusACPI.ScreenMiniled2);
Logger.WriteLine($"MiniledToggle: {miniled1} {miniled2}");
int miniled;
if (miniled1 >= 0)
{
miniled = (miniled1 == 1) ? 0 : 1;
} else
{
switch (miniled2)
{
case 1: miniled = 2; break;
case 2: miniled = 0; break;
default: miniled = 1; break;
}
}
AppConfig.Set("miniled", miniled);
SetScreen(-1, -1, miniled);
return miniled;
}
public void InitScreen()
@@ -75,12 +97,16 @@ namespace GHelper.Display
bool overdriveSetting = !AppConfig.Is("no_overdrive");
int overdrive = Program.acpi.DeviceGet(AsusACPI.ScreenOverdrive);
int miniled = Program.acpi.DeviceGet(AsusACPI.ScreenMiniled);
int miniled1 = Program.acpi.DeviceGet(AsusACPI.ScreenMiniled1);
int miniled2 = Program.acpi.DeviceGet(AsusACPI.ScreenMiniled2);
int miniled = (miniled1 >= 0) ? miniled1 : miniled2;
bool hdr = false;
if (miniled >= 0)
{
Logger.WriteLine($"Miniled: {miniled1} {miniled2}");
AppConfig.Set("miniled", miniled);
hdr = ScreenCCD.GetHDRStatus();
}
@@ -99,7 +125,8 @@ namespace GHelper.Display
maxFrequency: maxFrequency,
overdrive: overdrive,
overdriveSetting: overdriveSetting,
miniled: miniled,
miniled1: miniled1,
miniled2: miniled2,
hdr: hdr
);
});

21
app/Extra.Designer.cs generated
View File

@@ -148,7 +148,6 @@ namespace GHelper
//
// panelServices
//
panelServices.AccessibleName = "Asus Services";
panelServices.AccessibleRole = AccessibleRole.Grouping;
panelServices.Controls.Add(pictureService);
panelServices.Controls.Add(labelServices);
@@ -245,7 +244,6 @@ namespace GHelper
//
// panelBindings
//
panelBindings.AccessibleName = "Key Bindings";
panelBindings.AutoSize = true;
panelBindings.AutoSizeMode = AutoSizeMode.GrowAndShrink;
panelBindings.Controls.Add(tableBindings);
@@ -259,7 +257,6 @@ namespace GHelper
//
// tableBindings
//
tableBindings.AccessibleName = "Keyboard Bindings";
tableBindings.AccessibleRole = AccessibleRole.Table;
tableBindings.AutoSize = true;
tableBindings.AutoSizeMode = AutoSizeMode.GrowAndShrink;
@@ -318,7 +315,6 @@ namespace GHelper
//
// comboFNE
//
comboFNE.AccessibleName = "Fn+Numpad Action";
comboFNE.BorderColor = Color.White;
comboFNE.ButtonColor = Color.FromArgb(255, 255, 255);
comboFNE.Dock = DockStyle.Top;
@@ -375,7 +371,6 @@ namespace GHelper
//
// comboM1
//
comboM1.AccessibleName = "M1 Action";
comboM1.BorderColor = Color.White;
comboM1.ButtonColor = Color.FromArgb(255, 255, 255);
comboM1.Dock = DockStyle.Top;
@@ -400,7 +395,6 @@ namespace GHelper
//
// comboM4
//
comboM4.AccessibleName = "M4 Action";
comboM4.BorderColor = Color.White;
comboM4.ButtonColor = Color.FromArgb(255, 255, 255);
comboM4.Dock = DockStyle.Top;
@@ -414,7 +408,6 @@ namespace GHelper
//
// comboM3
//
comboM3.AccessibleName = "M3 Action";
comboM3.BorderColor = Color.White;
comboM3.ButtonColor = Color.FromArgb(255, 255, 255);
comboM3.Dock = DockStyle.Top;
@@ -483,7 +476,6 @@ namespace GHelper
//
// comboM2
//
comboM2.AccessibleName = "M2 Action";
comboM2.BorderColor = Color.White;
comboM2.ButtonColor = Color.FromArgb(255, 255, 255);
comboM2.Dock = DockStyle.Top;
@@ -508,7 +500,6 @@ namespace GHelper
//
// comboFNF4
//
comboFNF4.AccessibleName = "Fn+F4 Action";
comboFNF4.BorderColor = Color.White;
comboFNF4.ButtonColor = Color.FromArgb(255, 255, 255);
comboFNF4.Dock = DockStyle.Top;
@@ -532,7 +523,6 @@ namespace GHelper
//
// comboFNC
//
comboFNC.AccessibleName = "Fn+C Action";
comboFNC.BorderColor = Color.White;
comboFNC.ButtonColor = Color.FromArgb(255, 255, 255);
comboFNC.Dock = DockStyle.Top;
@@ -653,7 +643,6 @@ 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);
@@ -664,7 +653,6 @@ namespace GHelper
//
// 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);
@@ -693,7 +681,6 @@ namespace GHelper
//
// comboKeyboardSpeed
//
comboKeyboardSpeed.AccessibleName = "Keyboard Animation Speed";
comboKeyboardSpeed.Anchor = AnchorStyles.Top | AnchorStyles.Right;
comboKeyboardSpeed.BorderColor = Color.White;
comboKeyboardSpeed.ButtonColor = SystemColors.ControlLight;
@@ -786,7 +773,6 @@ 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);
@@ -799,7 +785,6 @@ 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);
@@ -812,7 +797,6 @@ 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);
@@ -825,7 +809,6 @@ 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);
@@ -1065,7 +1048,6 @@ namespace GHelper
//
// panelSettings
//
panelSettings.AccessibleName = "Extra Settings";
panelSettings.AccessibleRole = AccessibleRole.Grouping;
panelSettings.AutoSize = true;
panelSettings.AutoSizeMode = AutoSizeMode.GrowAndShrink;
@@ -1200,7 +1182,6 @@ namespace GHelper
//
// 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);
@@ -1247,7 +1228,6 @@ namespace GHelper
//
// comboAPU
//
comboAPU.AccessibleName = "Keyboard Animation Speed";
comboAPU.Anchor = AnchorStyles.Top | AnchorStyles.Right;
comboAPU.BorderColor = Color.White;
comboAPU.ButtonColor = SystemColors.ControlLight;
@@ -1287,6 +1267,7 @@ namespace GHelper
//
AutoScaleDimensions = new SizeF(192F, 192F);
AutoScaleMode = AutoScaleMode.Dpi;
AutoScroll = true;
AutoSize = true;
AutoSizeMode = AutoSizeMode.GrowAndShrink;
ClientSize = new Size(1013, 1515);

View File

@@ -13,7 +13,6 @@ namespace GHelper
{
ScreenControl screenControl = new ScreenControl();
ModeControl modeControl = new ModeControl();
ClamshellModeControl clamshellControl = new ClamshellModeControl();
const string EMPTY = "--------------";
@@ -45,6 +44,11 @@ namespace GHelper
customActions.Add("screenpad_up", Properties.Strings.ScreenPadUp);
}
if (AppConfig.IsAlly())
{
customActions.Add("controller", "Controller Mode");
}
switch (name)
{
case "m1":
@@ -126,6 +130,7 @@ namespace GHelper
labelBacklightTimeout.Text = Properties.Strings.BacklightTimeout;
//labelBacklightTimeoutPlugged.Text = Properties.Strings.BacklightTimeoutPlugged;
checkGPUFix.Text = Properties.Strings.EnableGPUOnShutdown;
checkNoOverdrive.Text = Properties.Strings.DisableOverdrive;
checkTopmost.Text = Properties.Strings.WindowTop;
checkUSBC.Text = Properties.Strings.OptimizedUSBC;
@@ -143,6 +148,34 @@ namespace GHelper
Text = Properties.Strings.ExtraSettings;
// Accessible Labels
panelServices.AccessibleName = Properties.Strings.AsusServicesRunning;
panelBindings.AccessibleName = Properties.Strings.KeyBindings;
tableBindings.AccessibleName = Properties.Strings.KeyBindings;
comboM1.AccessibleName = "M1 Action";
comboM2.AccessibleName = "M2 Action";
comboM3.AccessibleName = "M3 Action";
comboM4.AccessibleName = "M4 Action";
comboFNF4.AccessibleName = "Fn+F4 Action";
comboFNC.AccessibleName = "Fn+C Action";
comboFNE.AccessibleName = "Fn+Numpad Action";
numericBacklightPluggedTime.AccessibleName = Properties.Strings.BacklightTimeoutPlugged;
numericBacklightTime.AccessibleName = Properties.Strings.BacklightTimeoutBattery;
comboKeyboardSpeed.AccessibleName = Properties.Strings.LaptopBacklight + " " +Properties.Strings.AnimationSpeed;
comboAPU.AccessibleName = Properties.Strings.LaptopBacklight + " " + Properties.Strings.AnimationSpeed;
checkBoot.AccessibleName = Properties.Strings.Boot + " " + Properties.Strings.LaptopBacklight;
checkAwake.AccessibleName = Properties.Strings.Awake + " " + Properties.Strings.LaptopBacklight;
checkSleep.AccessibleName = Properties.Strings.Sleep + " " + Properties.Strings.LaptopBacklight;
checkShutdown.AccessibleName = Properties.Strings.Shutdown + " " + Properties.Strings.LaptopBacklight;
panelSettings.AccessibleName = Properties.Strings.ExtraSettings;
numericHibernateAfter.AccessibleName = Properties.Strings.HibernateAfter;
if (AppConfig.IsARCNM())
{
labelM3.Text = "FN+F6";
@@ -185,7 +218,7 @@ namespace GHelper
labelM2.Visible = comboM2.Visible = textM2.Visible = false;
// Re-label M3 and M4 and FNF4 to match the front labels.
labelM3.Text = "Ctrl Center";
labelM3.Text = "Cmd Center";
labelM4.Text = "ROG";
labelFNF4.Text = "Back Paddles";
@@ -198,6 +231,10 @@ namespace GHelper
SetKeyCombo(comboM4, textM4, "m4");
SetKeyCombo(comboFNF4, textFNF4, "paddle");
checkGpuApps.Visible = false;
checkUSBC.Visible = false;
checkAutoToggleClamshellMode.Visible = false;
checkNoOverdrive.Visible = false;
int apuMem = Program.acpi.GetAPUMem();
if (apuMem >= 0)
@@ -283,18 +320,18 @@ namespace GHelper
checkSleepLogo.CheckedChanged += CheckPower_CheckedChanged;
checkShutdownLogo.CheckedChanged += CheckPower_CheckedChanged;
if (!AppConfig.IsStrix())
if ((!AppConfig.IsStrix() && !AppConfig.IsZ13()) || AppConfig.IsStrixLimitedRGB() || AppConfig.IsARCNM())
{
labelBacklightBar.Visible = false;
checkAwakeBar.Visible = false;
checkBootBar.Visible = false;
checkSleepBar.Visible = false;
checkShutdownBar.Visible = false;
}
if (!AppConfig.IsStrixLimitedRGB())
{
labelBacklightBar.Visible = false;
checkAwakeBar.Visible = false;
checkBootBar.Visible = false;
checkSleepBar.Visible = false;
checkShutdownBar.Visible = false;
}
if ((!AppConfig.IsStrix() && !AppConfig.IsZ13()) || AppConfig.IsStrixLimitedRGB())
{
labelBacklightLid.Visible = false;
checkAwakeLid.Visible = false;
checkBootLid.Visible = false;
@@ -306,7 +343,6 @@ namespace GHelper
checkBootLogo.Visible = false;
checkSleepLogo.Visible = false;
checkShutdownLogo.Visible = false;
}
if (!AppConfig.IsStrix() && !AppConfig.IsZ13())
@@ -351,7 +387,7 @@ namespace GHelper
pictureLog.Click += PictureLog_Click;
checkGPUFix.Visible = AppConfig.IsGPUFixNeeded();
checkGPUFix.Visible = Program.acpi.IsNVidiaGPU();
checkGPUFix.Checked = AppConfig.IsGPUFix();
checkGPUFix.CheckedChanged += CheckGPUFix_CheckedChanged;
@@ -606,7 +642,17 @@ namespace GHelper
{
if (Height > Program.settingsForm.Height)
{
Top = Program.settingsForm.Top + Program.settingsForm.Height - Height;
var top = Program.settingsForm.Top + Program.settingsForm.Height - Height;
if (top < 0)
{
MaximumSize = new Size(Width, Program.settingsForm.Height);
Top = Program.settingsForm.Top;
} else
{
Top = top;
}
}
else
{

457
app/Fans.Designer.cs generated
View File

@@ -85,21 +85,27 @@ namespace GHelper
panelTitleTemp = new Panel();
pictureTemp = new PictureBox();
labelTempLimit = new Label();
panelDownload = new Panel();
buttonDownload = new RButton();
panelPower = new Panel();
panelApplyPower = new Panel();
checkApplyPower = new RCheckBox();
panelB0 = new Panel();
labelB0 = new Label();
labelLeftB0 = new Label();
trackB0 = new TrackBar();
panelC1 = new Panel();
labelC1 = new Label();
labelLeftC1 = new Label();
trackC1 = new TrackBar();
panelA0 = new Panel();
labelA0 = new Label();
labelLeftA0 = new Label();
trackA0 = new TrackBar();
panelCPU = new Panel();
labelCPU = new Label();
labelLeftCPU = new Label();
trackCPU = new TrackBar();
panelFast = new Panel();
labelFast = new Label();
labelLeftFast = new Label();
trackFast = new TrackBar();
panelSlow = new Panel();
labelSlow = new Label();
labelLeftSlow = new Label();
trackSlow = new TrackBar();
panelTotal = new Panel();
labelTotal = new Label();
labelLeftTotal = new Label();
trackTotal = new TrackBar();
panelTitleCPU = new Panel();
pictureBoxCPU = new PictureBox();
labelPowerLimits = new Label();
@@ -164,14 +170,17 @@ namespace GHelper
((System.ComponentModel.ISupportInitialize)trackTemp).BeginInit();
panelTitleTemp.SuspendLayout();
((System.ComponentModel.ISupportInitialize)pictureTemp).BeginInit();
panelDownload.SuspendLayout();
panelPower.SuspendLayout();
panelApplyPower.SuspendLayout();
panelB0.SuspendLayout();
((System.ComponentModel.ISupportInitialize)trackB0).BeginInit();
panelC1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)trackC1).BeginInit();
panelA0.SuspendLayout();
((System.ComponentModel.ISupportInitialize)trackA0).BeginInit();
panelCPU.SuspendLayout();
((System.ComponentModel.ISupportInitialize)trackCPU).BeginInit();
panelFast.SuspendLayout();
((System.ComponentModel.ISupportInitialize)trackFast).BeginInit();
panelSlow.SuspendLayout();
((System.ComponentModel.ISupportInitialize)trackSlow).BeginInit();
panelTotal.SuspendLayout();
((System.ComponentModel.ISupportInitialize)trackTotal).BeginInit();
panelTitleCPU.SuspendLayout();
((System.ComponentModel.ISupportInitialize)pictureBoxCPU).BeginInit();
panelBoost.SuspendLayout();
@@ -522,10 +531,11 @@ namespace GHelper
panelAdvanced.Controls.Add(panelTitleAdvanced);
panelAdvanced.Controls.Add(panelTemperature);
panelAdvanced.Controls.Add(panelTitleTemp);
panelAdvanced.Controls.Add(panelDownload);
panelAdvanced.Dock = DockStyle.Top;
panelAdvanced.Location = new Point(10, 1520);
panelAdvanced.Location = new Point(10, 1644);
panelAdvanced.Name = "panelAdvanced";
panelAdvanced.Size = new Size(520, 888);
panelAdvanced.Size = new Size(520, 992);
panelAdvanced.TabIndex = 14;
panelAdvanced.Visible = false;
//
@@ -534,7 +544,7 @@ namespace GHelper
panelAdvancedAlways.AutoSize = true;
panelAdvancedAlways.Controls.Add(checkApplyUV);
panelAdvancedAlways.Dock = DockStyle.Top;
panelAdvancedAlways.Location = new Point(0, 827);
panelAdvancedAlways.Location = new Point(0, 931);
panelAdvancedAlways.Name = "panelAdvancedAlways";
panelAdvancedAlways.Padding = new Padding(16, 0, 16, 15);
panelAdvancedAlways.Size = new Size(520, 61);
@@ -560,7 +570,7 @@ namespace GHelper
panelAdvancedApply.AutoSize = true;
panelAdvancedApply.Controls.Add(buttonApplyAdvanced);
panelAdvancedApply.Dock = DockStyle.Top;
panelAdvancedApply.Location = new Point(0, 747);
panelAdvancedApply.Location = new Point(0, 851);
panelAdvancedApply.Name = "panelAdvancedApply";
panelAdvancedApply.Padding = new Padding(15);
panelAdvancedApply.Size = new Size(520, 80);
@@ -589,7 +599,7 @@ namespace GHelper
labelRisky.BackColor = Color.IndianRed;
labelRisky.Dock = DockStyle.Top;
labelRisky.ForeColor = SystemColors.ControlLightLight;
labelRisky.Location = new Point(0, 504);
labelRisky.Location = new Point(0, 608);
labelRisky.Margin = new Padding(0);
labelRisky.Name = "labelRisky";
labelRisky.Padding = new Padding(10, 10, 10, 5);
@@ -605,7 +615,7 @@ namespace GHelper
panelUViGPU.Controls.Add(labelLeftUViGPU);
panelUViGPU.Controls.Add(trackUViGPU);
panelUViGPU.Dock = DockStyle.Top;
panelUViGPU.Location = new Point(0, 380);
panelUViGPU.Location = new Point(0, 484);
panelUViGPU.Margin = new Padding(4);
panelUViGPU.MaximumSize = new Size(0, 124);
panelUViGPU.Name = "panelUViGPU";
@@ -653,7 +663,7 @@ namespace GHelper
panelUV.Controls.Add(labelLeftUV);
panelUV.Controls.Add(trackUV);
panelUV.Dock = DockStyle.Top;
panelUV.Location = new Point(0, 256);
panelUV.Location = new Point(0, 360);
panelUV.Margin = new Padding(4);
panelUV.MaximumSize = new Size(0, 124);
panelUV.Name = "panelUV";
@@ -698,7 +708,7 @@ namespace GHelper
panelTitleAdvanced.Controls.Add(pictureUV);
panelTitleAdvanced.Controls.Add(labelTitleUV);
panelTitleAdvanced.Dock = DockStyle.Top;
panelTitleAdvanced.Location = new Point(0, 190);
panelTitleAdvanced.Location = new Point(0, 294);
panelTitleAdvanced.Name = "panelTitleAdvanced";
panelTitleAdvanced.Size = new Size(520, 66);
panelTitleAdvanced.TabIndex = 48;
@@ -734,7 +744,7 @@ namespace GHelper
panelTemperature.Controls.Add(labelLeftTemp);
panelTemperature.Controls.Add(trackTemp);
panelTemperature.Dock = DockStyle.Top;
panelTemperature.Location = new Point(0, 66);
panelTemperature.Location = new Point(0, 170);
panelTemperature.Margin = new Padding(4);
panelTemperature.MaximumSize = new Size(0, 124);
panelTemperature.Name = "panelTemperature";
@@ -779,7 +789,7 @@ namespace GHelper
panelTitleTemp.Controls.Add(pictureTemp);
panelTitleTemp.Controls.Add(labelTempLimit);
panelTitleTemp.Dock = DockStyle.Top;
panelTitleTemp.Location = new Point(0, 0);
panelTitleTemp.Location = new Point(0, 104);
panelTitleTemp.Name = "panelTitleTemp";
panelTitleTemp.Size = new Size(520, 66);
panelTitleTemp.TabIndex = 50;
@@ -807,14 +817,47 @@ namespace GHelper
labelTempLimit.TabIndex = 47;
labelTempLimit.Text = "Temp Limit";
//
// panelDownload
//
panelDownload.AutoSize = true;
panelDownload.Controls.Add(buttonDownload);
panelDownload.Dock = DockStyle.Top;
panelDownload.Location = new Point(0, 0);
panelDownload.Name = "panelDownload";
panelDownload.Padding = new Padding(20);
panelDownload.Size = new Size(520, 104);
panelDownload.TabIndex = 52;
panelDownload.Visible = false;
//
// buttonDownload
//
buttonDownload.Activated = false;
buttonDownload.AutoSize = true;
buttonDownload.AutoSizeMode = AutoSizeMode.GrowAndShrink;
buttonDownload.BackColor = SystemColors.ControlLight;
buttonDownload.BorderColor = Color.Transparent;
buttonDownload.BorderRadius = 2;
buttonDownload.Dock = DockStyle.Top;
buttonDownload.FlatStyle = FlatStyle.Flat;
buttonDownload.Location = new Point(20, 20);
buttonDownload.Margin = new Padding(20);
buttonDownload.Name = "buttonDownload";
buttonDownload.Padding = new Padding(10);
buttonDownload.Secondary = true;
buttonDownload.Size = new Size(480, 64);
buttonDownload.TabIndex = 19;
buttonDownload.Text = "Download Advanced Settings Plugin";
buttonDownload.UseVisualStyleBackColor = false;
//
// panelPower
//
panelPower.AutoSize = true;
panelPower.AutoSizeMode = AutoSizeMode.GrowAndShrink;
panelPower.Controls.Add(panelApplyPower);
panelPower.Controls.Add(panelB0);
panelPower.Controls.Add(panelC1);
panelPower.Controls.Add(panelA0);
panelPower.Controls.Add(panelCPU);
panelPower.Controls.Add(panelFast);
panelPower.Controls.Add(panelSlow);
panelPower.Controls.Add(panelTotal);
panelPower.Controls.Add(panelTitleCPU);
panelPower.Controls.Add(panelBoost);
panelPower.Controls.Add(panelBoostTitle);
@@ -824,7 +867,7 @@ namespace GHelper
panelPower.Location = new Point(10, 764);
panelPower.Margin = new Padding(4);
panelPower.Name = "panelPower";
panelPower.Size = new Size(520, 756);
panelPower.Size = new Size(520, 880);
panelPower.TabIndex = 43;
//
// panelApplyPower
@@ -832,7 +875,7 @@ namespace GHelper
panelApplyPower.AutoSize = true;
panelApplyPower.Controls.Add(checkApplyPower);
panelApplyPower.Dock = DockStyle.Top;
panelApplyPower.Location = new Point(0, 680);
panelApplyPower.Location = new Point(0, 804);
panelApplyPower.Name = "panelApplyPower";
panelApplyPower.Padding = new Padding(15);
panelApplyPower.Size = new Size(520, 76);
@@ -851,152 +894,201 @@ namespace GHelper
checkApplyPower.Text = "Apply Power Limits";
checkApplyPower.UseVisualStyleBackColor = false;
//
// panelB0
// panelCPU
//
panelB0.AutoSize = true;
panelB0.AutoSizeMode = AutoSizeMode.GrowAndShrink;
panelB0.Controls.Add(labelB0);
panelB0.Controls.Add(labelLeftB0);
panelB0.Controls.Add(trackB0);
panelB0.Dock = DockStyle.Top;
panelB0.Location = new Point(0, 556);
panelB0.Margin = new Padding(4);
panelB0.MaximumSize = new Size(0, 124);
panelB0.Name = "panelB0";
panelB0.Size = new Size(520, 124);
panelB0.TabIndex = 41;
panelCPU.AutoSize = true;
panelCPU.AutoSizeMode = AutoSizeMode.GrowAndShrink;
panelCPU.Controls.Add(labelCPU);
panelCPU.Controls.Add(labelLeftCPU);
panelCPU.Controls.Add(trackCPU);
panelCPU.Dock = DockStyle.Top;
panelCPU.Location = new Point(0, 680);
panelCPU.Margin = new Padding(4);
panelCPU.MaximumSize = new Size(0, 124);
panelCPU.Name = "panelCPU";
panelCPU.Size = new Size(520, 124);
panelCPU.TabIndex = 41;
//
// labelB0
// labelCPU
//
labelB0.Font = new Font("Segoe UI", 9F, FontStyle.Bold, GraphicsUnit.Point);
labelB0.Location = new Point(398, 8);
labelB0.Margin = new Padding(4, 0, 4, 0);
labelB0.Name = "labelB0";
labelB0.Size = new Size(116, 32);
labelB0.TabIndex = 13;
labelB0.Text = "CPU";
labelB0.TextAlign = ContentAlignment.TopRight;
labelCPU.Font = new Font("Segoe UI", 9F, FontStyle.Bold, GraphicsUnit.Point);
labelCPU.Location = new Point(398, 8);
labelCPU.Margin = new Padding(4, 0, 4, 0);
labelCPU.Name = "labelCPU";
labelCPU.Size = new Size(116, 32);
labelCPU.TabIndex = 13;
labelCPU.Text = "CPU";
labelCPU.TextAlign = ContentAlignment.TopRight;
//
// labelLeftB0
// labelLeftCPU
//
labelLeftB0.AutoSize = true;
labelLeftB0.Location = new Point(10, 8);
labelLeftB0.Margin = new Padding(4, 0, 4, 0);
labelLeftB0.Name = "labelLeftB0";
labelLeftB0.Size = new Size(58, 32);
labelLeftB0.TabIndex = 12;
labelLeftB0.Text = "CPU";
labelLeftCPU.AutoSize = true;
labelLeftCPU.Location = new Point(10, 8);
labelLeftCPU.Margin = new Padding(4, 0, 4, 0);
labelLeftCPU.Name = "labelLeftCPU";
labelLeftCPU.Size = new Size(58, 32);
labelLeftCPU.TabIndex = 12;
labelLeftCPU.Text = "CPU";
//
// trackB0
// trackCPU
//
trackB0.Location = new Point(6, 44);
trackB0.Margin = new Padding(4, 2, 4, 2);
trackB0.Maximum = 85;
trackB0.Minimum = 5;
trackB0.Name = "trackB0";
trackB0.Size = new Size(508, 90);
trackB0.TabIndex = 11;
trackB0.TickFrequency = 5;
trackB0.TickStyle = TickStyle.TopLeft;
trackB0.Value = 80;
trackCPU.Location = new Point(6, 44);
trackCPU.Margin = new Padding(4, 2, 4, 2);
trackCPU.Maximum = 85;
trackCPU.Minimum = 5;
trackCPU.Name = "trackCPU";
trackCPU.Size = new Size(508, 90);
trackCPU.TabIndex = 11;
trackCPU.TickFrequency = 5;
trackCPU.TickStyle = TickStyle.TopLeft;
trackCPU.Value = 80;
//
// panelC1
// panelFast
//
panelC1.AutoSize = true;
panelC1.AutoSizeMode = AutoSizeMode.GrowAndShrink;
panelC1.Controls.Add(labelC1);
panelC1.Controls.Add(labelLeftC1);
panelC1.Controls.Add(trackC1);
panelC1.Dock = DockStyle.Top;
panelC1.Location = new Point(0, 432);
panelC1.Margin = new Padding(4);
panelC1.MaximumSize = new Size(0, 124);
panelC1.Name = "panelC1";
panelC1.Size = new Size(520, 124);
panelC1.TabIndex = 45;
panelFast.AutoSize = true;
panelFast.AutoSizeMode = AutoSizeMode.GrowAndShrink;
panelFast.Controls.Add(labelFast);
panelFast.Controls.Add(labelLeftFast);
panelFast.Controls.Add(trackFast);
panelFast.Dock = DockStyle.Top;
panelFast.Location = new Point(0, 556);
panelFast.Margin = new Padding(4);
panelFast.MaximumSize = new Size(0, 124);
panelFast.Name = "panelFast";
panelFast.Size = new Size(520, 124);
panelFast.TabIndex = 45;
//
// labelC1
// labelFast
//
labelC1.Font = new Font("Segoe UI", 9F, FontStyle.Bold, GraphicsUnit.Point);
labelC1.Location = new Point(396, 8);
labelC1.Margin = new Padding(4, 0, 4, 0);
labelC1.Name = "labelC1";
labelC1.Size = new Size(114, 32);
labelC1.TabIndex = 13;
labelC1.Text = "FPPT";
labelC1.TextAlign = ContentAlignment.TopRight;
labelFast.Font = new Font("Segoe UI", 9F, FontStyle.Bold, GraphicsUnit.Point);
labelFast.Location = new Point(396, 8);
labelFast.Margin = new Padding(4, 0, 4, 0);
labelFast.Name = "labelFast";
labelFast.Size = new Size(114, 32);
labelFast.TabIndex = 13;
labelFast.Text = "FPPT";
labelFast.TextAlign = ContentAlignment.TopRight;
//
// labelLeftC1
// labelLeftFast
//
labelLeftC1.AutoSize = true;
labelLeftC1.Location = new Point(10, 8);
labelLeftC1.Margin = new Padding(4, 0, 4, 0);
labelLeftC1.Name = "labelLeftC1";
labelLeftC1.Size = new Size(65, 32);
labelLeftC1.TabIndex = 12;
labelLeftC1.Text = "FPPT";
labelLeftFast.AutoSize = true;
labelLeftFast.Location = new Point(10, 8);
labelLeftFast.Margin = new Padding(4, 0, 4, 0);
labelLeftFast.Name = "labelLeftFast";
labelLeftFast.Size = new Size(65, 32);
labelLeftFast.TabIndex = 12;
labelLeftFast.Text = "FPPT";
//
// trackC1
// trackFast
//
trackC1.Location = new Point(6, 48);
trackC1.Margin = new Padding(4, 2, 4, 2);
trackC1.Maximum = 85;
trackC1.Minimum = 5;
trackC1.Name = "trackC1";
trackC1.Size = new Size(508, 90);
trackC1.TabIndex = 11;
trackC1.TickFrequency = 5;
trackC1.TickStyle = TickStyle.TopLeft;
trackC1.Value = 80;
trackFast.Location = new Point(6, 48);
trackFast.Margin = new Padding(4, 2, 4, 2);
trackFast.Maximum = 85;
trackFast.Minimum = 5;
trackFast.Name = "trackFast";
trackFast.Size = new Size(508, 90);
trackFast.TabIndex = 11;
trackFast.TickFrequency = 5;
trackFast.TickStyle = TickStyle.TopLeft;
trackFast.Value = 80;
//
// panelA0
// panelSlow
//
panelA0.AutoSize = true;
panelA0.AutoSizeMode = AutoSizeMode.GrowAndShrink;
panelA0.Controls.Add(labelA0);
panelA0.Controls.Add(labelLeftA0);
panelA0.Controls.Add(trackA0);
panelA0.Dock = DockStyle.Top;
panelA0.Location = new Point(0, 308);
panelA0.Margin = new Padding(4);
panelA0.MaximumSize = new Size(0, 124);
panelA0.Name = "panelA0";
panelA0.Size = new Size(520, 124);
panelA0.TabIndex = 40;
panelSlow.AutoSize = true;
panelSlow.AutoSizeMode = AutoSizeMode.GrowAndShrink;
panelSlow.Controls.Add(labelSlow);
panelSlow.Controls.Add(labelLeftSlow);
panelSlow.Controls.Add(trackSlow);
panelSlow.Dock = DockStyle.Top;
panelSlow.Location = new Point(0, 432);
panelSlow.Margin = new Padding(4);
panelSlow.MaximumSize = new Size(0, 124);
panelSlow.Name = "panelSlow";
panelSlow.Size = new Size(520, 124);
panelSlow.TabIndex = 51;
//
// labelA0
// labelSlow
//
labelA0.Font = new Font("Segoe UI", 9F, FontStyle.Bold, GraphicsUnit.Point);
labelA0.Location = new Point(396, 10);
labelA0.Margin = new Padding(4, 0, 4, 0);
labelA0.Name = "labelA0";
labelA0.Size = new Size(116, 32);
labelA0.TabIndex = 12;
labelA0.Text = "SPPT";
labelA0.TextAlign = ContentAlignment.TopRight;
labelSlow.Font = new Font("Segoe UI", 9F, FontStyle.Bold, GraphicsUnit.Point);
labelSlow.Location = new Point(396, 10);
labelSlow.Margin = new Padding(4, 0, 4, 0);
labelSlow.Name = "labelSlow";
labelSlow.Size = new Size(116, 32);
labelSlow.TabIndex = 12;
labelSlow.Text = "SPPT";
labelSlow.TextAlign = ContentAlignment.TopRight;
//
// labelLeftA0
// labelLeftSlow
//
labelLeftA0.AutoSize = true;
labelLeftA0.Location = new Point(10, 10);
labelLeftA0.Margin = new Padding(4, 0, 4, 0);
labelLeftA0.Name = "labelLeftA0";
labelLeftA0.Size = new Size(66, 32);
labelLeftA0.TabIndex = 11;
labelLeftA0.Text = "SPPT";
labelLeftSlow.AutoSize = true;
labelLeftSlow.Location = new Point(10, 10);
labelLeftSlow.Margin = new Padding(4, 0, 4, 0);
labelLeftSlow.Name = "labelLeftSlow";
labelLeftSlow.Size = new Size(66, 32);
labelLeftSlow.TabIndex = 11;
labelLeftSlow.Text = "SPPT";
//
// trackA0
// trackSlow
//
trackA0.Location = new Point(6, 48);
trackA0.Margin = new Padding(4, 2, 4, 2);
trackA0.Maximum = 180;
trackA0.Minimum = 10;
trackA0.Name = "trackA0";
trackA0.Size = new Size(508, 90);
trackA0.TabIndex = 10;
trackA0.TickFrequency = 5;
trackA0.TickStyle = TickStyle.TopLeft;
trackA0.Value = 125;
trackSlow.Location = new Point(6, 48);
trackSlow.Margin = new Padding(4, 2, 4, 2);
trackSlow.Maximum = 180;
trackSlow.Minimum = 10;
trackSlow.Name = "trackSlow";
trackSlow.Size = new Size(508, 90);
trackSlow.TabIndex = 10;
trackSlow.TickFrequency = 5;
trackSlow.TickStyle = TickStyle.TopLeft;
trackSlow.Value = 125;
//
// panelTotal
//
panelTotal.AutoSize = true;
panelTotal.AutoSizeMode = AutoSizeMode.GrowAndShrink;
panelTotal.Controls.Add(labelTotal);
panelTotal.Controls.Add(labelLeftTotal);
panelTotal.Controls.Add(trackTotal);
panelTotal.Dock = DockStyle.Top;
panelTotal.Location = new Point(0, 308);
panelTotal.Margin = new Padding(4);
panelTotal.MaximumSize = new Size(0, 124);
panelTotal.Name = "panelTotal";
panelTotal.Size = new Size(520, 124);
panelTotal.TabIndex = 40;
//
// labelTotal
//
labelTotal.Font = new Font("Segoe UI", 9F, FontStyle.Bold, GraphicsUnit.Point);
labelTotal.Location = new Point(396, 10);
labelTotal.Margin = new Padding(4, 0, 4, 0);
labelTotal.Name = "labelTotal";
labelTotal.Size = new Size(116, 32);
labelTotal.TabIndex = 12;
labelTotal.Text = "SPL";
labelTotal.TextAlign = ContentAlignment.TopRight;
//
// labelLeftTotal
//
labelLeftTotal.AutoSize = true;
labelLeftTotal.Location = new Point(10, 10);
labelLeftTotal.Margin = new Padding(4, 0, 4, 0);
labelLeftTotal.Name = "labelLeftTotal";
labelLeftTotal.Size = new Size(51, 32);
labelLeftTotal.TabIndex = 11;
labelLeftTotal.Text = "SPL";
//
// trackTotal
//
trackTotal.Location = new Point(6, 48);
trackTotal.Margin = new Padding(4, 2, 4, 2);
trackTotal.Maximum = 180;
trackTotal.Minimum = 10;
trackTotal.Name = "trackTotal";
trackTotal.Size = new Size(508, 90);
trackTotal.TabIndex = 10;
trackTotal.TickFrequency = 5;
trackTotal.TickStyle = TickStyle.TopLeft;
trackTotal.Value = 125;
//
// panelTitleCPU
//
@@ -1578,18 +1670,23 @@ namespace GHelper
panelTitleTemp.ResumeLayout(false);
panelTitleTemp.PerformLayout();
((System.ComponentModel.ISupportInitialize)pictureTemp).EndInit();
panelDownload.ResumeLayout(false);
panelDownload.PerformLayout();
panelPower.ResumeLayout(false);
panelPower.PerformLayout();
panelApplyPower.ResumeLayout(false);
panelB0.ResumeLayout(false);
panelB0.PerformLayout();
((System.ComponentModel.ISupportInitialize)trackB0).EndInit();
panelC1.ResumeLayout(false);
panelC1.PerformLayout();
((System.ComponentModel.ISupportInitialize)trackC1).EndInit();
panelA0.ResumeLayout(false);
panelA0.PerformLayout();
((System.ComponentModel.ISupportInitialize)trackA0).EndInit();
panelCPU.ResumeLayout(false);
panelCPU.PerformLayout();
((System.ComponentModel.ISupportInitialize)trackCPU).EndInit();
panelFast.ResumeLayout(false);
panelFast.PerformLayout();
((System.ComponentModel.ISupportInitialize)trackFast).EndInit();
panelSlow.ResumeLayout(false);
panelSlow.PerformLayout();
((System.ComponentModel.ISupportInitialize)trackSlow).EndInit();
panelTotal.ResumeLayout(false);
panelTotal.PerformLayout();
((System.ComponentModel.ISupportInitialize)trackTotal).EndInit();
panelTitleCPU.ResumeLayout(false);
panelTitleCPU.PerformLayout();
((System.ComponentModel.ISupportInitialize)pictureBoxCPU).EndInit();
@@ -1637,14 +1734,14 @@ namespace GHelper
private Chart chartXGM;
private Label labelTip;
private Panel panelPower;
private Panel panelB0;
private Label labelB0;
private Label labelLeftB0;
private TrackBar trackB0;
private Panel panelA0;
private Label labelA0;
private Label labelLeftA0;
private TrackBar trackA0;
private Panel panelCPU;
private Label labelCPU;
private Label labelLeftCPU;
private TrackBar trackCPU;
private Panel panelTotal;
private Label labelTotal;
private Label labelLeftTotal;
private TrackBar trackTotal;
private Panel panelTitleCPU;
private PictureBox pictureBoxCPU;
private Label labelPowerLimits;
@@ -1678,10 +1775,10 @@ namespace GHelper
private RComboBox comboBoost;
private PictureBox picturePerf;
private Label labelFans;
private Panel panelC1;
private Label labelC1;
private Label labelLeftC1;
private TrackBar trackC1;
private Panel panelFast;
private Label labelFast;
private Label labelLeftFast;
private TrackBar trackFast;
private Panel panelBoost;
private RComboBox comboModes;
private RButton buttonAdd;
@@ -1730,5 +1827,11 @@ namespace GHelper
private TrackBar trackGPUClockLimit;
private Label labelGPUClockLimitTitle;
private RButton buttonCalibrate;
private Panel panelSlow;
private Label labelSlow;
private Label labelLeftSlow;
private TrackBar trackSlow;
private Panel panelDownload;
private RButton buttonDownload;
}
}

View File

@@ -5,6 +5,7 @@ using GHelper.UI;
using GHelper.USB;
using Ryzen;
using System.Diagnostics;
using System.Management;
using System.Windows.Forms.DataVisualization.Charting;
namespace GHelper
@@ -103,22 +104,27 @@ namespace GHelper
buttonReset.Click += ButtonReset_Click;
trackA0.Maximum = AsusACPI.MaxTotal;
trackA0.Minimum = AsusACPI.MinTotal;
trackTotal.Maximum = AsusACPI.MaxTotal;
trackTotal.Minimum = AsusACPI.MinTotal;
trackB0.Maximum = AsusACPI.MaxCPU;
trackB0.Minimum = AsusACPI.MinCPU;
trackSlow.Maximum = AsusACPI.MaxTotal;
trackSlow.Minimum = AsusACPI.MinTotal;
trackC1.Maximum = AsusACPI.MaxTotal;
trackC1.Minimum = AsusACPI.MinTotal;
trackCPU.Maximum = AsusACPI.MaxCPU;
trackCPU.Minimum = AsusACPI.MinCPU;
trackC1.Scroll += TrackPower_Scroll;
trackB0.Scroll += TrackPower_Scroll;
trackA0.Scroll += TrackPower_Scroll;
trackFast.Maximum = AsusACPI.MaxTotal;
trackFast.Minimum = AsusACPI.MinTotal;
trackC1.MouseUp += TrackPower_MouseUp;
trackB0.MouseUp += TrackPower_MouseUp;
trackA0.MouseUp += TrackPower_MouseUp;
trackFast.Scroll += TrackPower_Scroll;
trackCPU.Scroll += TrackPower_Scroll;
trackTotal.Scroll += TrackPower_Scroll;
trackSlow.Scroll += TrackPower_Scroll;
trackFast.MouseUp += TrackPower_MouseUp;
trackCPU.MouseUp += TrackPower_MouseUp;
trackTotal.MouseUp += TrackPower_MouseUp;
trackSlow.MouseUp += TrackPower_MouseUp;
checkApplyFans.Click += CheckApplyFans_Click;
checkApplyPower.Click += CheckApplyPower_Click;
@@ -172,6 +178,7 @@ namespace GHelper
FillModes();
InitAll();
InitCPU();
comboBoost.SelectedValueChanged += ComboBoost_Changed;
comboPowerMode.SelectedValueChanged += ComboPowerMode_Changed;
@@ -206,6 +213,8 @@ namespace GHelper
buttonCalibrate.Click += ButtonCalibrate_Click;
buttonDownload.Click += ButtonDownload_Click;
ToggleNavigation(0);
if (Program.acpi.DeviceGet(AsusACPI.DevsCPUFanCurve) < 0) buttonCalibrate.Visible = false;
@@ -214,7 +223,21 @@ namespace GHelper
}
private void ButtonDownload_Click(object? sender, EventArgs e)
{
RyzenControl.DownloadRing();
panelAdvancedAlways.Visible = true;
panelAdvancedApply.Visible = true;
labelRisky.Visible = true;
panelUViGPU.Visible = true;
panelUV.Visible = true;
panelTitleAdvanced.Visible = true;
panelTemperature.Visible = true;
panelTitleTemp.Visible = true;
VisualiseAdvanced();
}
private void ButtonCalibrate_Click(object? sender, EventArgs e)
{
@@ -262,6 +285,23 @@ namespace GHelper
InitGPU();
}
public void InitCPU()
{
Task.Run(async () =>
{
string CPUName;
using (ManagementObjectSearcher myProcessorObject = new ManagementObjectSearcher("select * from Win32_Processor"))
foreach (ManagementObject obj in myProcessorObject.Get())
{
CPUName = obj["Name"].ToString();
Invoke(delegate
{
Text = Properties.Strings.FansAndPower + " - " + CPUName;
});
}
});
}
public void ToggleNavigation(int index = 0)
{
@@ -341,6 +381,24 @@ namespace GHelper
private void VisualiseAdvanced()
{
if (!RyzenControl.IsRingExsists())
{
panelTitleAdvanced.Visible = false;
labelRisky.Visible = false;
panelUV.Visible = false;
panelUViGPU.Visible = false;
panelTitleTemp.Visible = false;
panelTemperature.Visible = false;
panelAdvancedAlways.Visible = false;
panelAdvancedApply.Visible = false;
panelDownload.Visible = true;
} else
{
panelDownload.Visible = false;
}
if (!RyzenControl.IsSupportedUV())
{
panelTitleAdvanced.Visible = false;
@@ -594,7 +652,7 @@ namespace GHelper
int Max = FanSensorControl.GetFanMax(device);
if (fanRpm)
return (200 * Math.Round((float)(Min * 100 + (Max - Min) * percentage) / 200)).ToString() + unit;
return (200 * Math.Floor((float)(Min * 100 + (Max - Min) * percentage) / 200)).ToString() + unit;
else
return percentage + "%";
}
@@ -784,35 +842,47 @@ namespace GHelper
public void InitPower(bool changed = false)
{
bool modeA0 = (Program.acpi.DeviceGet(AsusACPI.PPT_TotalA0) >= 0 || RyzenControl.IsAMD());
bool modeA = Program.acpi.DeviceGet(AsusACPI.PPT_APUA0) >= 0 || RyzenControl.IsAMD();
bool modeB0 = Program.acpi.IsAllAmdPPT();
bool modeC1 = Program.acpi.DeviceGet(AsusACPI.PPT_APUC1) >= 0;
panelA0.Visible = modeA0;
panelB0.Visible = modeB0;
panelTotal.Visible = modeA;
panelCPU.Visible = modeB0;
panelApplyPower.Visible = panelTitleCPU.Visible = modeA0 || modeB0 || modeC1;
panelApplyPower.Visible = panelTitleCPU.Visible = modeA || modeB0 || modeC1;
// All AMD version has B0 but doesn't have C0 (Nvidia GPU) settings
if (modeB0)
{
labelLeftA0.Text = "Platform (CPU + GPU)";
labelLeftB0.Text = "CPU";
panelC1.Visible = false;
labelLeftTotal.Text = "Platform (CPU + GPU)";
labelLeftCPU.Text = "CPU";
panelFast.Visible = false;
panelSlow.Visible = false;
}
else
{
if (RyzenControl.IsAMD())
labelLeftA0.Text = "CPU Slow (SPL + sPPT)";
else
labelLeftA0.Text = "CPU (PL1 + PL2)";
panelSlow.Visible = modeA;
if (RyzenControl.IsAMD())
{
labelLeftTotal.Text = "CPU Sustained (SPL)";
labelLeftSlow.Text = "CPU Slow (sPPT)";
labelLeftFast.Text = "CPU Fast (fPPT)";
panelFast.Visible = modeC1;
}
else
{
labelLeftTotal.Text = "CPU Slow (PL1)";
labelLeftSlow.Text = "CPU Fast (PL2)";
panelFast.Visible = false;
}
labelLeftC1.Text = "CPU Fast (fPPT)";
panelC1.Visible = modeC1;
}
int limit_total;
int limit_slow;
int limit_cpu;
int limit_fast;
@@ -820,13 +890,15 @@ namespace GHelper
if (changed)
{
limit_total = trackA0.Value;
limit_cpu = trackB0.Value;
limit_fast = trackC1.Value;
limit_total = trackTotal.Value;
limit_slow = trackSlow.Value;
limit_cpu = trackCPU.Value;
limit_fast = trackFast.Value;
}
else
{
limit_total = AppConfig.GetMode("limit_total");
limit_slow = AppConfig.GetMode("limit_slow");
limit_cpu = AppConfig.GetMode("limit_cpu");
limit_fast = AppConfig.GetMode("limit_fast");
}
@@ -840,21 +912,28 @@ namespace GHelper
if (limit_cpu < AsusACPI.MinCPU) limit_cpu = AsusACPI.MinCPU;
if (limit_cpu > limit_total) limit_cpu = limit_total;
if (limit_slow < 0) limit_slow = limit_total;
if (limit_slow > AsusACPI.MaxTotal) limit_slow = AsusACPI.MaxTotal;
if (limit_slow < AsusACPI.MinTotal) limit_slow = AsusACPI.MinTotal;
if (limit_fast < 0) limit_fast = AsusACPI.DefaultTotal;
if (limit_fast > AsusACPI.MaxTotal) limit_fast = AsusACPI.MaxTotal;
if (limit_fast < AsusACPI.MinTotal) limit_fast = AsusACPI.MinTotal;
trackA0.Value = limit_total;
trackB0.Value = limit_cpu;
trackC1.Value = limit_fast;
trackTotal.Value = limit_total;
trackSlow.Value = limit_slow;
trackCPU.Value = limit_cpu;
trackFast.Value = limit_fast;
checkApplyPower.Checked = apply;
labelA0.Text = trackA0.Value.ToString() + "W";
labelB0.Text = trackB0.Value.ToString() + "W";
labelC1.Text = trackC1.Value.ToString() + "W";
labelTotal.Text = trackTotal.Value.ToString() + "W";
labelSlow.Text = trackSlow.Value.ToString() + "W";
labelCPU.Text = trackCPU.Value.ToString() + "W";
labelFast.Text = trackFast.Value.ToString() + "W";
AppConfig.SetMode("limit_total", limit_total);
AppConfig.SetMode("limit_slow", limit_slow);
AppConfig.SetMode("limit_cpu", limit_cpu);
AppConfig.SetMode("limit_fast", limit_fast);
@@ -1123,7 +1202,7 @@ namespace GHelper
tip = true;
}
labelTip.Text = Math.Round(curPoint.XValue) + "C, " + ChartYLabel((int)curPoint.YValues[0], device, " " + Properties.Strings.RPM);
labelTip.Text = Math.Floor(curPoint.XValue) + "C, " + ChartYLabel((int)curPoint.YValues[0], device, " " + Properties.Strings.RPM);
labelTip.Top = e.Y + ((Control)sender).Top;
labelTip.Left = e.X - 50;

View File

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

View File

@@ -551,6 +551,65 @@ public class Adl2
int iAdapterIndex,
int iEnabled);
// FPS
[DllImport(Atiadlxx_FileName)]
public static extern int ADL2_Adapter_FrameMetrics_Start(
IntPtr context,
int iAdapterIndex,
int VidPnSourceId
);
[DllImport(Atiadlxx_FileName)]
public static extern int ADL2_Adapter_FrameMetrics_Stop(
IntPtr context,
int iAdapterIndex,
int VidPnSourceId
);
[DllImport(Atiadlxx_FileName)]
public static extern int ADL2_Adapter_FrameMetrics_Get(
IntPtr context,
int iAdapterIndex,
int VidPnSourceId,
out float iFramesPerSecond
);
[DllImport(Atiadlxx_FileName)]
public static extern int ADL2_FPS_Settings_Get(IntPtr context, int iAdapterIndex, out ADLFPSSettingsOutput lpFPSSettings);
[DllImport(Atiadlxx_FileName)]
public static extern int ADL2_FPS_Settings_Set(IntPtr context, int iAdapterIndex, ADLFPSSettingsInput lpFPSSettings);
[DllImport(Atiadlxx_FileName)]
public static extern int ADL2_FPS_Settings_Reset(IntPtr context, int iAdapterIndex);
[StructLayout(LayoutKind.Sequential)]
public struct ADLFPSSettingsOutput
{
public int ulSize;
public int bACFPSEnabled;
public int bDCFPSEnabled;
public int ulACFPSCurrent;
public int ulDCFPSCurrent;
public int ulACFPSMaximum;
public int ulACFPSMinimum;
public int ulDCFPSMaximum;
public int ulDCFPSMinimum;
}
[StructLayout(LayoutKind.Sequential)]
public struct ADLFPSSettingsInput
{
public int ulSize;
public int bGlobalSettings;
public int ulACFPSCurrent;
public int ulDCFPSCurrent;
// Assuming ulReserved is an array of 6 integers
[MarshalAs(UnmanagedType.ByValArray, SizeConst = 6)]
public int[] ulReserved;
}
// Clocks
[StructLayout(LayoutKind.Sequential)]

View File

@@ -9,7 +9,9 @@ public class AmdGpuControl : IGpuControl
{
private bool _isReady;
private nint _adlContextHandle;
private readonly ADLAdapterInfo _internalDiscreteAdapter;
private readonly ADLAdapterInfo? _iGPU;
public bool IsNvidia => false;
@@ -63,8 +65,14 @@ public class AmdGpuControl : IGpuControl
if (!Adl2.Load())
return;
if (Adl2.ADL2_Main_Control_Create(1, out _adlContextHandle) != Adl2.ADL_SUCCESS)
try
{
if (Adl2.ADL2_Main_Control_Create(1, out _adlContextHandle) != Adl2.ADL_SUCCESS) return;
} catch (Exception ex)
{
Logger.WriteLine(ex.Message);
return;
}
ADLAdapterInfo? internalDiscreteAdapter = FindByType(ADLAsicFamilyType.Discrete);
@@ -74,6 +82,8 @@ public class AmdGpuControl : IGpuControl
_isReady = true;
}
_iGPU = FindByType(ADLAsicFamilyType.Integrated);
}
public bool IsValid => _isReady && _adlContextHandle != nint.Zero;
@@ -139,6 +149,52 @@ public class AmdGpuControl : IGpuControl
return true;
}
public void StartFPS()
{
if (_adlContextHandle == nint.Zero || _iGPU == null) return;
ADL2_Adapter_FrameMetrics_Start(_adlContextHandle, ((ADLAdapterInfo)_iGPU).AdapterIndex, 0);
}
public void StopFPS()
{
if (_adlContextHandle == nint.Zero || _iGPU == null) return;
ADL2_Adapter_FrameMetrics_Stop(_adlContextHandle, ((ADLAdapterInfo)_iGPU).AdapterIndex, 0);
}
public float GetFPS()
{
if (_adlContextHandle == nint.Zero || _iGPU == null) return 0;
float fps;
if (ADL2_Adapter_FrameMetrics_Get(_adlContextHandle, ((ADLAdapterInfo)_iGPU).AdapterIndex, 0, out fps) != Adl2.ADL_SUCCESS) return 0;
return fps;
}
public int GetFPSLimit()
{
if (_adlContextHandle == nint.Zero || _iGPU == null) return -1;
ADLFPSSettingsOutput settings;
if (ADL2_FPS_Settings_Get(_adlContextHandle, ((ADLAdapterInfo)_iGPU).AdapterIndex, out settings) != Adl2.ADL_SUCCESS) return -1;
Logger.WriteLine($"FPS Limit: {settings.ulACFPSCurrent}");
return settings.ulACFPSCurrent;
}
public int SetFPSLimit(int limit)
{
if (_adlContextHandle == nint.Zero || _iGPU == null) return -1;
ADLFPSSettingsInput settings = new ADLFPSSettingsInput();
settings.ulACFPSCurrent = limit;
settings.ulDCFPSCurrent = limit;
settings.bGlobalSettings = 1;
if (ADL2_FPS_Settings_Set(_adlContextHandle, ((ADLAdapterInfo)_iGPU).AdapterIndex, settings) != Adl2.ADL_SUCCESS) return 0;
return 1;
}
public ADLODNPerformanceLevels? GetGPUClocks()
{
if (!IsValid) return null;

View File

@@ -145,18 +145,6 @@ namespace GHelper.Gpu
if (eco == 1)
{
/*
if (NvidiaSmi.GetDisplayActiveStatus())
{
DialogResult dialogResult = MessageBox.Show(Properties.Strings.EnableOptimusText, Properties.Strings.EnableOptimusTitle, MessageBoxButtons.YesNo);
if (dialogResult == DialogResult.No)
{
InitGPUMode();
return;
}
}
*/
HardwareControl.KillGPUApps();
}
@@ -181,6 +169,12 @@ namespace GHelper.Gpu
Program.modeControl.SetGPUClocks(false);
}
if (AppConfig.Is("mode_reapply"))
{
await Task.Delay(TimeSpan.FromMilliseconds(3000));
Program.modeControl.AutoPerformance();
}
});
@@ -191,6 +185,8 @@ namespace GHelper.Gpu
if (SystemInformation.PowerStatus.PowerLineStatus != PowerLineStatus.Online) return false;
if (!AppConfig.Is("optimized_usbc")) return true;
if (AppConfig.ContainsModel("FA507")) Thread.Sleep(1000);
int chargerMode = Program.acpi.DeviceGet(AsusACPI.ChargerMode);
Logger.WriteLine("ChargerStatus: " + chargerMode);
@@ -290,7 +286,7 @@ namespace GHelper.Gpu
}
public void ToggleXGM()
public void ToggleXGM(bool silent = false)
{
Task.Run(async () =>
@@ -302,12 +298,20 @@ namespace GHelper.Gpu
XGM.Reset();
HardwareControl.KillGPUApps();
DialogResult dialogResult = MessageBox.Show("Did you close all applications running on XG Mobile?", "Disabling XG Mobile", MessageBoxButtons.YesNo);
if (dialogResult == DialogResult.Yes)
if (silent)
{
Program.acpi.DeviceSet(AsusACPI.GPUXG, 0, "GPU XGM");
await Task.Delay(TimeSpan.FromSeconds(15));
}
else
{
DialogResult dialogResult = MessageBox.Show("Did you close all applications running on XG Mobile?", "Disabling XG Mobile", MessageBoxButtons.YesNo);
if (dialogResult == DialogResult.Yes)
{
Program.acpi.DeviceSet(AsusACPI.GPUXG, 0, "GPU XGM");
await Task.Delay(TimeSpan.FromSeconds(15));
}
}
}
else
{

View File

@@ -13,10 +13,10 @@ public class NvidiaGpuControl : IGpuControl
{
public static int MaxCoreOffset => AppConfig.Get("max_gpu_core", 250);
public static int MaxMemoryOffset => AppConfig.Get("max_gpu_memory", 250);
public static int MaxMemoryOffset => AppConfig.Get("max_gpu_memory", 500);
public static int MinCoreOffset = AppConfig.Get("min_gpu_core", -250);
public static int MinMemoryOffset = AppConfig.Get("min_gpu_memory", -250);
public static int MinMemoryOffset = AppConfig.Get("min_gpu_memory", -500);
public const int MinClockLimit = 400;
public const int MaxClockLimit = 3000;
@@ -152,6 +152,8 @@ public class NvidiaGpuControl : IGpuControl
int _clockLimit = GetMaxGPUCLock();
if (_clockLimit < 0 && clock == 0) return 0;
if (_clockLimit != clock)
{
if (clock > 0) RunPowershellCommand($"nvidia-smi -lgc 0,{clock}");
@@ -178,10 +180,10 @@ public class NvidiaGpuControl : IGpuControl
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;
}
GetClocks(out int currentCore, out int currentMemory);
// Nothing to set
if (Math.Abs(core - currentCore) < 5 && Math.Abs(memory - currentMemory) < 5) return 0;
PhysicalGPU internalGpu = _internalGpu!;

1149
app/Handheld.Designer.cs generated Normal file

File diff suppressed because it is too large Load Diff

273
app/Handheld.cs Normal file
View File

@@ -0,0 +1,273 @@
using GHelper.Ally;
using GHelper.UI;
namespace GHelper
{
public partial class Handheld : RForm
{
static string activeBinding = "";
static RButton? activeButton;
public Handheld()
{
InitializeComponent();
InitTheme(true);
Text = Properties.Strings.Controller;
labelLSTitle.Text = Properties.Strings.LSDeadzones;
labelRSTitle.Text = Properties.Strings.RSDeadzones;
labelLTTitle.Text = Properties.Strings.LTDeadzones;
labelRTTitle.Text = Properties.Strings.RTDeadzones;
labelVibraTitle.Text = Properties.Strings.VibrationStrength;
checkController.Text = Properties.Strings.DisableController;
buttonReset.Text = Properties.Strings.Reset;
labelPrimary.Text = Properties.Strings.BindingPrimary;
labelSecondary.Text = Properties.Strings.BindingSecondary;
Shown += Handheld_Shown;
Init();
trackLSMin.Scroll += Controller_Scroll;
trackLSMax.Scroll += Controller_Scroll;
trackRSMin.Scroll += Controller_Scroll;
trackRSMax.Scroll += Controller_Scroll;
trackLTMin.Scroll += Controller_Scroll;
trackLTMax.Scroll += Controller_Scroll;
trackRTMin.Scroll += Controller_Scroll;
trackRTMax.Scroll += Controller_Scroll;
trackVibra.Scroll += Controller_Scroll;
buttonReset.Click += ButtonReset_Click;
trackLSMin.ValueChanged += Controller_Complete;
trackLSMax.ValueChanged += Controller_Complete;
trackRSMin.ValueChanged += Controller_Complete;
trackRSMax.ValueChanged += Controller_Complete;
trackLTMin.ValueChanged += Controller_Complete;
trackLTMax.ValueChanged += Controller_Complete;
trackRTMin.ValueChanged += Controller_Complete;
trackRTMax.ValueChanged += Controller_Complete;
trackVibra.ValueChanged += Controller_Complete;
ButtonBinding("m1", "M1", buttonM1);
ButtonBinding("m2", "M2", buttonM2);
ButtonBinding("a", "A", buttonA);
ButtonBinding("b", "B", buttonB);
ButtonBinding("x", "X", buttonX);
ButtonBinding("y", "Y", buttonY);
ButtonBinding("du", "DPad Up", buttonDPU);
ButtonBinding("dd", "DPad Down", buttonDPD);
ButtonBinding("dl", "DPad Left", buttonDPL);
ButtonBinding("dr", "DPad Right", buttonDPR);
ButtonBinding("rt", "Right Trigger", buttonRT);
ButtonBinding("lt", "Left Trigger", buttonLT);
ButtonBinding("rb", "Right Bumper", buttonRB);
ButtonBinding("lb", "Left Bumper", buttonLB);
ButtonBinding("rs", "Right Stick", buttonRS);
ButtonBinding("ll", "Left Stick", buttonLS);
ButtonBinding("vb", "View", buttonView);
ButtonBinding("mb", "Menu", buttonMenu);
ComboBinding(comboPrimary);
ComboBinding(comboSecondary);
checkController.Checked = AppConfig.Is("controller_disabled");
checkController.CheckedChanged += CheckController_CheckedChanged;
}
private void CheckController_CheckedChanged(object? sender, EventArgs e)
{
AppConfig.Set("controller_disabled", checkController.Checked ? 1 : 0);
AllyControl.ApplyXBoxStatus();
}
private void ComboBinding(RComboBox combo)
{
combo.DropDownStyle = ComboBoxStyle.DropDownList;
combo.DisplayMember = "Value";
combo.ValueMember = "Key";
foreach (var item in AllyControl.BindCodes)
combo.Items.Add(new KeyValuePair<string, string>(item.Key, item.Value));
combo.SelectedValueChanged += Binding_SelectedValueChanged;
}
private void Binding_SelectedValueChanged(object? sender, EventArgs e)
{
if (sender is null) return;
RComboBox combo = (RComboBox)sender;
string value = ((KeyValuePair<string, string>)combo.SelectedItem).Key;
string binding = "bind" + (combo.Name == "comboPrimary" ? "" : "2") + "_" + activeBinding;
if (value != "") AppConfig.Set(binding, value);
else AppConfig.Remove(binding);
VisualiseButton(activeButton, activeBinding);
AllyControl.ApplyMode();
}
private void SetComboValue(RComboBox combo, string value)
{
foreach (var item in AllyControl.BindCodes)
if (item.Key == value)
{
combo.SelectedItem = item;
return;
}
combo.SelectedIndex = 0;
}
private void VisualiseButton(RButton button, string binding)
{
if (button == null) return;
string primary = AppConfig.GetString("bind_" + binding, "");
string secondary = AppConfig.GetString("bind2_" + binding, "");
if (primary != "" || secondary != "")
{
button.BorderColor = colorStandard;
button.Activated = true;
}
else
{
button.Activated = false;
}
}
private void ButtonBinding(string binding, string label, RButton button)
{
button.Click += (sender, EventArgs) => { buttonBinding_Click(sender, EventArgs, binding, label); };
VisualiseButton(button, binding);
}
void buttonBinding_Click(object sender, EventArgs e, string binding, string label)
{
if (sender is null) return;
RButton button = (RButton)sender;
panelBinding.Visible = true;
activeButton = button;
activeBinding = binding;
labelBinding.Text = Properties.Strings.Binding + ": " + label;
SetComboValue(comboPrimary, AppConfig.GetString("bind_" + binding, ""));
SetComboValue(comboSecondary, AppConfig.GetString("bind2_" + binding, ""));
}
private void Controller_Complete(object? sender, EventArgs e)
{
AllyControl.SetDeadzones();
}
private void ButtonReset_Click(object? sender, EventArgs e)
{
trackLSMin.Value = 0;
trackLSMax.Value = 100;
trackRSMin.Value = 0;
trackRSMax.Value = 100;
trackLTMin.Value = 0;
trackLTMax.Value = 100;
trackRTMin.Value = 0;
trackRTMax.Value = 100;
trackVibra.Value = 100;
AppConfig.Remove("ls_min");
AppConfig.Remove("ls_max");
AppConfig.Remove("rs_min");
AppConfig.Remove("rs_max");
AppConfig.Remove("lt_min");
AppConfig.Remove("lt_max");
AppConfig.Remove("rt_min");
AppConfig.Remove("rt_max");
AppConfig.Remove("vibra");
VisualiseController();
}
private void Init()
{
trackLSMin.Value = AppConfig.Get("ls_min", 0);
trackLSMax.Value = AppConfig.Get("ls_max", 100);
trackRSMin.Value = AppConfig.Get("rs_min", 0);
trackRSMax.Value = AppConfig.Get("rs_max", 100);
trackLTMin.Value = AppConfig.Get("lt_min", 0);
trackLTMax.Value = AppConfig.Get("lt_max", 100);
trackRTMin.Value = AppConfig.Get("rt_min", 0);
trackRTMax.Value = AppConfig.Get("rt_max", 100);
trackVibra.Value = AppConfig.Get("vibra", 100);
VisualiseController();
}
private void VisualiseController()
{
labelLS.Text = $"{trackLSMin.Value} - {trackLSMax.Value}%";
labelRS.Text = $"{trackRSMin.Value} - {trackRSMax.Value}%";
labelLT.Text = $"{trackLTMin.Value} - {trackLTMax.Value}%";
labelRT.Text = $"{trackRTMin.Value} - {trackRTMax.Value}%";
labelVibra.Text = $"{trackVibra.Value}%";
}
private void Controller_Scroll(object? sender, EventArgs e)
{
AppConfig.Set("ls_min", trackLSMin.Value);
AppConfig.Set("ls_max", trackLSMax.Value);
AppConfig.Set("rs_min", trackRSMin.Value);
AppConfig.Set("rs_max", trackRSMax.Value);
AppConfig.Set("lt_min", trackLTMin.Value);
AppConfig.Set("lt_max", trackLTMax.Value);
AppConfig.Set("rt_min", trackRTMin.Value);
AppConfig.Set("rt_max", trackRTMax.Value);
AppConfig.Set("vibra", trackVibra.Value);
VisualiseController();
}
private void Handheld_Shown(object? sender, EventArgs e)
{
Height = Program.settingsForm.Height;
Top = Program.settingsForm.Top;
Left = Program.settingsForm.Left - Width - 5;
}
}
}

120
app/Handheld.resx Normal file
View File

@@ -0,0 +1,120 @@
<?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 id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<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>
</root>

View File

@@ -1,13 +1,12 @@
using GHelper;
using GHelper.Battery;
using GHelper.Fan;
using GHelper.Gpu;
using GHelper.Gpu.NVidia;
using GHelper.Gpu.AMD;
using GHelper.Gpu.NVidia;
using GHelper.Helpers;
using System.Diagnostics;
using System.Management;
using GHelper.Battery;
public static class HardwareControl
{
@@ -68,9 +67,16 @@ public static class HardwareControl
chargeCapacity = Convert.ToDecimal(obj["RemainingCapacity"]);
decimal? discharge = Program.acpi.GetBatteryDischarge();
if (discharge is not null)
{
batteryRate = discharge;
return;
}
decimal chargeRate = Convert.ToDecimal(obj["ChargeRate"]);
decimal dischargeRate = Convert.ToDecimal(obj["DischargeRate"]);
if (chargeRate > 0)
batteryRate = chargeRate / 1000;
else
@@ -155,7 +161,8 @@ public static class HardwareControl
return health;
}
public static float? GetCPUTemp() {
public static float? GetCPUTemp()
{
var last = DateTimeOffset.Now.ToUnixTimeSeconds();
if (Math.Abs(last - lastUpdate) < 2) return cpuTemp;
@@ -255,7 +262,7 @@ public static class HardwareControl
GpuControl?.Dispose();
IGpuControl _gpuControl = new NvidiaGpuControl();
if (_gpuControl.IsValid)
{
GpuControl = _gpuControl;

View File

@@ -69,12 +69,14 @@ namespace GHelper.Helpers
}
public static void DisableClamshellMode()
{
if (PowerNative.GetLidAction(true) == GetDefaultLidAction()) return;
PowerNative.SetLidAction(GetDefaultLidAction(), true);
Logger.WriteLine("Disengaging Clamshell Mode");
}
public static void EnableClamshellMode()
{
if (PowerNative.GetLidAction(true) == 0) return;
PowerNative.SetLidAction(0, true);
Logger.WriteLine("Engaging Clamshell Mode");
}

View File

@@ -26,6 +26,38 @@ namespace GHelper.Helpers
(color1.B + color2.B) / 2);
}
public static Color GetDominantColor(Bitmap bmp)
{
//Used for tally
int r = 0;
int g = 0;
int b = 0;
int total = 0;
for (int x = 0; x < bmp.Width; x++)
{
for (int y = 0; y < bmp.Height; y++)
{
Color clr = bmp.GetPixel(x, y);
r += clr.R;
g += clr.G;
b += clr.B;
total++;
}
}
//Calculate average
r /= total;
g /= total;
b /= total;
return Color.FromArgb(r, g, b);
}
public class HSV
{
public double Hue { get; set; }

View File

@@ -0,0 +1,176 @@
using System.Diagnostics;
using System.Runtime.InteropServices;
namespace GHelper.Helpers
{
public static class OnScreenKeyboard
{
static OnScreenKeyboard()
{
var version = Environment.OSVersion.Version;
switch (version.Major)
{
case 6:
switch (version.Minor)
{
case 2:
// Windows 10 (ok)
break;
}
break;
default:
break;
}
}
private static void StartTabTip()
{
var p = Process.Start(@"C:\Program Files\Common Files\Microsoft Shared\ink\TabTip.exe");
int handle = 0;
while ((handle = NativeMethods.FindWindow("IPTIP_Main_Window", "")) <= 0)
{
Thread.Sleep(100);
}
}
public static void ToggleVisibility()
{
var type = Type.GetTypeFromCLSID(Guid.Parse("4ce576fa-83dc-4F88-951c-9d0782b4e376"));
var instance = (ITipInvocation)Activator.CreateInstance(type);
instance.Toggle(NativeMethods.GetDesktopWindow());
Marshal.ReleaseComObject(instance);
}
public static void Show()
{
int handle = NativeMethods.FindWindow("IPTIP_Main_Window", "");
if (handle <= 0) // nothing found
{
StartTabTip();
Thread.Sleep(100);
}
// on some devices starting TabTip don't show keyboard, on some does ¯\_(ツ)_/¯
if (!IsOpen())
{
ToggleVisibility();
}
}
public static void Hide()
{
if (IsOpen())
{
ToggleVisibility();
}
}
public static bool Close()
{
// find it
int handle = NativeMethods.FindWindow("IPTIP_Main_Window", "");
bool active = handle > 0;
if (active)
{
// don't check style - just close
NativeMethods.SendMessage(handle, NativeMethods.WM_SYSCOMMAND, NativeMethods.SC_CLOSE, 0);
}
return active;
}
public static bool IsOpen()
{
return GetIsOpen1709() ?? GetIsOpenLegacy();
}
[DllImport("user32.dll", SetLastError = false)]
private static extern IntPtr FindWindowEx(IntPtr parent, IntPtr after, string className, string title = null);
[DllImport("user32.dll", SetLastError = false)]
private static extern uint GetWindowLong(IntPtr wnd, int index);
private static bool? GetIsOpen1709()
{
// if there is a top-level window - the keyboard is closed
var wnd = FindWindowEx(IntPtr.Zero, IntPtr.Zero, WindowClass1709, WindowCaption1709);
if (wnd != IntPtr.Zero)
return false;
var parent = IntPtr.Zero;
for (; ; )
{
parent = FindWindowEx(IntPtr.Zero, parent, WindowParentClass1709);
if (parent == IntPtr.Zero)
return null; // no more windows, keyboard state is unknown
// if it's a child of a WindowParentClass1709 window - the keyboard is open
wnd = FindWindowEx(parent, IntPtr.Zero, WindowClass1709, WindowCaption1709);
if (wnd != IntPtr.Zero)
return true;
}
}
private static bool GetIsOpenLegacy()
{
var wnd = FindWindowEx(IntPtr.Zero, IntPtr.Zero, WindowClass);
if (wnd == IntPtr.Zero)
return false;
var style = GetWindowStyle(wnd);
return style.HasFlag(WindowStyle.Visible)
&& !style.HasFlag(WindowStyle.Disabled);
}
private const string WindowClass = "IPTip_Main_Window";
private const string WindowParentClass1709 = "ApplicationFrameWindow";
private const string WindowClass1709 = "Windows.UI.Core.CoreWindow";
private const string WindowCaption1709 = "Microsoft Text Input Application";
private enum WindowStyle : uint
{
Disabled = 0x08000000,
Visible = 0x10000000,
}
private static WindowStyle GetWindowStyle(IntPtr wnd)
{
return (WindowStyle)GetWindowLong(wnd, -16);
}
}
[ComImport]
[Guid("37c994e7-432b-4834-a2f7-dce1f13b834b")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
interface ITipInvocation
{
void Toggle(IntPtr hwnd);
}
internal static class NativeMethods
{
[DllImport("user32.dll", EntryPoint = "FindWindow")]
internal static extern int FindWindow(string lpClassName, string lpWindowName);
[DllImport("user32.dll", EntryPoint = "SendMessage")]
internal static extern int SendMessage(int hWnd, uint Msg, int wParam, int lParam);
[DllImport("user32.dll", EntryPoint = "GetDesktopWindow", SetLastError = false)]
internal static extern IntPtr GetDesktopWindow();
[DllImport("user32.dll", EntryPoint = "GetWindowLong")]
internal static extern int GetWindowLong(int hWnd, int nIndex);
internal const int GWL_STYLE = -16;
internal const int GWL_EXSTYLE = -20;
internal const int WM_SYSCOMMAND = 0x0112;
internal const int SC_CLOSE = 0xF060;
internal const int WS_DISABLED = 0x08000000;
internal const int WS_VISIBLE = 0x10000000;
}
}

View File

@@ -1,7 +1,4 @@
using Microsoft.Win32;
using System.Diagnostics;
using System.Text;
using System.Text.RegularExpressions;
using System.Diagnostics;
namespace GHelper.Helpers
{
@@ -21,34 +18,15 @@ namespace GHelper.Helpers
"AsusCertService"
};
public static void SetChargeLimit(int newValue)
{
// Set the path to the .ini file
string path = @"C:\ProgramData\ASUS\ASUS System Control Interface\ASUSOptimization\Customization.ini";
static List<string> processesAC = new() {
"ArmouryCrateSE.Service",
"LightingService",
};
// Make a backup copy of the INI file
string backupPath = path + ".bak";
File.Copy(path, backupPath, true);
string fileContents = File.ReadAllText(path, Encoding.Unicode);
// Find the section [BatteryHealthCharging]
string sectionPattern = @"\[BatteryHealthCharging\]\s*(version=\d+)?\s+value=(\d+)";
Match sectionMatch = Regex.Match(fileContents, sectionPattern);
if (sectionMatch.Success)
{
// Replace the value with the new value
string oldValueString = sectionMatch.Groups[2].Value;
int oldValue = int.Parse(oldValueString);
string newSection = sectionMatch.Value.Replace($"value={oldValue}", $"value={newValue}");
// Replace the section in the file contents
fileContents = fileContents.Replace(sectionMatch.Value, newSection);
File.WriteAllText(path, fileContents, Encoding.Unicode);
}
}
static List<string> servicesAC = new() {
"ArmouryCrateSEService",
"LightingService",
};
public static bool IsRunning()
{
@@ -68,35 +46,37 @@ namespace GHelper.Helpers
{
if (Process.GetProcessesByName(service).Count() > 0) count++;
}
if (AppConfig.IsAlly())
foreach (string service in processesAC)
{
if (Process.GetProcessesByName(service).Count() > 0)
{
count++;
Logger.WriteLine(service);
}
}
return count;
}
public static void SetBacklightOffDelay(int value = 60)
{
try
{
RegistryKey myKey = Registry.LocalMachine.OpenSubKey(@"SOFTWARE\ASUS\ASUS System Control Interface\AsusOptimization\ASUS Keyboard Hotkeys", true);
if (myKey != null)
{
myKey.SetValue("TurnOffKeybdLight", value, RegistryValueKind.DWord);
myKey.Close();
}
}
catch (Exception ex)
{
Logger.WriteLine(ex.Message);
}
}
public static void StopAsusServices()
{
foreach (string service in services)
{
ProcessHelper.StopDisableService(service);
}
if (AppConfig.IsAlly())
{
foreach (string service in servicesAC)
{
ProcessHelper.StopDisableService(service, "Manual");
}
Thread.Sleep(1000);
}
}
public static void StartAsusServices()
@@ -105,6 +85,16 @@ namespace GHelper.Helpers
{
ProcessHelper.StartEnableService(service);
}
if (AppConfig.IsAlly())
{
foreach (string service in servicesAC)
{
ProcessHelper.StartEnableService(service);
}
Thread.Sleep(1000);
}
}
}

View File

@@ -37,14 +37,14 @@ namespace GHelper.Helpers
return principal.IsInRole(WindowsBuiltInRole.Administrator);
}
public static void RunAsAdmin(string? param = null)
public static void RunAsAdmin(string? param = null, bool force = false)
{
if (Math.Abs(DateTimeOffset.Now.ToUnixTimeMilliseconds() - lastAdmin) < 2000) return;
lastAdmin = DateTimeOffset.Now.ToUnixTimeMilliseconds();
// Check if the current user is an administrator
if (!IsUserAdministrator())
if (!IsUserAdministrator() || force)
{
ProcessStartInfo startInfo = new ProcessStartInfo();
startInfo.UseShellExecute = true;
@@ -94,11 +94,11 @@ namespace GHelper.Helpers
}
}
public static void StopDisableService(string serviceName)
public static void StopDisableService(string serviceName, string disable = "Disabled")
{
try
{
string script = $"Get-Service -Name \"{serviceName}\" | Stop-Service -Force -PassThru | Set-Service -StartupType Disabled";
string script = $"Get-Service -Name \"{serviceName}\" | Stop-Service -Force -PassThru | Set-Service -StartupType {disable}";
Logger.WriteLine(script);
RunCMD("powershell", script);
}

View File

@@ -1,4 +1,5 @@
using System.Drawing.Drawing2D;
using System.Diagnostics;
using System.Drawing.Drawing2D;
namespace GHelper.Helpers
{
@@ -50,7 +51,8 @@ namespace GHelper.Helpers
MicrophoneMute,
FnLock,
Battery,
Charger
Charger,
Controller
}
public class ToastForm : OSDNativeForm
@@ -111,6 +113,9 @@ namespace GHelper.Helpers
case ToastIcon.Charger:
icon = Properties.Resources.icons8_charging_battery_96;
break;
case ToastIcon.Controller:
icon = Properties.Resources.icons8_controller_96;
break;
}
@@ -130,6 +135,16 @@ namespace GHelper.Helpers
}
public static void ReadText(string text)
{
ProcessStartInfo startInfo = new ProcessStartInfo();
startInfo.FileName = "PowerShell.exe";
startInfo.Arguments = $"-Command \"Add-Type -AssemblyName System.Speech; (New-Object System.Speech.Synthesis.SpeechSynthesizer).Speak('{text}')\"";
startInfo.CreateNoWindow = true;
Process.Start(startInfo);
}
public void RunToast(string text, ToastIcon? icon = null)
{
@@ -152,6 +167,14 @@ namespace GHelper.Helpers
Show();
timer.Start();
//if (AppConfig.Is("narrator")) ReadText(text);
Program.settingsForm.AccessibilityObject.RaiseAutomationNotification(
System.Windows.Forms.Automation.AutomationNotificationKind.ActionCompleted,
System.Windows.Forms.Automation.AutomationNotificationProcessing.MostRecent,
text);
});
}

View File

@@ -116,11 +116,18 @@ namespace GHelper.Input
if (keyApp != Keys.None) hook.RegisterHotKey(ModifierKeys.Shift | ModifierKeys.Control, keyApp);
hook.RegisterHotKey(ModifierKeys.Shift | ModifierKeys.Control | ModifierKeys.Alt, Keys.F14);
hook.RegisterHotKey(ModifierKeys.Shift | ModifierKeys.Control | ModifierKeys.Alt, Keys.F15);
if (!AppConfig.Is("skip_hotkeys"))
{
hook.RegisterHotKey(ModifierKeys.Shift | ModifierKeys.Control | ModifierKeys.Alt, Keys.F14);
hook.RegisterHotKey(ModifierKeys.Shift | ModifierKeys.Control | ModifierKeys.Alt, Keys.F15);
hook.RegisterHotKey(ModifierKeys.Shift | ModifierKeys.Control | ModifierKeys.Alt, Keys.F16);
hook.RegisterHotKey(ModifierKeys.Shift | ModifierKeys.Control | ModifierKeys.Alt, Keys.F17);
hook.RegisterHotKey(ModifierKeys.Shift | ModifierKeys.Control | ModifierKeys.Alt, Keys.F18);
hook.RegisterHotKey(ModifierKeys.Shift | ModifierKeys.Control | ModifierKeys.Alt, Keys.F19);
hook.RegisterHotKey(ModifierKeys.Shift | ModifierKeys.Control | ModifierKeys.Alt, Keys.F20);
hook.RegisterHotKey(ModifierKeys.Control, Keys.VolumeDown);
hook.RegisterHotKey(ModifierKeys.Control, Keys.VolumeUp);
hook.RegisterHotKey(ModifierKeys.Shift, Keys.VolumeDown);
@@ -134,6 +141,14 @@ namespace GHelper.Input
if (actionM2 is not null && actionM2.Length > 0) hook.RegisterHotKey(ModifierKeys.None, Keys.VolumeUp);
}
if (AppConfig.IsAlly())
{
hook.RegisterHotKey(ModifierKeys.Shift | ModifierKeys.Control | ModifierKeys.Alt, Keys.F1);
hook.RegisterHotKey(ModifierKeys.Shift | ModifierKeys.Control | ModifierKeys.Alt, Keys.F2);
hook.RegisterHotKey(ModifierKeys.Shift | ModifierKeys.Control | ModifierKeys.Alt, Keys.F3);
hook.RegisterHotKey(ModifierKeys.Shift | ModifierKeys.Control | ModifierKeys.Alt, Keys.F4);
}
// FN-Lock group
if (AppConfig.Is("fn_lock") && !AppConfig.ContainsModel("VivoBook"))
@@ -232,10 +247,10 @@ namespace GHelper.Input
public void KeyPressed(object sender, KeyPressedEventArgs e)
{
Logger.WriteLine(e.Key.ToString() + " " + e.Modifier.ToString());
if (e.Modifier == ModifierKeys.None)
{
Logger.WriteLine(e.Key.ToString());
if (AppConfig.NoMKeys())
{
switch (e.Key)
@@ -351,12 +366,39 @@ namespace GHelper.Input
switch (e.Key)
{
case Keys.F1:
SetBrightness(-10);
break;
case Keys.F2:
SetBrightness(10);
break;
case Keys.F3:
Program.settingsForm.gpuControl.ToggleXGM(true);
break;
case Keys.F4:
Program.settingsForm.BeginInvoke(Program.settingsForm.allyControl.ToggleModeHotkey);
break;
case Keys.F14:
Program.settingsForm.gpuControl.SetGPUMode(AsusACPI.GPUModeEco);
break;
case Keys.F15:
Program.settingsForm.gpuControl.SetGPUMode(AsusACPI.GPUModeStandard);
break;
case Keys.F16:
modeControl.SetPerformanceMode(2, true);
break;
case Keys.F17:
modeControl.SetPerformanceMode(0, true);
break;
case Keys.F18:
modeControl.SetPerformanceMode(1, true);
break;
case Keys.F19:
modeControl.SetPerformanceMode(3, true);
break;
case Keys.F20:
modeControl.SetPerformanceMode(4, true);
break;
}
}
@@ -429,7 +471,9 @@ namespace GHelper.Input
NativeMethods.TurnOffScreen();
break;
case "miniled":
screenControl.ToogleMiniled();
if (ScreenCCD.GetHDRStatus()) return;
int miniled = screenControl.ToogleMiniled();
Program.toast.RunToast(miniled == 1 ? "Multi-Zone" : "Single-Zone", miniled == 1 ? ToastIcon.BrightnessUp : ToastIcon.BrightnessDown);
break;
case "aura":
Program.settingsForm.BeginInvoke(Program.settingsForm.CycleAuraMode);
@@ -476,6 +520,9 @@ namespace GHelper.Input
case "calculator":
LaunchProcess("calc");
break;
case "controller":
Program.settingsForm.BeginInvoke(Program.settingsForm.allyControl.ToggleModeHotkey);
break;
default:
break;
}
@@ -566,6 +613,12 @@ namespace GHelper.Input
case 56:
KeyProcess("m4");
return;
case 162:
OnScreenKeyboard.Show();
return;
case 124:
KeyProcess("m3");
return;
}
}
@@ -584,6 +637,9 @@ namespace GHelper.Input
case 55: // Arconym
KeyProcess("m6");
return;
case 136: // FN + F12
Program.acpi.DeviceSet(AsusACPI.UniversalControl, AsusACPI.Airplane, "Airplane");
return;
case 181: // FN + Numpad Enter
KeyProcess("fne");
return;
@@ -634,13 +690,19 @@ namespace GHelper.Input
{
case 16: // FN+F7
if (Control.ModifierKeys == Keys.Shift)
SetScreenpad(-10);
{
if (AppConfig.IsDUO()) SetScreenpad(-10);
else Program.settingsForm.BeginInvoke(Program.settingsForm.CycleMatrix, -1);
}
else
Program.acpi.DeviceSet(AsusACPI.UniversalControl, AsusACPI.Brightness_Down, "Brightness");
break;
case 32: // FN+F8
if (Control.ModifierKeys == Keys.Shift)
SetScreenpad(10);
{
if (AppConfig.IsDUO()) SetScreenpad(10);
else Program.settingsForm.BeginInvoke(Program.settingsForm.CycleMatrix, 1);
}
else
Program.acpi.DeviceSet(AsusACPI.UniversalControl, AsusACPI.Brightness_Up, "Brightness");
break;

View File

@@ -1,5 +1,6 @@
using HidSharp;
using GHelper.USB;
using GHelper.USB;
using HidSharp;
using System.Text;
namespace GHelper.Input
{
@@ -7,17 +8,26 @@ namespace GHelper.Input
{
CancellationTokenSource cancellationTokenSource = new CancellationTokenSource();
Action<int> _handler;
public KeyboardListener(Action<int> KeyHandler)
{
_handler = KeyHandler;
var task = Task.Run(Listen);
}
private void Listen()
{
HidStream? input = AsusHid.FindHidStream(AsusHid.INPUT_ID);
// Fallback
if (input == null)
int count = 0;
while (input == null && count++ < 10)
{
Aura.Init();
Thread.Sleep(1000);
input = input = AsusHid.FindHidStream(AsusHid.INPUT_ID);
input = AsusHid.FindHidStream(AsusHid.INPUT_ID);
}
if (input == null)
@@ -26,41 +36,38 @@ namespace GHelper.Input
return;
}
AsusHid.WriteInput(Encoding.ASCII.GetBytes("ZASUS Tech.Inc."));
Logger.WriteLine($"Input: {input.Device.DevicePath}");
var task = Task.Run(() =>
try
{
try
while (!cancellationTokenSource.Token.IsCancellationRequested)
{
while (!cancellationTokenSource.Token.IsCancellationRequested)
// Emergency break
if (input == null || !input.CanRead)
{
// Emergency break
if (input == null || !input.CanRead)
{
Logger.WriteLine("Listener terminated");
break;
}
input.ReadTimeout = int.MaxValue;
var data = input.Read();
if (data.Length > 1 && data[0] == AsusHid.INPUT_ID && data[1] > 0 && data[1] != 236)
{
Logger.WriteLine($"Key: {data[1]}");
KeyHandler(data[1]);
}
Logger.WriteLine("Listener terminated");
break;
}
Logger.WriteLine("Listener stopped");
input.ReadTimeout = int.MaxValue;
var data = input.Read();
if (data.Length > 1 && data[0] == AsusHid.INPUT_ID && data[1] > 0 && data[1] != 236)
{
Logger.WriteLine($"Key: {data[1]}");
_handler(data[1]);
}
}
catch (Exception ex)
{
Logger.WriteLine(ex.ToString());
}
});
Logger.WriteLine("Listener stopped");
}
catch (Exception ex)
{
Logger.WriteLine(ex.ToString());
}
}

71
app/Matrix.Designer.cs generated
View File

@@ -35,6 +35,10 @@
panelMain = new Panel();
panelButtons = new Panel();
buttonReset = new UI.RButton();
panelContrast = new Panel();
labelContrast = new Label();
labelContrastTitle = new Label();
trackContrast = new TrackBar();
panelRotation = new Panel();
comboRotation = new UI.RComboBox();
labelRotation = new Label();
@@ -49,6 +53,8 @@
panelPicture.SuspendLayout();
panelMain.SuspendLayout();
panelButtons.SuspendLayout();
panelContrast.SuspendLayout();
((System.ComponentModel.ISupportInitialize)trackContrast).BeginInit();
panelRotation.SuspendLayout();
panelScaling.SuspendLayout();
panelZoom.SuspendLayout();
@@ -111,6 +117,7 @@
//
panelMain.AutoSize = true;
panelMain.Controls.Add(panelButtons);
panelMain.Controls.Add(panelContrast);
panelMain.Controls.Add(panelRotation);
panelMain.Controls.Add(panelScaling);
panelMain.Controls.Add(panelZoom);
@@ -118,7 +125,7 @@
panelMain.Dock = DockStyle.Top;
panelMain.Location = new Point(20, 20);
panelMain.Name = "panelMain";
panelMain.Size = new Size(834, 814);
panelMain.Size = new Size(834, 959);
panelMain.TabIndex = 5;
//
// panelButtons
@@ -126,7 +133,7 @@
panelButtons.Controls.Add(buttonReset);
panelButtons.Controls.Add(buttonPicture);
panelButtons.Dock = DockStyle.Top;
panelButtons.Location = new Point(0, 720);
panelButtons.Location = new Point(0, 865);
panelButtons.Name = "panelButtons";
panelButtons.Size = new Size(834, 94);
panelButtons.TabIndex = 6;
@@ -150,6 +157,53 @@
buttonReset.TextImageRelation = TextImageRelation.ImageBeforeText;
buttonReset.UseVisualStyleBackColor = false;
//
// panelContrast
//
panelContrast.AutoSize = true;
panelContrast.Controls.Add(labelContrast);
panelContrast.Controls.Add(labelContrastTitle);
panelContrast.Controls.Add(trackContrast);
panelContrast.Dock = DockStyle.Top;
panelContrast.Location = new Point(0, 720);
panelContrast.Name = "panelContrast";
panelContrast.Size = new Size(834, 145);
panelContrast.TabIndex = 6;
//
// labelContrast
//
labelContrast.Anchor = AnchorStyles.Top | AnchorStyles.Right;
labelContrast.AutoSize = true;
labelContrast.Font = new Font("Segoe UI", 9F, FontStyle.Regular, GraphicsUnit.Point);
labelContrast.Location = new Point(705, 17);
labelContrast.Name = "labelContrast";
labelContrast.Size = new Size(103, 32);
labelContrast.TabIndex = 4;
labelContrast.Text = "Contrast";
//
// labelContrastTitle
//
labelContrastTitle.AutoSize = true;
labelContrastTitle.Font = new Font("Segoe UI", 9F, FontStyle.Bold, GraphicsUnit.Point);
labelContrastTitle.Location = new Point(16, 17);
labelContrastTitle.Name = "labelContrastTitle";
labelContrastTitle.Size = new Size(111, 32);
labelContrastTitle.TabIndex = 3;
labelContrastTitle.Text = "Contrast";
//
// trackContrast
//
trackContrast.LargeChange = 50;
trackContrast.Location = new Point(16, 52);
trackContrast.Maximum = 200;
trackContrast.Minimum = 10;
trackContrast.Name = "trackContrast";
trackContrast.Size = new Size(782, 90);
trackContrast.SmallChange = 10;
trackContrast.TabIndex = 2;
trackContrast.TickFrequency = 20;
trackContrast.TickStyle = TickStyle.TopLeft;
trackContrast.Value = 100;
//
// panelRotation
//
panelRotation.Controls.Add(comboRotation);
@@ -168,7 +222,7 @@
comboRotation.FormattingEnabled = true;
comboRotation.ItemHeight = 32;
comboRotation.Items.AddRange(new object[] { "Straight", "Diagonal" });
comboRotation.Location = new Point(229, 17);
comboRotation.Location = new Point(279, 17);
comboRotation.Margin = new Padding(4, 11, 4, 8);
comboRotation.Name = "comboRotation";
comboRotation.Size = new Size(322, 40);
@@ -202,7 +256,7 @@
comboScaling.FormattingEnabled = true;
comboScaling.ItemHeight = 32;
comboScaling.Items.AddRange(new object[] { "Default", "Low", "High", "Bilinear", "Bicubic", "NearestNeighbor", "HighQualityBilinear", "HighQualityBicubic" });
comboScaling.Location = new Point(229, 17);
comboScaling.Location = new Point(279, 17);
comboScaling.Margin = new Padding(4, 11, 4, 8);
comboScaling.Name = "comboScaling";
comboScaling.Size = new Size(322, 40);
@@ -256,7 +310,7 @@
AutoScaleDimensions = new SizeF(192F, 192F);
AutoScaleMode = AutoScaleMode.Dpi;
AutoSize = true;
ClientSize = new Size(874, 978);
ClientSize = new Size(874, 1006);
Controls.Add(panelMain);
MaximizeBox = false;
MinimizeBox = false;
@@ -272,6 +326,9 @@
panelMain.ResumeLayout(false);
panelMain.PerformLayout();
panelButtons.ResumeLayout(false);
panelContrast.ResumeLayout(false);
panelContrast.PerformLayout();
((System.ComponentModel.ISupportInitialize)trackContrast).EndInit();
panelRotation.ResumeLayout(false);
panelRotation.PerformLayout();
panelScaling.ResumeLayout(false);
@@ -300,5 +357,9 @@
private Panel panelRotation;
private UI.RComboBox comboRotation;
private Label labelRotation;
private Panel panelContrast;
private Label labelContrast;
private Label labelContrastTitle;
private TrackBar trackContrast;
}
}

View File

@@ -25,6 +25,14 @@ namespace GHelper
InitializeComponent();
InitTheme(true);
Text = Properties.Strings.AnimeMatrix;
labelZoomTitle.Text = Properties.Strings.Zoom;
labelScaling.Text = Properties.Strings.ScalingQuality;
labelRotation.Text = Properties.Strings.ImageRotation;
labelContrastTitle.Text = Properties.Strings.Contrast;
buttonPicture.Text = Properties.Strings.PictureGif;
buttonReset.Text = Properties.Strings.Reset;
Shown += Matrix_Shown;
FormClosing += Matrix_FormClosed;
@@ -37,9 +45,13 @@ namespace GHelper
trackZoom.MouseUp += TrackZoom_MouseUp;
trackZoom.ValueChanged += TrackZoom_Changed;
trackZoom.Value = Math.Min(trackZoom.Maximum, AppConfig.Get("matrix_zoom", 100));
VisualiseZoom();
trackContrast.MouseUp += TrackContrast_MouseUp; ;
trackContrast.ValueChanged += TrackContrast_ValueChanged; ;
trackContrast.Value = Math.Min(trackContrast.Maximum, AppConfig.Get("matrix_contrast", 100));
VisualiseMatrix();
comboScaling.DropDownStyle = ComboBoxStyle.DropDownList;
comboScaling.SelectedIndex = AppConfig.Get("matrix_quality", 0);
@@ -55,6 +67,17 @@ namespace GHelper
}
private void TrackContrast_ValueChanged(object? sender, EventArgs e)
{
VisualiseMatrix();
}
private void TrackContrast_MouseUp(object? sender, MouseEventArgs e)
{
AppConfig.Set("matrix_contrast", trackContrast.Value);
SetMatrixPicture();
}
private void ComboRotation_SelectedValueChanged(object? sender, EventArgs e)
{
AppConfig.Set("matrix_rotation", comboRotation.SelectedIndex);
@@ -77,18 +100,21 @@ namespace GHelper
GC.Collect(GC.MaxGeneration, GCCollectionMode.Forced);
}
private void VisualiseZoom()
private void VisualiseMatrix()
{
labelZoom.Text = trackZoom.Value + "%";
labelContrast.Text = trackContrast.Value + "%";
}
private void ButtonReset_Click(object? sender, EventArgs e)
{
AppConfig.Set("matrix_contrast", 100);
AppConfig.Set("matrix_zoom", 100);
AppConfig.Set("matrix_x", 0);
AppConfig.Set("matrix_y", 0);
trackZoom.Value = 100;
trackContrast.Value = 100;
SetMatrixPicture();
@@ -102,7 +128,7 @@ namespace GHelper
private void TrackZoom_Changed(object? sender, EventArgs e)
{
VisualiseZoom();
VisualiseMatrix();
}
@@ -195,7 +221,6 @@ namespace GHelper
int matrixY = AppConfig.Get("matrix_y", 0);
int matrixZoom = AppConfig.Get("matrix_zoom", 100);
float scale = Math.Min((float)panelPicture.Width / (float)width, (float)panelPicture.Height / (float)height) * matrixZoom / 100;
pictureMatrix.Width = (int)(width * scale);

View File

@@ -171,7 +171,7 @@ namespace GHelper.Mode
Task.Run(async () =>
{
await Task.Delay(TimeSpan.FromSeconds(1));
Program.acpi.DeviceSet(AsusACPI.PPT_TotalA0, 80, "PowerLimit Fix A0");
Program.acpi.DeviceSet(AsusACPI.PPT_APUA0, 80, "PowerLimit Fix A0");
Program.acpi.DeviceSet(AsusACPI.PPT_APUA3, 80, "PowerLimit Fix A3");
});
}
@@ -239,10 +239,15 @@ namespace GHelper.Mode
public void SetPower(bool launchAsAdmin = false)
{
bool allAMD = Program.acpi.IsAllAmdPPT();
int limit_total = AppConfig.GetMode("limit_total");
int limit_cpu = AppConfig.GetMode("limit_cpu");
int limit_slow = AppConfig.GetMode("limit_slow");
int limit_fast = AppConfig.GetMode("limit_fast");
if (limit_slow < 0 || allAMD) limit_slow = limit_total;
if (limit_total > AsusACPI.MaxTotal) return;
if (limit_total < AsusACPI.MinTotal) return;
@@ -252,11 +257,14 @@ namespace GHelper.Mode
if (limit_fast > AsusACPI.MaxTotal) return;
if (limit_fast < AsusACPI.MinTotal) return;
// SPL + SPPT togeher in one slider
if (Program.acpi.DeviceGet(AsusACPI.PPT_TotalA0) >= 0)
if (limit_slow > AsusACPI.MaxTotal) return;
if (limit_slow < AsusACPI.MinTotal) return;
// SPL and SPPT
if (Program.acpi.DeviceGet(AsusACPI.PPT_APUA0) >= 0)
{
Program.acpi.DeviceSet(AsusACPI.PPT_TotalA0, limit_total, "PowerLimit A0");
Program.acpi.DeviceSet(AsusACPI.PPT_APUA3, limit_total, "PowerLimit A3");
Program.acpi.DeviceSet(AsusACPI.PPT_APUA0, limit_slow, "PowerLimit A0");
customPower = limit_total;
}
else if (RyzenControl.IsAMD())
@@ -311,7 +319,6 @@ namespace GHelper.Mode
int clock_limit = AppConfig.GetMode("gpu_clock_limit");
if (core == -1 && memory == -1 && clock_limit == -1) return;
//if ((gpu_core > -5 && gpu_core < 5) && (gpu_memory > -5 && gpu_memory < 5)) launchAsAdmin = false;
if (Program.acpi.DeviceGet(AsusACPI.GPUEco) == 1) { Logger.WriteLine("Clocks: Eco"); return; }
@@ -340,16 +347,20 @@ namespace GHelper.Mode
int gpu_boost = AppConfig.GetMode("gpu_boost");
int gpu_temp = AppConfig.GetMode("gpu_temp");
int boostResult = -1;
if (gpu_boost < AsusACPI.MinGPUBoost || gpu_boost > AsusACPI.MaxGPUBoost) return;
if (gpu_temp < AsusACPI.MinGPUTemp || gpu_temp > AsusACPI.MaxGPUTemp) return;
if (Program.acpi.DeviceGet(AsusACPI.PPT_GPUC0) >= 0)
Program.acpi.DeviceSet(AsusACPI.PPT_GPUC0, gpu_boost, "PowerLimit C0");
boostResult = Program.acpi.DeviceSet(AsusACPI.PPT_GPUC0, gpu_boost, "PowerLimit C0");
if (Program.acpi.DeviceGet(AsusACPI.PPT_GPUC2) >= 0)
Program.acpi.DeviceSet(AsusACPI.PPT_GPUC2, gpu_temp, "PowerLimit C2");
if (boostResult == 0)
Program.acpi.DeviceSet(AsusACPI.PPT_GPUC0, gpu_boost, "PowerLimit C0");
}
public void SetCPUTemp(int? cpuTemp, bool log = true)
@@ -404,6 +415,8 @@ namespace GHelper.Mode
return;
}
if (!RyzenControl.IsRingExsists()) return;
try
{
SetUV(AppConfig.GetMode("cpu_uv", 0));

View File

@@ -39,9 +39,9 @@
"mode_base",
"mode_name",
"limit_total",
"limit_slow",
"limit_fast",
"limit_cpu",
"limit_total",
"fan_profile_cpu",
"fan_profile_gpu",
"fan_profile_mid",

View File

@@ -73,36 +73,38 @@ public class NativeMethods
public class PowerSettingGuid
{
// 0=Powered by AC, 1=Powered by Battery, 2=Powered by short-term source (UPC)
public Guid AcdcPowerSource { get; } = new Guid("5d3e9a59-e9D5-4b00-a6bd-ff34ff516548");
public static Guid AcdcPowerSource { get; } = new Guid("5d3e9a59-e9D5-4b00-a6bd-ff34ff516548");
// POWERBROADCAST_SETTING.Data = 1-100
public Guid BatteryPercentageRemaining { get; } = new Guid("a7ad8041-b45a-4cae-87a3-eecbb468a9e1");
public static Guid BatteryPercentageRemaining { get; } = new Guid("a7ad8041-b45a-4cae-87a3-eecbb468a9e1");
// Windows 8+: 0=Monitor Off, 1=Monitor On, 2=Monitor Dimmed
public Guid ConsoleDisplayState { get; } = new Guid("6fe69556-704a-47a0-8f24-c28d936fda47");
public static Guid ConsoleDisplayState { get; } = new Guid("6fe69556-704a-47a0-8f24-c28d936fda47");
// Windows 8+, Session 0 enabled: 0=User providing Input, 2=User Idle
public Guid GlobalUserPresence { get; } = new Guid("786E8A1D-B427-4344-9207-09E70BDCBEA9");
public static Guid GlobalUserPresence { get; } = new Guid("786E8A1D-B427-4344-9207-09E70BDCBEA9");
// 0=Monitor Off, 1=Monitor On.
public Guid MonitorPowerGuid { get; } = new Guid("02731015-4510-4526-99e6-e5a17ebd1aea");
public static Guid MonitorPowerGuid { get; } = new Guid("02731015-4510-4526-99e6-e5a17ebd1aea");
// 0=Battery Saver Off, 1=Battery Saver On.
public Guid PowerSavingStatus { get; } = new Guid("E00958C0-C213-4ACE-AC77-FECCED2EEEA5");
public static Guid PowerSavingStatus { get; } = new Guid("E00958C0-C213-4ACE-AC77-FECCED2EEEA5");
// Windows 8+: 0=Off, 1=On, 2=Dimmed
public Guid SessionDisplayStatus { get; } = new Guid("2B84C20E-AD23-4ddf-93DB-05FFBD7EFCA5");
public static Guid SessionDisplayStatus { get; } = new Guid("2B84C20E-AD23-4ddf-93DB-05FFBD7EFCA5");
// Windows 8+, no Session 0: 0=User providing Input, 2=User Idle
public Guid SessionUserPresence { get; } = new Guid("3C0F4548-C03F-4c4d-B9F2-237EDE686376");
public static Guid SessionUserPresence { get; } = new Guid("3C0F4548-C03F-4c4d-B9F2-237EDE686376");
// 0=Exiting away mode 1=Entering away mode
public Guid SystemAwaymode { get; } = new Guid("98a7f580-01f7-48aa-9c0f-44352c29e5C0");
public static Guid SystemAwaymode { get; } = new Guid("98a7f580-01f7-48aa-9c0f-44352c29e5C0");
/* Windows 8+ */
// POWERBROADCAST_SETTING.Data not used
public Guid IdleBackgroundTask { get; } = new Guid(0x515C31D8, 0xF734, 0x163D, 0xA0, 0xFD, 0x11, 0xA0, 0x8C, 0x91, 0xE8, 0xF1);
public static Guid IdleBackgroundTask { get; } = new Guid(0x515C31D8, 0xF734, 0x163D, 0xA0, 0xFD, 0x11, 0xA0, 0x8C, 0x91, 0xE8, 0xF1);
public Guid PowerSchemePersonality { get; } = new Guid(0x245D8541, 0x3943, 0x4422, 0xB0, 0x25, 0x13, 0xA7, 0x84, 0xF6, 0x79, 0xB7);
public static Guid PowerSchemePersonality { get; } = new Guid(0x245D8541, 0x3943, 0x4422, 0xB0, 0x25, 0x13, 0xA7, 0x84, 0xF6, 0x79, 0xB7);
// The Following 3 Guids are the POWERBROADCAST_SETTING.Data result of PowerSchemePersonality
public Guid MinPowerSavings { get; } = new Guid("8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c");
public Guid MaxPowerSavings { get; } = new Guid("a1841308-3541-4fab-bc81-f71556f20b4a");
public Guid TypicalPowerSavings { get; } = new Guid("381b4222-f694-41f0-9685-ff5bb260df2e");
public static Guid MinPowerSavings { get; } = new Guid("8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c");
public static Guid MaxPowerSavings { get; } = new Guid("a1841308-3541-4fab-bc81-f71556f20b4a");
public static Guid TypicalPowerSavings { get; } = new Guid("381b4222-f694-41f0-9685-ff5bb260df2e");
public static Guid LIDSWITCH_STATE_CHANGE = new Guid("ba3e0f4d-b817-4094-a2d1-d56379e6a0f3");
}

View File

@@ -1,9 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GHelper.Peripherals
{
public enum PeripheralType
@@ -19,6 +14,10 @@ namespace GHelper.Peripherals
public int Battery { get; }
public bool Charging { get; }
public bool CanExport();
public byte[] Export();
public bool Import(byte[] blob);
public PeripheralType DeviceType();
public string GetDisplayName();

View File

@@ -97,6 +97,43 @@ namespace GHelper.Peripherals.Mouse
public AnimationDirection AnimationDirection { get; set; }
public byte[] Export()
{
byte[] data = new byte[0];
data = data
.Append((byte)LightingMode) // 1 Byte
.Concat(BitConverter.GetBytes(Brightness)) // 4 Bytes
.Concat(BitConverter.GetBytes(RGBColor.ToArgb())) // 4 Bytes
.Concat(BitConverter.GetBytes(RandomColor)) // 1 Byte
.Append((byte)AnimationSpeed) // 1 Byte
.Append((byte)AnimationDirection) // 1 Byte
.ToArray();
//12 bytes
return data;
}
public bool Import(byte[] blob)
{
if (blob.Length != 12)
{
//Data must be 12 bytes
return false;
}
LightingMode = (LightingMode)blob[0];
Brightness = BitConverter.ToInt32(blob, 1);
RGBColor = Color.FromArgb(BitConverter.ToInt32(blob, 5));
RandomColor = BitConverter.ToBoolean(blob, 9);
AnimationSpeed = (AnimationSpeed)blob[10];
AnimationDirection = (AnimationDirection)blob[11];
return true;
}
public override bool Equals(object? obj)
{
return obj is LightingSetting setting &&
@@ -135,6 +172,33 @@ namespace GHelper.Peripherals.Mouse
{
return "DPI: " + DPI + ", Color (" + Color.R + ", " + Color.G + ", " + Color.B + ")";
}
public byte[] Export()
{
byte[] data = new byte[0];
data = data
.Concat(BitConverter.GetBytes(DPI)) // 4 bytes
.Concat(BitConverter.GetBytes(Color.ToArgb())) // 4 bytes
.ToArray();
//8 bytes
return data;
}
public bool Import(byte[] blob)
{
if (blob.Length != 8)
{
//Data must be 8 bytes
return false;
}
DPI = BitConverter.ToUInt32(blob, 0);
Color = Color.FromArgb(BitConverter.ToInt32(blob, 4));
return true;
}
}
public abstract class AsusMouse : Device, IPeripheral
@@ -206,6 +270,165 @@ namespace GHelper.Peripherals.Mouse
this.reportId = reportId;
}
public bool CanExport()
{
return true;
}
//GMP1 = G-Helper Mouse Profile Version 1 :D
private static readonly byte[] MAGIC = { (byte)'G', (byte)'M', (byte)'P', (byte)'1' };
public byte[] Export()
{
byte[] data = new byte[0];
data = data
.Concat(MAGIC) // 4 Byte Magic
.ToArray();
foreach (LightingSetting ls in LightingSetting)
{
data = data.Concat(ls.Export()).ToArray(); // Append 12 bytes for each Lighting setting
}
data = data // = 6 Bytes
.Concat(BitConverter.GetBytes(LowBatteryWarning)) // 4 Bytes
.Append((byte)PowerOffSetting) // 1 Byte
.Append((byte)LiftOffDistance) // 1 Byte
.ToArray();
foreach (AsusMouseDPI dpi in DpiSettings)
{
data = data.Concat(dpi.Export()).ToArray(); // Append 8 bytes for each DPI Profile
}
data = data // = 13 Bytes
.Append((byte)PollingRate) // 1 Byte
.Concat(BitConverter.GetBytes(AngleSnapping)) // 1 Byte
.Concat(BitConverter.GetBytes(AngleAdjustmentDegrees)) // 2 Bytes
.Append((byte)Debounce) // 1 Byte
.Concat(BitConverter.GetBytes(Acceleration)) // 4 Bytes
.Concat(BitConverter.GetBytes(Deceleration)) // 4 Bytes
.ToArray();
//Total length: 4 + (LightingSetting.Length * 12) + 6 + (DPIProfileCount() + 8) + 13 Bytes
return data;
}
public bool Import(byte[] blob)
{
int expectedLength = 4 + (LightingSetting.Length * 12) + 6 + (DPIProfileCount() * 8) + 13;
if (blob.Length != expectedLength)
{
//Wrong lenght. Will not decode properly anyways.
Logger.WriteLine(GetDisplayName() + " Import: Failed to import due to wrong data Lenght. Expected: " + expectedLength + " Is: " + blob.Length);
return false;
}
if (blob[0] != MAGIC[0] || blob[1] != MAGIC[1] || blob[2] != MAGIC[2] || blob[3] != MAGIC[3])
{
//MAGIC does not match. Maybe some other profile or not even a profile at all.
Logger.WriteLine(GetDisplayName() + " Import: Failed to import. Magic Wrong: " + ByteArrayToString(blob));
return false;
}
int offset = 4; // skip MAGIC
for (int i = 0; i < LightingSetting.Length; ++i)
{
byte[] data = blob.Skip(offset).Take(12).ToArray(); // Read 12 Byte blocks
offset += 12;
if (!LightingSetting[i].Import(data))
{
Logger.WriteLine(GetDisplayName() + " Import: Failed to import LightingSetting. Data: " + ByteArrayToString(data));
return false;
}
}
LowBatteryWarning = BitConverter.ToInt32(blob, offset);
offset += 4;
PowerOffSetting = (PowerOffSetting)blob[offset++];
LiftOffDistance = (LiftOffDistance)blob[offset++];
for (int i = 0; i < DpiSettings.Length; ++i)
{
byte[] data = blob.Skip(offset).Take(8).ToArray(); // Read 8 Byte blocks
offset += 8;
if (!DpiSettings[i].Import(data))
{
Logger.WriteLine(GetDisplayName() + " Import: Failed to import DPISettings. Data: " + ByteArrayToString(data));
return false;
}
}
PollingRate = (PollingRate)blob[offset++];
AngleSnapping = BitConverter.ToBoolean(blob, offset++);
AngleAdjustmentDegrees = BitConverter.ToInt16(blob, offset);
offset += 2;
Acceleration = BitConverter.ToInt32(blob, offset);
offset += 4;
Deceleration = BitConverter.ToInt32(blob, offset);
offset += 4;
//Apply Settings to the mouse
if (HasBattery())
SetEnergySettings(LowBatteryWarning, PowerOffSetting);
SetPollingRate(PollingRate);
if (HasLiftOffSetting())
SetLiftOffDistance(LiftOffDistance);
if (HasAngleSnapping())
SetAngleSnapping(AngleSnapping);
if (HasAngleTuning())
SetAngleAdjustment(AngleAdjustmentDegrees);
if (HasAcceleration())
SetAcceleration(Acceleration);
if (HasDeceleration())
SetDeceleration(Deceleration);
if (HasRGB())
{
for (int i = 0; i < SupportedLightingZones().Length; ++i)
{
LightingZone lz = SupportedLightingZones()[i];
LightingSetting ls = LightingSettingForZone(lz);
SetLightingSetting(ls, lz);
}
}
for (int i = 0; i < DPIProfileCount(); ++i)
{
AsusMouseDPI dpi = DpiSettings[i];
SetDPIForProfile(dpi, i + 1);
}
return true;
}
public override bool Equals(object? obj)
{
if (obj is not AsusMouse item)

View File

@@ -0,0 +1,300 @@
namespace GHelper.Peripherals.Mouse.Models
{
//P504
public class GladiusIIOrigin : AsusMouse
{
public GladiusIIOrigin() : base(0x0B05, 0x1877, "mi_02", false)
{
}
public GladiusIIOrigin(ushort productId, string path) : base(0x0B05, productId, path, false)
{
}
public override int DPIProfileCount()
{
return 2;
}
public override string GetDisplayName()
{
return "Gladius II Origin";
}
public override PollingRate[] SupportedPollingrates()
{
return new PollingRate[] {
PollingRate.PR125Hz,
PollingRate.PR250Hz,
PollingRate.PR500Hz,
PollingRate.PR1000Hz
};
}
public override int ProfileCount()
{
return 1;
}
public override int MaxDPI()
{
return 12_000;
}
public override bool HasRGB()
{
return true;
}
public override bool HasAutoPowerOff()
{
return false;
}
public override bool HasAngleSnapping()
{
return true;
}
public override bool HasAngleTuning()
{
return false;
}
public override bool HasDebounceSetting()
{
return true;
}
public override bool HasLiftOffSetting()
{
return true;
}
public override bool HasLowBatteryWarning()
{
return false;
}
public override bool HasBattery()
{
return false;
}
public override bool HasDPIColors()
{
return false;
}
public override bool IsLightingModeSupported(LightingMode lightingMode)
{
return lightingMode == LightingMode.Static
|| lightingMode == LightingMode.Breathing
|| lightingMode == LightingMode.ColorCycle
|| lightingMode == LightingMode.Rainbow
|| lightingMode == LightingMode.React
|| lightingMode == LightingMode.Comet;
}
public override LightingZone[] SupportedLightingZones()
{
return new LightingZone[] { LightingZone.Logo, LightingZone.Scrollwheel, LightingZone.Underglow };
}
public override int DPIIncrements()
{
return 100;
}
public override bool CanChangeDPIProfile()
{
return true;
}
public override int MaxBrightness()
{
return 4;
}
protected override byte[] GetUpdateLightingModePacket(LightingSetting lightingSetting, LightingZone zone)
{
/*
* This mouse uses different speed values for rainbow mode compared to others.
* 51 28 03 00 03 04 FF 00 00 00 00 [8C] 00 00 00 00
* 51 28 03 00 03 04 FF 00 00 00 00 [64] 00 00 00 00
* 51 28 03 00 03 04 FF 00 00 00 00 [3F] 00 00 00 00
*/
if (lightingSetting.LightingMode == LightingMode.Rainbow)
{
byte speed = 0x3F;
switch (lightingSetting.AnimationSpeed)
{
case AnimationSpeed.Slow:
speed = 0x3F;
break;
case AnimationSpeed.Medium:
speed = 0x64;
break;
case AnimationSpeed.Fast:
speed = 0x8C;
break;
}
return new byte[] { reportId, 0x51, 0x28, (byte)zone, 0x00,
IndexForLightingMode(lightingSetting.LightingMode),
(byte)lightingSetting.Brightness,
0xFF, 0x00, 0x00,
(byte)(SupportsAnimationDirection(lightingSetting.LightingMode) ? lightingSetting.AnimationDirection : 0x00),
(byte)((lightingSetting.RandomColor && SupportsRandomColor(lightingSetting.LightingMode)) ? 0x01: 0x00),
(byte)(SupportsAnimationSpeed(lightingSetting.LightingMode) ? speed : 0x00)
};
}
return base.GetUpdateLightingModePacket(lightingSetting, zone);
}
protected override byte[] GetReadLightingModePacket(LightingZone zone)
{
return new byte[] { 0x00, 0x12, 0x03, 0x00 };
}
protected LightingSetting? ParseLightingSetting(byte[] packet, LightingZone zone)
{
if (packet[1] != 0x12 || packet[2] != 0x03)
{
return null;
}
int offset = 5 + (((int)zone) * 5);
LightingSetting setting = new LightingSetting();
setting.LightingMode = LightingModeForIndex(packet[offset + 0]);
setting.Brightness = packet[offset + 1];
setting.RGBColor = Color.FromArgb(packet[offset + 2], packet[offset + 3], packet[offset + 4]);
return setting;
}
public override void ReadLightingSetting()
{
if (!HasRGB())
{
return;
}
//Mouse sends all lighting zones in one response Direction, Random col, Speed
//00 12 03 00 00 [00 04 ff 00 80] [00 04 00 ff ff] [00 04 ff ff ff] 00 [00] [00] [00] 00 00
//00 12 03 00 00 [03 04 00 00 00] [03 04 00 00 00] [03 04 00 00 00] 00 [00] [00] [07] 00 00
byte[]? response = WriteForResponse(GetReadLightingModePacket(LightingZone.All));
if (response is null) return;
LightingZone[] lz = SupportedLightingZones();
for (int i = 0; i < lz.Length; ++i)
{
LightingSetting? ls = ParseLightingSetting(response, lz[i]);
if (ls is null)
{
Logger.WriteLine(GetDisplayName() + ": Failed to read RGB Setting for Zone " + lz[i].ToString());
continue;
}
ls.AnimationDirection = SupportsAnimationDirection(ls.LightingMode)
? (AnimationDirection)response[21]
: AnimationDirection.Clockwise;
ls.RandomColor = SupportsRandomColor(ls.LightingMode) && response[22] == 0x01;
ls.AnimationSpeed = SupportsAnimationSpeed(ls.LightingMode)
? (AnimationSpeed)response[23]
: AnimationSpeed.Medium;
if (ls.AnimationSpeed != AnimationSpeed.Fast
&& ls.AnimationSpeed != AnimationSpeed.Medium
&& ls.AnimationSpeed != AnimationSpeed.Slow)
{
ls.AnimationSpeed = AnimationSpeed.Medium;
}
Logger.WriteLine(GetDisplayName() + ": Read RGB Setting for Zone " + lz[i].ToString() + ": " + ls.ToString());
LightingSetting[i] = ls;
}
}
protected override PollingRate ParsePollingRate(byte[] packet)
{
if (packet[1] == 0x12 && packet[2] == 0x04 && packet[3] == 0x00)
{
return (PollingRate)packet[9];
}
return PollingRate.PR125Hz;
}
protected override byte[] GetUpdatePollingRatePacket(PollingRate pollingRate)
{
return new byte[] { reportId, 0x51, 0x31, 0x02, 0x00, (byte)pollingRate };
}
protected override bool ParseAngleSnapping(byte[] packet)
{
if (packet[1] == 0x12 && packet[2] == 0x04 && packet[3] == 0x00)
{
return packet[13] == 0x01;
}
return false;
}
protected override byte[] GetUpdateAngleSnappingPacket(bool angleSnapping)
{
return new byte[] { reportId, 0x51, 0x31, 0x04, 0x00, (byte)(angleSnapping ? 0x01 : 0x00) };
}
protected override DebounceTime ParseDebounce(byte[] packet)
{
if (packet[1] != 0x12 || packet[2] != 0x04 || packet[3] != 0x00)
{
return DebounceTime.MS12;
}
if (packet[11] < 0x02)
{
return DebounceTime.MS12;
}
if (packet[11] > 0x07)
{
return DebounceTime.MS32;
}
return (DebounceTime)packet[11];
}
protected override byte[] GetUpdateDebouncePacket(DebounceTime debounce)
{
return new byte[] { reportId, 0x51, 0x31, 0x03, 0x00, ((byte)debounce) };
}
}
//P502
public class GladiusII : GladiusIIOrigin
{
public GladiusII() : base(0x1845, "mi_02")
{
}
public override string GetDisplayName()
{
return "Gladius II Origin";
}
public override int ProfileCount()
{
return 3;
}
}
}

View File

@@ -0,0 +1,106 @@
namespace GHelper.Peripherals.Mouse.Models
{
//SPATHA_WIRELESS
public class SpathaX : AsusMouse
{
public SpathaX() : base(0x0B05, 0x1979, "mi_00", true)
{
}
protected SpathaX(ushort vendorId, bool wireless) : base(0x0B05, vendorId, "mi_00", wireless)
{
}
public override string GetDisplayName()
{
return "ROG Spatha X (Wireless)";
}
public override PollingRate[] SupportedPollingrates()
{
return new PollingRate[] {
PollingRate.PR250Hz,
PollingRate.PR500Hz,
PollingRate.PR1000Hz
};
}
public override bool HasAngleSnapping()
{
return true;
}
public override int ProfileCount()
{
return 5;
}
public override int DPIProfileCount()
{
return 4;
}
public override int MaxDPI()
{
return 19_000;
}
public override bool HasXYDPI()
{
return false;
}
public override bool HasDebounceSetting()
{
return false;
}
public override bool HasLiftOffSetting()
{
return true;
}
public override bool HasRGB()
{
return true;
}
public override LightingZone[] SupportedLightingZones()
{
return new LightingZone[] { LightingZone.Logo, LightingZone.Scrollwheel, LightingZone.Underglow };
}
public override bool HasAutoPowerOff()
{
return true;
}
public override bool HasAngleTuning()
{
return false;
}
public override bool HasLowBatteryWarning()
{
return true;
}
public override bool HasDPIColors()
{
return true;
}
}
public class SpathaXWired : SpathaX
{
public SpathaXWired() : base(0x1977, false)
{
}
public override string GetDisplayName()
{
return "ROG Spatha X (Wired)";
}
}
}

View File

@@ -0,0 +1,179 @@
namespace GHelper.Peripherals.Mouse.Models
{
//P508
public class StrixCarry : AsusMouse
{
public StrixCarry() : base(0x0B05, 0x18B4, "mi_01", true)
{
}
public override int DPIProfileCount()
{
return 2;
}
public override string GetDisplayName()
{
return "ROG Strix Carry (Wireless)";
}
public override PollingRate[] SupportedPollingrates()
{
return new PollingRate[] {
PollingRate.PR125Hz,
PollingRate.PR250Hz,
PollingRate.PR500Hz,
PollingRate.PR1000Hz
};
}
public override int ProfileCount()
{
return 3;
}
public override int MaxDPI()
{
return 7_200;
}
public override int DPIIncrements()
{
return 100;
}
public override bool HasDebounceSetting()
{
return true;
}
public override bool HasLiftOffSetting()
{
//Potentially does nothing. AC does not show the setting, but the mouse responds to it and stores it.
return true;
}
public override bool HasRGB()
{
return false;
}
public override bool HasAutoPowerOff()
{
return true;
}
public override bool HasAngleSnapping()
{
return true;
}
public override bool HasXYDPI()
{
return false;
}
public override bool CanChangeDPIProfile()
{
return false;
}
//Has 25% increments only.
protected override int ParseBattery(byte[] packet)
{
if (packet[1] == 0x12 && packet[2] == 0x07)
{
return packet[7] * 25;
}
return -1;
}
protected override PowerOffSetting ParsePowerOffSetting(byte[] packet)
{
if (packet[1] == 0x12 && packet[2] == 0x07)
{
return (PowerOffSetting)packet[5];
}
return PowerOffSetting.Never;
}
protected override PollingRate ParsePollingRate(byte[] packet)
{
if (packet[1] == 0x12 && packet[2] == 0x04 && packet[3] == 0x00)
{
return (PollingRate)packet[9];
}
return PollingRate.PR125Hz;
}
protected override byte[] GetUpdatePollingRatePacket(PollingRate pollingRate)
{
return new byte[] { reportId, 0x51, 0x31, 0x02, 0x00, (byte)pollingRate };
}
protected override bool ParseAngleSnapping(byte[] packet)
{
if (packet[1] == 0x12 && packet[2] == 0x04 && packet[3] == 0x00)
{
return packet[13] == 0x01;
}
return false;
}
protected override byte[] GetUpdateAngleSnappingPacket(bool angleSnapping)
{
return new byte[] { reportId, 0x51, 0x31, 0x04, 0x00, (byte)(angleSnapping ? 0x01 : 0x00) };
}
protected override DebounceTime ParseDebounce(byte[] packet)
{
if (packet[1] != 0x12 || packet[2] != 0x04 || packet[3] != 0x00)
{
return DebounceTime.MS12;
}
if (packet[11] < 0x02)
{
return DebounceTime.MS12;
}
if (packet[11] > 0x07)
{
return DebounceTime.MS32;
}
return (DebounceTime)packet[11];
}
protected override byte[] GetUpdateDebouncePacket(DebounceTime debounce)
{
return new byte[] { reportId, 0x51, 0x31, 0x03, 0x00, ((byte)debounce) };
}
protected override int ParseProfile(byte[] packet)
{
if (packet[1] == 0x12 && packet[2] == 0x00 && packet[3] == 0x00)
{
return packet[10];
}
Logger.WriteLine(GetDisplayName() + ": Failed to decode active profile");
return 0;
}
protected override int ParseDPIProfile(byte[] packet)
{
if (packet[1] == 0x12 && packet[2] == 0x00 && packet[3] == 0x00)
{
return packet[11];
}
Logger.WriteLine(GetDisplayName() + ": Failed to decode active profile");
return 1;
}
protected override byte[] GetUpdateEnergySettingsPacket(int lowBatteryWarning, PowerOffSetting powerOff)
{
return new byte[] { 0x00, 0x51, 0x37, 0x00, 0x00, (byte)powerOff, 0x00, (byte)lowBatteryWarning };
}
}
}

View File

@@ -0,0 +1,77 @@
namespace GHelper.Peripherals.Mouse.Models
{
//P518
public class StrixImpactIII : AsusMouse
{
public StrixImpactIII() : base(0x0B05, 0x1A88, "mi_00", false)
{
}
public override int DPIProfileCount()
{
return 4;
}
public override string GetDisplayName()
{
return "ROG Strix Impact III";
}
public override PollingRate[] SupportedPollingrates()
{
return new PollingRate[] {
PollingRate.PR125Hz,
PollingRate.PR250Hz,
PollingRate.PR500Hz,
PollingRate.PR1000Hz
};
}
public override int ProfileCount()
{
return 3;
}
public override int MaxDPI()
{
return 12_000;
}
public override bool HasRGB()
{
return true;
}
public override LightingZone[] SupportedLightingZones()
{
return new LightingZone[] { LightingZone.Logo, LightingZone.Scrollwheel };
}
public override bool IsLightingModeSupported(LightingMode lightingMode)
{
return lightingMode == LightingMode.Static
|| lightingMode == LightingMode.Breathing
|| lightingMode == LightingMode.ColorCycle
|| lightingMode == LightingMode.React
|| lightingMode == LightingMode.Off;
}
public override bool HasBattery()
{
return false;
}
public override bool HasAngleSnapping()
{
return true;
}
public override bool HasLowBatteryWarning()
{
return false;
}
}
}

View File

@@ -7,6 +7,10 @@
{
}
public TUFM3(ushort productId, string path) : base(0x0B05, productId, path, false)
{
}
public override int DPIProfileCount()
{
return 4;
@@ -109,4 +113,22 @@
|| lightingMode == LightingMode.React;
}
}
public class TUFM3GenII : TUFM3
{
public TUFM3GenII() : base(0x1A9B, "mi_02")
{
}
public override string GetDisplayName()
{
return "TUF GAMING M3 (Gen II)";
}
public override int MaxBrightness()
{
return 100;
}
}
}

View File

@@ -187,6 +187,8 @@ namespace GHelper.Peripherals
DetectMouse(new ChakramXWired());
DetectMouse(new GladiusIIIAimpoint());
DetectMouse(new GladiusIIIAimpointWired());
DetectMouse(new GladiusIIOrigin());
DetectMouse(new GladiusII());
DetectMouse(new ROGKerisWireless());
DetectMouse(new ROGKerisWirelessWired());
DetectMouse(new ROGKerisWirelessEvaEdition());
@@ -200,6 +202,7 @@ namespace GHelper.Peripherals
DetectMouse(new HarpeAceAimLabEditionWired());
DetectMouse(new HarpeAceAimLabEditionOmni());
DetectMouse(new TUFM3());
DetectMouse(new TUFM3GenII());
DetectMouse(new TUFM5());
DetectMouse(new KerisWirelssAimpoint());
DetectMouse(new KerisWirelssAimpointWired());
@@ -209,6 +212,9 @@ namespace GHelper.Peripherals
DetectMouse(new Chakram());
DetectMouse(new ChakramWired());
DetectMouse(new ChakramCore());
DetectMouse(new SpathaX());
DetectMouse(new StrixCarry());
DetectMouse(new StrixImpactIII());
}
public static void DetectMouse(AsusMouse am)

View File

@@ -1,3 +1,4 @@
using GHelper.Ally;
using GHelper.Battery;
using GHelper.Display;
using GHelper.Gpu;
@@ -30,12 +31,13 @@ namespace GHelper
public static ModeControl modeControl = new ModeControl();
public static GPUModeControl gpuControl = new GPUModeControl(settingsForm);
public static AllyControl allyControl = new AllyControl(settingsForm);
public static ScreenControl screenControl = new ScreenControl();
public static ClamshellModeControl clamshellControl = new ClamshellModeControl();
public static ToastForm toast = new ToastForm();
public static IntPtr unRegPowerNotify;
public static IntPtr unRegPowerNotify, unRegPowerNotifyLid;
private static long lastAuto;
private static long lastTheme;
@@ -64,11 +66,12 @@ namespace GHelper
ProcessHelper.CheckAlreadyRunning();
try
{
acpi = new AsusACPI();
}
catch
Logger.WriteLine("------------");
Logger.WriteLine("App launched: " + AppConfig.GetModel() + " :" + Assembly.GetExecutingAssembly().GetName().Version.ToString() + CultureInfo.CurrentUICulture + (ProcessHelper.IsUserAdministrator() ? "." : ""));
acpi = new AsusACPI();
if (!acpi.IsConnected() && AppConfig.IsASUS())
{
DialogResult dialogResult = MessageBox.Show(Properties.Strings.ACPIError, Properties.Strings.StartupError, MessageBoxButtons.YesNo);
if (dialogResult == DialogResult.Yes)
@@ -80,9 +83,6 @@ namespace GHelper
return;
}
Logger.WriteLine("------------");
Logger.WriteLine("App launched: " + AppConfig.GetModel() + " :" + Assembly.GetExecutingAssembly().GetName().Version.ToString() + CultureInfo.CurrentUICulture + (ProcessHelper.IsUserAdministrator() ? "." : ""));
Application.EnableVisualStyles();
HardwareControl.RecreateGpuControl();
@@ -110,8 +110,8 @@ namespace GHelper
clamshellControl.ToggleLidAction();
// Subscribing for monitor power on events
PowerSettingGuid settingGuid = new NativeMethods.PowerSettingGuid();
unRegPowerNotify = NativeMethods.RegisterPowerSettingNotification(settingsForm.Handle, settingGuid.ConsoleDisplayState, NativeMethods.DEVICE_NOTIFY_WINDOW_HANDLE);
unRegPowerNotify = NativeMethods.RegisterPowerSettingNotification(settingsForm.Handle, PowerSettingGuid.ConsoleDisplayState, NativeMethods.DEVICE_NOTIFY_WINDOW_HANDLE);
unRegPowerNotifyLid = NativeMethods.RegisterPowerSettingNotification(settingsForm.Handle, PowerSettingGuid.LIDSWITCH_STATE_CHANGE, NativeMethods.DEVICE_NOTIFY_WINDOW_HANDLE);
Task task = Task.Run((Action)PeripheralsProvider.DetectAllAsusMice);
@@ -154,6 +154,7 @@ namespace GHelper
}
private static void SystemEvents_SessionEnding(object sender, SessionEndingEventArgs e)
{
gpuControl.StandardModeFix();
@@ -195,6 +196,10 @@ namespace GHelper
if (settingsForm.matrixForm is not null && settingsForm.matrixForm.Text != "")
settingsForm.matrixForm.InitTheme();
if (settingsForm.handheldForm is not null && settingsForm.handheldForm.Text != "")
settingsForm.handheldForm.InitTheme();
break;
}
}
@@ -224,8 +229,15 @@ namespace GHelper
BatteryControl.AutoBattery(init);
settingsForm.AutoKeyboard();
settingsForm.matrixControl.SetMatrix(true);
if (AppConfig.IsAlly())
{
allyControl.Init();
} else
{
settingsForm.AutoKeyboard();
}
}
private static void SystemEvents_PowerModeChanged(object sender, PowerModeChangedEventArgs e)
@@ -237,6 +249,13 @@ namespace GHelper
gpuControl.StandardModeFix();
}
int delay = AppConfig.Get("charger_delay");
if (delay > 0)
{
Logger.WriteLine($"Charger Delay: {delay}");
Thread.Sleep(delay);
}
if (SystemInformation.PowerStatus.PowerLineStatus == isPlugged) return;
SetAutoModes(true);
}
@@ -266,7 +285,11 @@ namespace GHelper
settingsForm.Activate();
settingsForm.Left = Screen.FromControl(settingsForm).WorkingArea.Width - 10 - settingsForm.Width;
settingsForm.Top = Screen.FromControl(settingsForm).WorkingArea.Height - 10 - settingsForm.Height;
if (AppConfig.IsAlly())
settingsForm.Top = Math.Max(10, Screen.FromControl(settingsForm).Bounds.Height - 110 - settingsForm.Height);
else
settingsForm.Top = Screen.FromControl(settingsForm).WorkingArea.Height - 10 - settingsForm.Height;
settingsForm.VisualiseGPUMode();
}
@@ -287,6 +310,7 @@ namespace GHelper
PeripheralsProvider.UnregisterForDeviceEvents();
clamshellControl.UnregisterDisplayEvents();
NativeMethods.UnregisterPowerSettingNotification(unRegPowerNotify);
NativeMethods.UnregisterPowerSettingNotification(unRegPowerNotifyLid);
Application.Exit();
}

View File

@@ -60,6 +60,16 @@ namespace GHelper.Properties {
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap ally {
get {
object obj = ResourceManager.GetObject("ally", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
@@ -160,6 +170,16 @@ namespace GHelper.Properties {
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap icons8_animation_32 {
get {
object obj = ResourceManager.GetObject("icons8-animation-32", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
@@ -220,6 +240,36 @@ namespace GHelper.Properties {
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap icons8_controller_32 {
get {
object obj = ResourceManager.GetObject("icons8-controller-32", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap icons8_controller_96 {
get {
object obj = ResourceManager.GetObject("icons8_controller_96", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap icons8_controls_32 {
get {
object obj = ResourceManager.GetObject("icons8-controls-32", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
@@ -290,6 +340,16 @@ namespace GHelper.Properties {
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap icons8_heartbeat_32 {
get {
object obj = ResourceManager.GetObject("icons8-heartbeat-32", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
@@ -310,6 +370,16 @@ namespace GHelper.Properties {
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap icons8_joystick_32 {
get {
object obj = ResourceManager.GetObject("icons8-joystick-32", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
@@ -430,6 +500,16 @@ namespace GHelper.Properties {
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap icons8_next_32 {
get {
object obj = ResourceManager.GetObject("icons8-next-32", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
@@ -550,6 +630,16 @@ namespace GHelper.Properties {
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap icons8_soonvibes_32 {
get {
object obj = ResourceManager.GetObject("icons8-soonvibes-32", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
@@ -610,6 +700,26 @@ namespace GHelper.Properties {
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap icons8_xbox_lt_32 {
get {
object obj = ResourceManager.GetObject("icons8-xbox-lt-32", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap icons8_xbox_rt_32 {
get {
object obj = ResourceManager.GetObject("icons8-xbox-rt-32", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>

View File

@@ -118,176 +118,170 @@
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<data name="brightness_up" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\brightness-up.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="icons8_temperature_32" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\icons8-temperature-32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="backlight_down" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\backlight-down.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="icons8_mute_unmute_96" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\icons8-mute-unmute-96.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<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>
<data name="icons8-quit-32" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\icons8-quit-32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="icons8-fiat-500-48" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\icons8-fiat-500-48.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="icons8_microphone_96" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\icons8-microphone-96.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="icons8_voltage_32" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\icons8-voltage-32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="icons8-project-management-48 (1)" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\icons8-project-management-48 (1).png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<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-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>
<data name="icons8_share_32" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\icons8-share-32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="standard" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\standard.ico;System.Drawing.Icon, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
<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_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>
<data name="eco" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\eco.ico;System.Drawing.Icon, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<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>
<data name="icons8_edit_32" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\icons8-edit-32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<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_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>
</data>
<data name="icons8-log-32" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\icons8-log-32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="icons8_function" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\icons8-function-mac-96.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="icons8-keyboard-32 (1)" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\icons8-keyboard-32 (1).png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<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 name="icons8_microphone_96" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\icons8-microphone-96.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 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="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 name="eco" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\eco.ico;System.Drawing.Icon, 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 name="icons8_mute_unmute_96" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\icons8-mute-unmute-96.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="icons8-keyboard-32" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\icons8-keyboard-32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
<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_fan_32" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\icons8-fan-32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
<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_software_32" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\icons8-software-32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
<data name="icons8-quit-32" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\icons8-quit-32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="icons8-gauge-32" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\icons8-gauge-32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
<data name="icons8-controller-32" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\icons8-controller-32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="icons8-leaf-48" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\icons8-leaf-48.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
<data name="icons8-controls-32" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\icons8-controls-32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<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 name="icons8-next-32" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\icons8-next-32.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-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="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>
<data name="icons8-settings-32" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\icons8-settings-32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
<data name="brightness_up" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\brightness-up.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="icons8_processor_32" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\icons8-processor-32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="icons8-fiat-500-48" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\icons8-fiat-500-48.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-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-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-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>
<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="ally" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\ally.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_share_32" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\icons8-share-32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="icons8_function" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\icons8-function-mac-96.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="icons8-joystick-32" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\icons8-joystick-32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="icons8-keyboard-32 (1)" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\icons8-keyboard-32 (1).png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="icons8-xbox-lt-32" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\icons8-xbox-lt-32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<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="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>
<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>
<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>
<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-keyboard-32" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\icons8-keyboard-32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="icons8-xbox-rt-32" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\icons8-xbox-rt-32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="icons8_controller_96" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\icons8-controller-96.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<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-settings-32" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\icons8-settings-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_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>
<data name="icons8-animation-32" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\icons8-animation-32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="dot_ultimate" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\dot-ultimate.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="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="backlight_down" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\backlight-down.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>
<data name="dot_standard" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\dot-standard.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-project-management-48 (1)" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\icons8-project-management-48 (1).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-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>
</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="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 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="MFont" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Font.otf;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
@@ -295,10 +289,49 @@
<data name="dot_eco" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\dot-eco.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="dot_standard" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\dot-standard.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
<data name="icons8-gauge-32" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\icons8-gauge-32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="dot_ultimate" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\dot-ultimate.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
<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>
<data name="icons8_fan_32" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\icons8-fan-32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="icons8_voltage_32" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\icons8-voltage-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-log-32" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\icons8-log-32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="icons8_temperature_32" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\icons8-temperature-32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="icons8-leaf-48" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\icons8-leaf-48.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_software_32" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\icons8-software-32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="standard" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\standard.ico;System.Drawing.Icon, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="icons8-soonvibes-32" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\icons8-soonvibes-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-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="icons8-heartbeat-32" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\icons8-heartbeat-32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
</root>

View File

@@ -141,6 +141,15 @@ namespace GHelper.Properties {
}
}
/// <summary>
/// Looks up a localized string similar to Ally Controller.
/// </summary>
internal static string AllyController {
get {
return ResourceManager.GetString("AllyController", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Animation Speed.
/// </summary>
@@ -456,6 +465,24 @@ namespace GHelper.Properties {
}
}
/// <summary>
/// Looks up a localized string similar to Backlight Timeout when on battery.
/// </summary>
internal static string BacklightTimeoutBattery {
get {
return ResourceManager.GetString("BacklightTimeoutBattery", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Backlight Timeout when plugged.
/// </summary>
internal static string BacklightTimeoutPlugged {
get {
return ResourceManager.GetString("BacklightTimeoutPlugged", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Balanced.
/// </summary>
@@ -501,6 +528,33 @@ namespace GHelper.Properties {
}
}
/// <summary>
/// Looks up a localized string similar to Binding.
/// </summary>
internal static string Binding {
get {
return ResourceManager.GetString("Binding", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Primary.
/// </summary>
internal static string BindingPrimary {
get {
return ResourceManager.GetString("BindingPrimary", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Secondary.
/// </summary>
internal static string BindingSecondary {
get {
return ResourceManager.GetString("BindingSecondary", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to BIOS and Driver Updates.
/// </summary>
@@ -582,6 +636,24 @@ namespace GHelper.Properties {
}
}
/// <summary>
/// Looks up a localized string similar to Contrast.
/// </summary>
internal static string Contrast {
get {
return ResourceManager.GetString("Contrast", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Controller.
/// </summary>
internal static string Controller {
get {
return ResourceManager.GetString("Controller", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to CPU Boost.
/// </summary>
@@ -618,6 +690,15 @@ namespace GHelper.Properties {
}
}
/// <summary>
/// Looks up a localized string similar to Disable Controller.
/// </summary>
internal static string DisableController {
get {
return ResourceManager.GetString("DisableController", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Disable screen overdrive.
/// </summary>
@@ -672,6 +753,15 @@ namespace GHelper.Properties {
}
}
/// <summary>
/// Looks up a localized string similar to Enable GPU on shutdown (prevents issue with Eco mode).
/// </summary>
internal static string EnableGPUOnShutdown {
get {
return ResourceManager.GetString("EnableGPUOnShutdown", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Disabling the dGPU by going into Eco mode while Display Mode in NVIDIA Control Panel is not set to Optimus might cause problems with brightness controls until after the next reboot.
///
@@ -700,6 +790,15 @@ namespace GHelper.Properties {
return ResourceManager.GetString("EnergySettings", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Export.
/// </summary>
internal static string Export {
get {
return ResourceManager.GetString("Export", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Extra.
@@ -917,6 +1016,24 @@ namespace GHelper.Properties {
}
}
/// <summary>
/// Looks up a localized string similar to Image Rotation.
/// </summary>
internal static string ImageRotation {
get {
return ResourceManager.GetString("ImageRotation", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Import.
/// </summary>
internal static string Import {
get {
return ResourceManager.GetString("Import", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Key Bindings.
/// </summary>
@@ -1016,6 +1133,24 @@ namespace GHelper.Properties {
}
}
/// <summary>
/// Looks up a localized string similar to Left Stick Deadzones.
/// </summary>
internal static string LSDeadzones {
get {
return ResourceManager.GetString("LSDeadzones", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Left Trigger Deadzones.
/// </summary>
internal static string LTDeadzones {
get {
return ResourceManager.GetString("LTDeadzones", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Audio Visualizer.
/// </summary>
@@ -1159,6 +1294,15 @@ namespace GHelper.Properties {
return ResourceManager.GetString("MouseButtonResponse", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Import failed. Selected file is not a valid mouse profile or corrutpted.
/// </summary>
internal static string MouseImportFailed {
get {
return ResourceManager.GetString("MouseImportFailed", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Lift Off Distance.
@@ -1197,7 +1341,7 @@ namespace GHelper.Properties {
}
/// <summary>
/// Looks up a localized string similar to Multizone.
/// Looks up a localized string similar to Multi Zone.
/// </summary>
internal static string Multizone {
get {
@@ -1205,6 +1349,15 @@ namespace GHelper.Properties {
}
}
/// <summary>
/// Looks up a localized string similar to Multi Zone Strong.
/// </summary>
internal static string MultizoneStrong {
get {
return ResourceManager.GetString("MultizoneStrong", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Mute Mic.
/// </summary>
@@ -1250,6 +1403,15 @@ namespace GHelper.Properties {
}
}
/// <summary>
/// Looks up a localized string similar to One Zone.
/// </summary>
internal static string OneZone {
get {
return ResourceManager.GetString("OneZone", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Open G-Helper window.
/// </summary>
@@ -1394,6 +1556,15 @@ namespace GHelper.Properties {
}
}
/// <summary>
/// Looks up a localized string similar to Reset.
/// </summary>
internal static string Reset {
get {
return ResourceManager.GetString("Reset", resourceCulture);
}
}
/// <summary>
/// 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>
@@ -1412,6 +1583,24 @@ namespace GHelper.Properties {
}
}
/// <summary>
/// Looks up a localized string similar to Right Stick Deadzones.
/// </summary>
internal static string RSDeadzones {
get {
return ResourceManager.GetString("RSDeadzones", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Right Trigger Deadzones.
/// </summary>
internal static string RTDeadzones {
get {
return ResourceManager.GetString("RTDeadzones", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Run on Startup.
/// </summary>
@@ -1421,6 +1610,15 @@ namespace GHelper.Properties {
}
}
/// <summary>
/// Looks up a localized string similar to Scaling Quality.
/// </summary>
internal static string ScalingQuality {
get {
return ResourceManager.GetString("ScalingQuality", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Screenpad Brightness Down.
/// </summary>
@@ -1655,6 +1853,15 @@ namespace GHelper.Properties {
}
}
/// <summary>
/// Looks up a localized string similar to Vibration Strength.
/// </summary>
internal static string VibrationStrength {
get {
return ResourceManager.GetString("VibrationStrength", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Volume Down.
/// </summary>
@@ -1690,5 +1897,14 @@ namespace GHelper.Properties {
return ResourceManager.GetString("WindowTop", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Zoom.
/// </summary>
internal static string Zoom {
get {
return ResourceManager.GetString("Zoom", resourceCulture);
}
}
}
}

View File

@@ -144,6 +144,9 @@
<data name="AlertUltimateTitle" xml:space="preserve">
<value>Jetzt neu starten?</value>
</data>
<data name="AllyController" xml:space="preserve">
<value>Ally Controller</value>
</data>
<data name="AnimationSpeed" xml:space="preserve">
<value>Animationsgeschwindigkeit</value>
</data>
@@ -249,6 +252,12 @@
<data name="BacklightTimeout" xml:space="preserve">
<value>Timeout angeschlossen / bei Akku (0 - AN)</value>
</data>
<data name="BacklightTimeoutBattery" xml:space="preserve">
<value>Backlight Timeout when on battery</value>
</data>
<data name="BacklightTimeoutPlugged" xml:space="preserve">
<value>Backlight Timeout when plugged</value>
</data>
<data name="Balanced" xml:space="preserve">
<value>Ausbalanciert</value>
</data>
@@ -264,6 +273,15 @@
<data name="BatteryLimitFull" xml:space="preserve">
<value>Einmalig auf 100% aufladen</value>
</data>
<data name="Binding" xml:space="preserve">
<value>Binding</value>
</data>
<data name="BindingPrimary" xml:space="preserve">
<value>Primary</value>
</data>
<data name="BindingSecondary" xml:space="preserve">
<value>Secondary</value>
</data>
<data name="BiosAndDriverUpdates" xml:space="preserve">
<value>BIOS und Treiber Updates</value>
</data>
@@ -291,6 +309,12 @@
<data name="Color" xml:space="preserve">
<value>Farbe</value>
</data>
<data name="Contrast" xml:space="preserve">
<value>Contrast</value>
</data>
<data name="Controller" xml:space="preserve">
<value>Controller</value>
</data>
<data name="CPUBoost" xml:space="preserve">
<value>CPU-Boost</value>
</data>
@@ -303,6 +327,9 @@
<data name="Default" xml:space="preserve">
<value>Standard</value>
</data>
<data name="DisableController" xml:space="preserve">
<value>Disable Controller</value>
</data>
<data name="DisableOverdrive" xml:space="preserve">
<value>Bildschirm: Overdrive abschalten</value>
</data>
@@ -321,6 +348,9 @@
<data name="EcoMode" xml:space="preserve">
<value>Eco</value>
</data>
<data name="EnableGPUOnShutdown" xml:space="preserve">
<value>Enable GPU on shutdown (prevents issue with Eco mode)</value>
</data>
<data name="EnableOptimusText" xml:space="preserve">
<value>Die dGPU zu deaktivieren, indem Sie in den Eco-Modus wechseln während der Anzeigemodus nicht auf Optimus eingestellt ist, kann zu Problemen mit der Helligkeitseinstellung führen.
@@ -332,6 +362,9 @@ Trotzdem fortfahren?</value>
<data name="EnergySettings" xml:space="preserve">
<value>Energieeinstellungen</value>
</data>
<data name="Export" xml:space="preserve">
<value>Export Profile</value>
</data>
<data name="Extra" xml:space="preserve">
<value>Extra</value>
</data>
@@ -404,6 +437,12 @@ Trotzdem fortfahren?</value>
<data name="High" xml:space="preserve">
<value>Hoch</value>
</data>
<data name="ImageRotation" xml:space="preserve">
<value>Image Rotation</value>
</data>
<data name="Import" xml:space="preserve">
<value>Import Profile</value>
</data>
<data name="KeyBindings" xml:space="preserve">
<value>Tastenbelegung</value>
</data>
@@ -437,6 +476,12 @@ Trotzdem fortfahren?</value>
<data name="Low" xml:space="preserve">
<value>Niedrig</value>
</data>
<data name="LSDeadzones" xml:space="preserve">
<value>Left Stick Deadzones</value>
</data>
<data name="LTDeadzones" xml:space="preserve">
<value>Left Trigger Deadzones</value>
</data>
<data name="MatrixAudio" xml:space="preserve">
<value>Audio Visualisierung</value>
</data>
@@ -485,6 +530,9 @@ Trotzdem fortfahren?</value>
<data name="MouseButtonResponse" xml:space="preserve">
<value>Tastenreaktionsgeschwindigkeit</value>
</data>
<data name="MouseImportFailed" xml:space="preserve">
<value>Import failed. Selected file is not a valid mouse profile or corrutpted.</value>
</data>
<data name="MouseLiftOffDistance" xml:space="preserve">
<value>Lift Off Distance</value>
</data>
@@ -498,7 +546,10 @@ Trotzdem fortfahren?</value>
<value>Maus synchronisieren</value>
</data>
<data name="Multizone" xml:space="preserve">
<value>Multi-Zone</value>
<value>Multi Zone</value>
</data>
<data name="MultizoneStrong" xml:space="preserve">
<value>Multi Zone Strong</value>
</data>
<data name="MuteMic" xml:space="preserve">
<value>Mikrofon stummschalten</value>
@@ -515,6 +566,9 @@ Trotzdem fortfahren?</value>
<data name="NotConnected" xml:space="preserve">
<value>Nicht verbunden</value>
</data>
<data name="OneZone" xml:space="preserve">
<value>One Zone</value>
</data>
<data name="OpenGHelper" xml:space="preserve">
<value>G-Helper Fenster öffnen</value>
</data>
@@ -563,15 +617,27 @@ Trotzdem fortfahren?</value>
<data name="Quit" xml:space="preserve">
<value>Schließen</value>
</data>
<data name="Reset" xml:space="preserve">
<value>Reset</value>
</data>
<data name="RestartGPU" xml:space="preserve">
<value>Ein Prozess verhindert den Wechsel in den Eco-Modus. dGPU neu starten? Fortfahren auf eigene Gefahr.</value>
</data>
<data name="RPM" xml:space="preserve">
<value>U/Min</value>
</data>
<data name="RSDeadzones" xml:space="preserve">
<value>Right Stick Deadzones</value>
</data>
<data name="RTDeadzones" xml:space="preserve">
<value>Right Trigger Deadzones</value>
</data>
<data name="RunOnStartup" xml:space="preserve">
<value>Beim Start ausführen</value>
</data>
<data name="ScalingQuality" xml:space="preserve">
<value>Scaling Quality</value>
</data>
<data name="ScreenPadDown" xml:space="preserve">
<value>Screenpad Helligkeit verringern</value>
</data>
@@ -650,6 +716,9 @@ Trotzdem fortfahren?</value>
<data name="VersionLabel" xml:space="preserve">
<value>Version</value>
</data>
<data name="VibrationStrength" xml:space="preserve">
<value>Vibration Strength</value>
</data>
<data name="VolumeDown" xml:space="preserve">
<value>Lautstärke verringern</value>
</data>
@@ -662,4 +731,7 @@ Trotzdem fortfahren?</value>
<data name="WindowTop" xml:space="preserve">
<value>Fenster immer über allen anderen</value>
</data>
<data name="Zoom" xml:space="preserve">
<value>Zoom</value>
</data>
</root>

View File

@@ -124,10 +124,10 @@
<value>No se pudo conectar con ASUS ACPI. La aplicación no puede funcionar sin el recurso. Instale Asus System Control Interface</value>
</data>
<data name="AlertAPUMemoryRestart" xml:space="preserve">
<value>Restart your device to apply changes</value>
<value>Reinicia el dispositivo para aplicar los cambios</value>
</data>
<data name="AlertAPUMemoryRestartTitle" xml:space="preserve">
<value>Restart now?</value>
<value>¿Reiniciar ahora?</value>
</data>
<data name="AlertDGPU" xml:space="preserve">
<value>Detectado uso intensivo de la GPU, ¿deshabilitarla?</value>
@@ -144,6 +144,9 @@
<data name="AlertUltimateTitle" xml:space="preserve">
<value>¿Reiniciar ahora?</value>
</data>
<data name="AllyController" xml:space="preserve">
<value>Ally Controller</value>
</data>
<data name="AnimationSpeed" xml:space="preserve">
<value>Velocidad</value>
</data>
@@ -169,7 +172,7 @@
<value>Autoajustar plan de energía Windows</value>
</data>
<data name="APUMemory" xml:space="preserve">
<value>Memory Assigned to GPU</value>
<value>Memoria asignada a GPU</value>
</data>
<data name="AsusServicesRunning" xml:space="preserve">
<value>Servicios de Asus en ejecución</value>
@@ -249,6 +252,12 @@
<data name="BacklightTimeout" xml:space="preserve">
<value>Tiempo de espera conectado / con batería (0 - ON)</value>
</data>
<data name="BacklightTimeoutBattery" xml:space="preserve">
<value>Tiempo de retroiluminación con batería</value>
</data>
<data name="BacklightTimeoutPlugged" xml:space="preserve">
<value>Tiempo de retroiluminación conectado</value>
</data>
<data name="Balanced" xml:space="preserve">
<value>Equilibrado</value>
</data>
@@ -264,6 +273,15 @@
<data name="BatteryLimitFull" xml:space="preserve">
<value>Cargar una vez al 100%</value>
</data>
<data name="Binding" xml:space="preserve">
<value>Binding</value>
</data>
<data name="BindingPrimary" xml:space="preserve">
<value>Primary</value>
</data>
<data name="BindingSecondary" xml:space="preserve">
<value>Secondary</value>
</data>
<data name="BiosAndDriverUpdates" xml:space="preserve">
<value>Actualizaciones de BIOS y Drivers</value>
</data>
@@ -291,6 +309,12 @@
<data name="Color" xml:space="preserve">
<value>Color</value>
</data>
<data name="Contrast" xml:space="preserve">
<value>Contrast</value>
</data>
<data name="Controller" xml:space="preserve">
<value>Controller</value>
</data>
<data name="CPUBoost" xml:space="preserve">
<value>CPU Boost</value>
</data>
@@ -303,6 +327,9 @@
<data name="Default" xml:space="preserve">
<value>Por defecto</value>
</data>
<data name="DisableController" xml:space="preserve">
<value>Disable Controller</value>
</data>
<data name="DisableOverdrive" xml:space="preserve">
<value>Desactivar Overdrive</value>
</data>
@@ -321,6 +348,9 @@
<data name="EcoMode" xml:space="preserve">
<value>Eco</value>
</data>
<data name="EnableGPUOnShutdown" xml:space="preserve">
<value>Enable GPU on shutdown (prevents issue with Eco mode)</value>
</data>
<data name="EnableOptimusText" xml:space="preserve">
<value>Deshabilitar la dGPU cambiando a modo Eco mientras el Modo de Pantalla en el Panel de Control de NVIDIA no está configurado en Optimus puede causar problemas con el control del brillo hasta después del próximo reinicio.
@@ -332,6 +362,9 @@
<data name="EnergySettings" xml:space="preserve">
<value>Ajustes de energía</value>
</data>
<data name="Export" xml:space="preserve">
<value>Export Profile</value>
</data>
<data name="Extra" xml:space="preserve">
<value>Adicional</value>
</data>
@@ -404,6 +437,12 @@
<data name="High" xml:space="preserve">
<value>Alto</value>
</data>
<data name="ImageRotation" xml:space="preserve">
<value>Image Rotation</value>
</data>
<data name="Import" xml:space="preserve">
<value>Import Profile</value>
</data>
<data name="KeyBindings" xml:space="preserve">
<value>Atajos de teclado</value>
</data>
@@ -437,6 +476,12 @@
<data name="Low" xml:space="preserve">
<value>Bajo</value>
</data>
<data name="LSDeadzones" xml:space="preserve">
<value>Left Stick Deadzones</value>
</data>
<data name="LTDeadzones" xml:space="preserve">
<value>Left Trigger Deadzones</value>
</data>
<data name="MatrixAudio" xml:space="preserve">
<value>Visualizador de audio</value>
</data>
@@ -485,6 +530,9 @@
<data name="MouseButtonResponse" xml:space="preserve">
<value>Respuesta del botón</value>
</data>
<data name="MouseImportFailed" xml:space="preserve">
<value>Import failed. Selected file is not a valid mouse profile or corrutpted.</value>
</data>
<data name="MouseLiftOffDistance" xml:space="preserve">
<value>Distancia de despegue (LOD)</value>
</data>
@@ -500,6 +548,9 @@
<data name="Multizone" xml:space="preserve">
<value>Multizona</value>
</data>
<data name="MultizoneStrong" xml:space="preserve">
<value>Multizona fuerte</value>
</data>
<data name="MuteMic" xml:space="preserve">
<value>Silenciar micrófono</value>
</data>
@@ -515,6 +566,9 @@
<data name="NotConnected" xml:space="preserve">
<value>No conectado</value>
</data>
<data name="OneZone" xml:space="preserve">
<value>Una zona</value>
</data>
<data name="OpenGHelper" xml:space="preserve">
<value>Abrir ventana G-Helper</value>
</data>
@@ -563,15 +617,27 @@
<data name="Quit" xml:space="preserve">
<value>Quitar</value>
</data>
<data name="Reset" xml:space="preserve">
<value>Reset</value>
</data>
<data name="RestartGPU" xml:space="preserve">
<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>
</data>
<data name="RSDeadzones" xml:space="preserve">
<value>Right Stick Deadzones</value>
</data>
<data name="RTDeadzones" xml:space="preserve">
<value>Right Trigger Deadzones</value>
</data>
<data name="RunOnStartup" xml:space="preserve">
<value>Ejecutar al inicio</value>
</data>
<data name="ScalingQuality" xml:space="preserve">
<value>Scaling Quality</value>
</data>
<data name="ScreenPadDown" xml:space="preserve">
<value>Bajar brillo ScreenPad</value>
</data>
@@ -650,6 +716,9 @@
<data name="VersionLabel" xml:space="preserve">
<value>Versión</value>
</data>
<data name="VibrationStrength" xml:space="preserve">
<value>Vibration Strength</value>
</data>
<data name="VolumeDown" xml:space="preserve">
<value>Bajar volumen</value>
</data>
@@ -662,4 +731,7 @@
<data name="WindowTop" xml:space="preserve">
<value>Mantener aplicación siempre visible</value>
</data>
<data name="Zoom" xml:space="preserve">
<value>Zoom</value>
</data>
</root>

View File

@@ -124,10 +124,10 @@
<value>Connexion impossible avec ASUS ACPI. L'application ne peut fonctionner sans. Veuillez installer Asus System Control Interface</value>
</data>
<data name="AlertAPUMemoryRestart" xml:space="preserve">
<value>Restart your device to apply changes</value>
<value>Redémarrez votre appareil pour appliquer les modifications</value>
</data>
<data name="AlertAPUMemoryRestartTitle" xml:space="preserve">
<value>Restart now?</value>
<value>Redémarrer maintenant ?</value>
</data>
<data name="AlertDGPU" xml:space="preserve">
<value>Le GPU semble être surchargé, voulez vous le désactiver ?</value>
@@ -144,6 +144,9 @@
<data name="AlertUltimateTitle" xml:space="preserve">
<value>Redémarrer maintenant ?</value>
</data>
<data name="AllyController" xml:space="preserve">
<value>Contrôleur Ally </value>
</data>
<data name="AnimationSpeed" xml:space="preserve">
<value>Vitesse de l'animation</value>
</data>
@@ -169,7 +172,7 @@
<value>Ajustement auto des modes de gestion alim. Windows</value>
</data>
<data name="APUMemory" xml:space="preserve">
<value>Memory Assigned to GPU</value>
<value>Mémoire attribuée au GPU</value>
</data>
<data name="AsusServicesRunning" xml:space="preserve">
<value>Services Asus actifs</value>
@@ -247,7 +250,13 @@
<value>Allumé</value>
</data>
<data name="BacklightTimeout" xml:space="preserve">
<value>Délai d'activation de la batterie (0 - ON)</value>
<value>Délai branché / sur batterie (0 - ON)</value>
</data>
<data name="BacklightTimeoutBattery" xml:space="preserve">
<value>Délai de rétro-éclairage sur batterie</value>
</data>
<data name="BacklightTimeoutPlugged" xml:space="preserve">
<value>Délai de rétro-éclairage sur secteur</value>
</data>
<data name="Balanced" xml:space="preserve">
<value>Équilibré</value>
@@ -264,6 +273,15 @@
<data name="BatteryLimitFull" xml:space="preserve">
<value>Charge unique à 100%</value>
</data>
<data name="Binding" xml:space="preserve">
<value>Liaison</value>
</data>
<data name="BindingPrimary" xml:space="preserve">
<value>Primaire</value>
</data>
<data name="BindingSecondary" xml:space="preserve">
<value>Secondaire</value>
</data>
<data name="BiosAndDriverUpdates" xml:space="preserve">
<value>Mise à jour BIOS et pilotes</value>
</data>
@@ -291,6 +309,12 @@
<data name="Color" xml:space="preserve">
<value>Couleur</value>
</data>
<data name="Contrast" xml:space="preserve">
<value>Contraste</value>
</data>
<data name="Controller" xml:space="preserve">
<value>Contrôleur</value>
</data>
<data name="CPUBoost" xml:space="preserve">
<value>CPU Boost</value>
</data>
@@ -303,6 +327,9 @@
<data name="Default" xml:space="preserve">
<value>Par défaut</value>
</data>
<data name="DisableController" xml:space="preserve">
<value>Désactiver le contrôleur</value>
</data>
<data name="DisableOverdrive" xml:space="preserve">
<value>Désactiver l'overdrive de l'écran</value>
</data>
@@ -321,8 +348,11 @@
<data name="EcoMode" xml:space="preserve">
<value>Éco</value>
</data>
<data name="EnableGPUOnShutdown" xml:space="preserve">
<value>Activer le GPU lors de l'arrêt (empêche les problèmes avec le mode Éco)</value>
</data>
<data name="EnableOptimusText" xml:space="preserve">
<value>Désactiver la dGPU en passant au mode Eco pendant que le mode d'affichage dans le panneau de configuration NVIDIA n'est pas réglé sur Optimus peut causer des problèmes avec les commandes de luminosité jusqu'au prochain redémarrage.
<value>Désactiver le dGPU en passant au mode Eco pendant que le mode d'affichage dans le panneau de configuration NVIDIA n'est pas réglé sur Optimus peut causer des problèmes avec les commandes de luminosité jusqu'au prochain redémarrage.
Voulez-vous continuer ?</value>
</data>
@@ -332,6 +362,9 @@ Voulez-vous continuer ?</value>
<data name="EnergySettings" xml:space="preserve">
<value>Paramètres d'énergie</value>
</data>
<data name="Export" xml:space="preserve">
<value>Exporter un profil</value>
</data>
<data name="Extra" xml:space="preserve">
<value>+ d'options</value>
</data>
@@ -354,7 +387,7 @@ Voulez-vous continuer ?</value>
<value>Profil du ventilateur central</value>
</data>
<data name="FanProfiles" xml:space="preserve">
<value>Profil</value>
<value>Profil des ventilateurs</value>
</data>
<data name="FansAndPower" xml:space="preserve">
<value>Ventilateurs + Puissance</value>
@@ -399,11 +432,17 @@ Voulez-vous continuer ?</value>
<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>
<value>Minutes avant mise en veille prolongée sur batterie (0 - OFF)</value>
</data>
<data name="High" xml:space="preserve">
<value>Élevé</value>
</data>
<data name="ImageRotation" xml:space="preserve">
<value>Rotation de l'image</value>
</data>
<data name="Import" xml:space="preserve">
<value>Importer un profil</value>
</data>
<data name="KeyBindings" xml:space="preserve">
<value>Raccourcis clavier</value>
</data>
@@ -414,7 +453,7 @@ Voulez-vous continuer ?</value>
<value>Arrêter toutes les applications utilisant la dGPU lors du passage au mode Eco</value>
</data>
<data name="LaptopBacklight" xml:space="preserve">
<value>Rétroéclairage de l'ordinateur</value>
<value>Rétroéclairage du clavier</value>
</data>
<data name="LaptopKeyboard" xml:space="preserve">
<value>Clavier de l'ordinateur</value>
@@ -437,6 +476,12 @@ Voulez-vous continuer ?</value>
<data name="Low" xml:space="preserve">
<value>Faible</value>
</data>
<data name="LSDeadzones" xml:space="preserve">
<value>Stick gauche des zones mortes</value>
</data>
<data name="LTDeadzones" xml:space="preserve">
<value>Gâchette gauche des zones mortes</value>
</data>
<data name="MatrixAudio" xml:space="preserve">
<value>Visualiseur Audio</value>
</data>
@@ -483,7 +528,10 @@ Voulez-vous continuer ?</value>
<value>Arrêt automatique après</value>
</data>
<data name="MouseButtonResponse" xml:space="preserve">
<value>Button Response</value>
<value>Réponse du bouton</value>
</data>
<data name="MouseImportFailed" xml:space="preserve">
<value>Échec de l'importation. Le fichier sélectionné n'est pas un profil de souris valide ou corrompu.</value>
</data>
<data name="MouseLiftOffDistance" xml:space="preserve">
<value>Lift Off Distance</value>
@@ -498,7 +546,10 @@ Voulez-vous continuer ?</value>
<value>Synchroniser avec le pointeur</value>
</data>
<data name="Multizone" xml:space="preserve">
<value>Multi-zone</value>
<value>Multi Zone</value>
</data>
<data name="MultizoneStrong" xml:space="preserve">
<value>Multi Zone Strong</value>
</data>
<data name="MuteMic" xml:space="preserve">
<value>Désactiver le micro</value>
@@ -515,6 +566,9 @@ Voulez-vous continuer ?</value>
<data name="NotConnected" xml:space="preserve">
<value>Non connecté</value>
</data>
<data name="OneZone" xml:space="preserve">
<value>Une zone</value>
</data>
<data name="OpenGHelper" xml:space="preserve">
<value>Ouvrir G-Helper</value>
</data>
@@ -546,7 +600,7 @@ Voulez-vous continuer ?</value>
<value>Lecture / Pause</value>
</data>
<data name="PollingRate" xml:space="preserve">
<value>Polling Rate</value>
<value>Fréquence d'interrogation</value>
</data>
<data name="PowerLimits" xml:space="preserve">
<value>Limites de puissance</value>
@@ -563,15 +617,27 @@ Voulez-vous continuer ?</value>
<data name="Quit" xml:space="preserve">
<value>Quitter</value>
</data>
<data name="Reset" xml:space="preserve">
<value>Réinitialiser</value>
</data>
<data name="RestartGPU" xml:space="preserve">
<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>
</data>
<data name="RSDeadzones" xml:space="preserve">
<value>Stick droit des zones mortes</value>
</data>
<data name="RTDeadzones" xml:space="preserve">
<value>Gâchette droite des zones mortes</value>
</data>
<data name="RunOnStartup" xml:space="preserve">
<value>Exécuter au démarrage</value>
</data>
<data name="ScalingQuality" xml:space="preserve">
<value>Qualité de Mise à l'échelle (Scaling)</value>
</data>
<data name="ScreenPadDown" xml:space="preserve">
<value>Baisser la luminosité du Screenpad</value>
</data>
@@ -650,6 +716,9 @@ Voulez-vous continuer ?</value>
<data name="VersionLabel" xml:space="preserve">
<value>Version </value>
</data>
<data name="VibrationStrength" xml:space="preserve">
<value>Intensité de la vibration</value>
</data>
<data name="VolumeDown" xml:space="preserve">
<value>Vol-</value>
</data>
@@ -662,4 +731,7 @@ Voulez-vous continuer ?</value>
<data name="WindowTop" xml:space="preserve">
<value>Maintenir la fenêtre au premier plan</value>
</data>
<data name="Zoom" xml:space="preserve">
<value>Zoom</value>
</data>
</root>

View File

@@ -144,6 +144,9 @@
<data name="AlertUltimateTitle" xml:space="preserve">
<value>Újraindítja most?</value>
</data>
<data name="AllyController" xml:space="preserve">
<value>Ally Controller</value>
</data>
<data name="AnimationSpeed" xml:space="preserve">
<value>Animáció sebessége</value>
</data>
@@ -249,6 +252,12 @@
<data name="BacklightTimeout" xml:space="preserve">
<value>Késleltetés töltés / akku módban (0 - BE)</value>
</data>
<data name="BacklightTimeoutBattery" xml:space="preserve">
<value>Backlight Timeout when on battery</value>
</data>
<data name="BacklightTimeoutPlugged" xml:space="preserve">
<value>Backlight Timeout when plugged</value>
</data>
<data name="Balanced" xml:space="preserve">
<value>Teljesítmény</value>
</data>
@@ -264,6 +273,15 @@
<data name="BatteryLimitFull" xml:space="preserve">
<value>One time charge to 100%</value>
</data>
<data name="Binding" xml:space="preserve">
<value>Binding</value>
</data>
<data name="BindingPrimary" xml:space="preserve">
<value>Primary</value>
</data>
<data name="BindingSecondary" xml:space="preserve">
<value>Secondary</value>
</data>
<data name="BiosAndDriverUpdates" xml:space="preserve">
<value>BIOS és illesztőprogram frissítések</value>
</data>
@@ -291,6 +309,12 @@
<data name="Color" xml:space="preserve">
<value>Szín</value>
</data>
<data name="Contrast" xml:space="preserve">
<value>Contrast</value>
</data>
<data name="Controller" xml:space="preserve">
<value>Controller</value>
</data>
<data name="CPUBoost" xml:space="preserve">
<value>CPU gyorsítás</value>
</data>
@@ -303,6 +327,9 @@
<data name="Default" xml:space="preserve">
<value>Alapért.</value>
</data>
<data name="DisableController" xml:space="preserve">
<value>Disable Controller</value>
</data>
<data name="DisableOverdrive" xml:space="preserve">
<value>Képernyőtúlhajtás letiltása</value>
</data>
@@ -321,6 +348,9 @@
<data name="EcoMode" xml:space="preserve">
<value>Eco</value>
</data>
<data name="EnableGPUOnShutdown" xml:space="preserve">
<value>Enable GPU on shutdown (prevents issue with Eco mode)</value>
</data>
<data name="EnableOptimusText" xml:space="preserve">
<value>Disabling the dGPU by going into Eco mode while Display Mode in NVIDIA Control Panel is not set to Optimus might cause problems with brightness controls until after the next reboot.
@@ -332,6 +362,9 @@ Do you still want to continue?</value>
<data name="EnergySettings" xml:space="preserve">
<value>Energia beállítások</value>
</data>
<data name="Export" xml:space="preserve">
<value>Export Profile</value>
</data>
<data name="Extra" xml:space="preserve">
<value>Extra</value>
</data>
@@ -404,6 +437,12 @@ Do you still want to continue?</value>
<data name="High" xml:space="preserve">
<value>Magas</value>
</data>
<data name="ImageRotation" xml:space="preserve">
<value>Image Rotation</value>
</data>
<data name="Import" xml:space="preserve">
<value>Import Profile</value>
</data>
<data name="KeyBindings" xml:space="preserve">
<value>Gyorsbillentyűk</value>
</data>
@@ -437,6 +476,12 @@ Do you still want to continue?</value>
<data name="Low" xml:space="preserve">
<value>Alacsony</value>
</data>
<data name="LSDeadzones" xml:space="preserve">
<value>Left Stick Deadzones</value>
</data>
<data name="LTDeadzones" xml:space="preserve">
<value>Left Trigger Deadzones</value>
</data>
<data name="MatrixAudio" xml:space="preserve">
<value>Hang vizualizáció</value>
</data>
@@ -485,6 +530,9 @@ Do you still want to continue?</value>
<data name="MouseButtonResponse" xml:space="preserve">
<value>Gomb funkciója</value>
</data>
<data name="MouseImportFailed" xml:space="preserve">
<value>Import failed. Selected file is not a valid mouse profile or corrutpted.</value>
</data>
<data name="MouseLiftOffDistance" xml:space="preserve">
<value>Lift Off Distance</value>
</data>
@@ -498,7 +546,10 @@ Do you still want to continue?</value>
<value>Szinkronizálás egérrel</value>
</data>
<data name="Multizone" xml:space="preserve">
<value>Többzónás</value>
<value>Multi Zone</value>
</data>
<data name="MultizoneStrong" xml:space="preserve">
<value>Multi Zone Strong</value>
</data>
<data name="MuteMic" xml:space="preserve">
<value>Mikrofon némítása</value>
@@ -515,6 +566,9 @@ Do you still want to continue?</value>
<data name="NotConnected" xml:space="preserve">
<value>Nincs csatlakoztatva</value>
</data>
<data name="OneZone" xml:space="preserve">
<value>One Zone</value>
</data>
<data name="OpenGHelper" xml:space="preserve">
<value>G-Helper ablak megnyitása</value>
</data>
@@ -563,15 +617,27 @@ Do you still want to continue?</value>
<data name="Quit" xml:space="preserve">
<value>Bezárás</value>
</data>
<data name="Reset" xml:space="preserve">
<value>Reset</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. Próbálja meg a G-Helper újraindítani a dGPU-t az eszközkezelőben? (Kérjük, saját felelősségére folytassa)</value>
</data>
<data name="RPM" xml:space="preserve">
<value>Fordulatszám</value>
</data>
<data name="RSDeadzones" xml:space="preserve">
<value>Right Stick Deadzones</value>
</data>
<data name="RTDeadzones" xml:space="preserve">
<value>Right Trigger Deadzones</value>
</data>
<data name="RunOnStartup" xml:space="preserve">
<value>Indítás a rendszerrel</value>
</data>
<data name="ScalingQuality" xml:space="preserve">
<value>Scaling Quality</value>
</data>
<data name="ScreenPadDown" xml:space="preserve">
<value>Screenpad Brightness Down</value>
</data>
@@ -650,6 +716,9 @@ Do you still want to continue?</value>
<data name="VersionLabel" xml:space="preserve">
<value>Verzió</value>
</data>
<data name="VibrationStrength" xml:space="preserve">
<value>Vibration Strength</value>
</data>
<data name="VolumeDown" xml:space="preserve">
<value>Lehalkítás</value>
</data>
@@ -662,4 +731,7 @@ Do you still want to continue?</value>
<data name="WindowTop" xml:space="preserve">
<value>Alkalmazás maradjon mindig felül</value>
</data>
<data name="Zoom" xml:space="preserve">
<value>Zoom</value>
</data>
</root>

View File

@@ -144,6 +144,9 @@
<data name="AlertUltimateTitle" xml:space="preserve">
<value>Mulai ulang sekarang?</value>
</data>
<data name="AllyController" xml:space="preserve">
<value>Ally Controller</value>
</data>
<data name="AnimationSpeed" xml:space="preserve">
<value>Kecepatan Animasi</value>
</data>
@@ -249,6 +252,12 @@
<data name="BacklightTimeout" xml:space="preserve">
<value>Waktu tunggu dicolokan / menggunakan baterai (0 - Hidup)</value>
</data>
<data name="BacklightTimeoutBattery" xml:space="preserve">
<value>Backlight Timeout when on battery</value>
</data>
<data name="BacklightTimeoutPlugged" xml:space="preserve">
<value>Backlight Timeout when plugged</value>
</data>
<data name="Balanced" xml:space="preserve">
<value>Seimbang</value>
</data>
@@ -264,6 +273,15 @@
<data name="BatteryLimitFull" xml:space="preserve">
<value>Isi daya sekali hingga mencapai 100%</value>
</data>
<data name="Binding" xml:space="preserve">
<value>Binding</value>
</data>
<data name="BindingPrimary" xml:space="preserve">
<value>Primary</value>
</data>
<data name="BindingSecondary" xml:space="preserve">
<value>Secondary</value>
</data>
<data name="BiosAndDriverUpdates" xml:space="preserve">
<value>Pembaruan BIOS dan Driver</value>
</data>
@@ -291,6 +309,12 @@
<data name="Color" xml:space="preserve">
<value>Warna</value>
</data>
<data name="Contrast" xml:space="preserve">
<value>Contrast</value>
</data>
<data name="Controller" xml:space="preserve">
<value>Controller</value>
</data>
<data name="CPUBoost" xml:space="preserve">
<value>CPU Boost</value>
</data>
@@ -303,6 +327,9 @@
<data name="Default" xml:space="preserve">
<value>Standar</value>
</data>
<data name="DisableController" xml:space="preserve">
<value>Disable Controller</value>
</data>
<data name="DisableOverdrive" xml:space="preserve">
<value>Nonaktifkan screen overdrive</value>
</data>
@@ -321,6 +348,9 @@
<data name="EcoMode" xml:space="preserve">
<value>Eco</value>
</data>
<data name="EnableGPUOnShutdown" xml:space="preserve">
<value>Enable GPU on shutdown (prevents issue with Eco mode)</value>
</data>
<data name="EnableOptimusText" xml:space="preserve">
<value>Menonaktikan dGPU dengan masuk ke mode Eco saat Mode Tampilan di Panel Kontrol NVIDIA tidak diatur ke Optimus mungkin dapat menyebabkan masalah dengan kontrol kecerahan hingga mulai ulang berikutnya.
@@ -332,6 +362,9 @@ Apakah Anda masih ingin melanjutkan?</value>
<data name="EnergySettings" xml:space="preserve">
<value>Pengaturan Energi</value>
</data>
<data name="Export" xml:space="preserve">
<value>Export Profile</value>
</data>
<data name="Extra" xml:space="preserve">
<value>Ekstra</value>
</data>
@@ -404,6 +437,12 @@ Apakah Anda masih ingin melanjutkan?</value>
<data name="High" xml:space="preserve">
<value>Tinggi</value>
</data>
<data name="ImageRotation" xml:space="preserve">
<value>Image Rotation</value>
</data>
<data name="Import" xml:space="preserve">
<value>Import Profile</value>
</data>
<data name="KeyBindings" xml:space="preserve">
<value>Pintasan Keyboard</value>
</data>
@@ -437,6 +476,12 @@ Apakah Anda masih ingin melanjutkan?</value>
<data name="Low" xml:space="preserve">
<value>Rendah</value>
</data>
<data name="LSDeadzones" xml:space="preserve">
<value>Left Stick Deadzones</value>
</data>
<data name="LTDeadzones" xml:space="preserve">
<value>Left Trigger Deadzones</value>
</data>
<data name="MatrixAudio" xml:space="preserve">
<value>Visualisasi Audio</value>
</data>
@@ -485,6 +530,9 @@ Apakah Anda masih ingin melanjutkan?</value>
<data name="MouseButtonResponse" xml:space="preserve">
<value>Respon Tombol</value>
</data>
<data name="MouseImportFailed" xml:space="preserve">
<value>Import failed. Selected file is not a valid mouse profile or corrutpted.</value>
</data>
<data name="MouseLiftOffDistance" xml:space="preserve">
<value>Jarak Angkat</value>
</data>
@@ -498,7 +546,10 @@ Apakah Anda masih ingin melanjutkan?</value>
<value>Sinkronkan dengan mouse</value>
</data>
<data name="Multizone" xml:space="preserve">
<value>Multizona</value>
<value>Multi Zone</value>
</data>
<data name="MultizoneStrong" xml:space="preserve">
<value>Multi Zone Strong</value>
</data>
<data name="MuteMic" xml:space="preserve">
<value>Bisukan Mic</value>
@@ -515,6 +566,9 @@ Apakah Anda masih ingin melanjutkan?</value>
<data name="NotConnected" xml:space="preserve">
<value>Tidak Tersambung</value>
</data>
<data name="OneZone" xml:space="preserve">
<value>One Zone</value>
</data>
<data name="OpenGHelper" xml:space="preserve">
<value>Buka Jendela G-Helper</value>
</data>
@@ -563,15 +617,27 @@ Apakah Anda masih ingin melanjutkan?</value>
<data name="Quit" xml:space="preserve">
<value>Keluar</value>
</data>
<data name="Reset" xml:space="preserve">
<value>Reset</value>
</data>
<data name="RestartGPU" xml:space="preserve">
<value>Ada yang menggunakan dGPU dan mencegah mode Eco. Biarkan G-Helper mencoba memulai ulang dGPU di pengelola perangkat? (Silakan lanjutkan dengan risiko Anda sendiri)</value>
</data>
<data name="RPM" xml:space="preserve">
<value>RPM</value>
</data>
<data name="RSDeadzones" xml:space="preserve">
<value>Right Stick Deadzones</value>
</data>
<data name="RTDeadzones" xml:space="preserve">
<value>Right Trigger Deadzones</value>
</data>
<data name="RunOnStartup" xml:space="preserve">
<value>Jalankan di Startup</value>
</data>
<data name="ScalingQuality" xml:space="preserve">
<value>Scaling Quality</value>
</data>
<data name="ScreenPadDown" xml:space="preserve">
<value>Kurangi Kecerahan Screenpad</value>
</data>
@@ -650,6 +716,9 @@ Apakah Anda masih ingin melanjutkan?</value>
<data name="VersionLabel" xml:space="preserve">
<value>Versi</value>
</data>
<data name="VibrationStrength" xml:space="preserve">
<value>Vibration Strength</value>
</data>
<data name="VolumeDown" xml:space="preserve">
<value>Volume Turun</value>
</data>
@@ -662,4 +731,7 @@ Apakah Anda masih ingin melanjutkan?</value>
<data name="WindowTop" xml:space="preserve">
<value>Jaga agar jendela aplikasi selalu di atas</value>
</data>
<data name="Zoom" xml:space="preserve">
<value>Zoom</value>
</data>
</root>

View File

@@ -144,6 +144,9 @@
<data name="AlertUltimateTitle" xml:space="preserve">
<value>Riavviare ora?</value>
</data>
<data name="AllyController" xml:space="preserve">
<value>Ally Controller</value>
</data>
<data name="AnimationSpeed" xml:space="preserve">
<value>Velocità animazione</value>
</data>
@@ -249,6 +252,12 @@
<data name="BacklightTimeout" xml:space="preserve">
<value>Timeout in carica / a batteria (0 - ACCESO)</value>
</data>
<data name="BacklightTimeoutBattery" xml:space="preserve">
<value>Backlight Timeout when on battery</value>
</data>
<data name="BacklightTimeoutPlugged" xml:space="preserve">
<value>Backlight Timeout when plugged</value>
</data>
<data name="Balanced" xml:space="preserve">
<value>Bilanciato</value>
</data>
@@ -264,6 +273,15 @@
<data name="BatteryLimitFull" xml:space="preserve">
<value>One time charge to 100%</value>
</data>
<data name="Binding" xml:space="preserve">
<value>Binding</value>
</data>
<data name="BindingPrimary" xml:space="preserve">
<value>Primary</value>
</data>
<data name="BindingSecondary" xml:space="preserve">
<value>Secondary</value>
</data>
<data name="BiosAndDriverUpdates" xml:space="preserve">
<value>Aggiornamenti Driver e BIOS</value>
</data>
@@ -291,6 +309,12 @@
<data name="Color" xml:space="preserve">
<value>Colore</value>
</data>
<data name="Contrast" xml:space="preserve">
<value>Contrast</value>
</data>
<data name="Controller" xml:space="preserve">
<value>Controller</value>
</data>
<data name="CPUBoost" xml:space="preserve">
<value>Boost CPU</value>
</data>
@@ -303,6 +327,9 @@
<data name="Default" xml:space="preserve">
<value>Default</value>
</data>
<data name="DisableController" xml:space="preserve">
<value>Disable Controller</value>
</data>
<data name="DisableOverdrive" xml:space="preserve">
<value>Disabilita Overdrive Schermo</value>
</data>
@@ -321,6 +348,9 @@
<data name="EcoMode" xml:space="preserve">
<value>Eco</value>
</data>
<data name="EnableGPUOnShutdown" xml:space="preserve">
<value>Enable GPU on shutdown (prevents issue with Eco mode)</value>
</data>
<data name="EnableOptimusText" xml:space="preserve">
<value>Disabilitare la dGPU impostando la modalità Eco quando non è attiva la modalità schermo Optimus nel Pannello di Controllo NVIDIA può causare problemi al controllo della luminosità fino al prossimo riavvio.
@@ -332,6 +362,9 @@ Sei sicuro di voler continuare?</value>
<data name="EnergySettings" xml:space="preserve">
<value>Risparmio Energia</value>
</data>
<data name="Export" xml:space="preserve">
<value>Export Profile</value>
</data>
<data name="Extra" xml:space="preserve">
<value>Extra</value>
</data>
@@ -404,6 +437,12 @@ Sei sicuro di voler continuare?</value>
<data name="High" xml:space="preserve">
<value>Elevato</value>
</data>
<data name="ImageRotation" xml:space="preserve">
<value>Image Rotation</value>
</data>
<data name="Import" xml:space="preserve">
<value>Import Profile</value>
</data>
<data name="KeyBindings" xml:space="preserve">
<value>Associazione Tasti</value>
</data>
@@ -437,6 +476,12 @@ Sei sicuro di voler continuare?</value>
<data name="Low" xml:space="preserve">
<value>Basso</value>
</data>
<data name="LSDeadzones" xml:space="preserve">
<value>Left Stick Deadzones</value>
</data>
<data name="LTDeadzones" xml:space="preserve">
<value>Left Trigger Deadzones</value>
</data>
<data name="MatrixAudio" xml:space="preserve">
<value>Visualizzatore Audio</value>
</data>
@@ -485,6 +530,9 @@ Sei sicuro di voler continuare?</value>
<data name="MouseButtonResponse" xml:space="preserve">
<value>Risposta Tasto Mouse</value>
</data>
<data name="MouseImportFailed" xml:space="preserve">
<value>Import failed. Selected file is not a valid mouse profile or corrutpted.</value>
</data>
<data name="MouseLiftOffDistance" xml:space="preserve">
<value>Lift Off Distance</value>
</data>
@@ -498,7 +546,10 @@ Sei sicuro di voler continuare?</value>
<value>Sincronizza con Mouse</value>
</data>
<data name="Multizone" xml:space="preserve">
<value>Multizona</value>
<value>Multi Zone</value>
</data>
<data name="MultizoneStrong" xml:space="preserve">
<value>Multi Zone Strong</value>
</data>
<data name="MuteMic" xml:space="preserve">
<value>Silenzia microfono</value>
@@ -515,6 +566,9 @@ Sei sicuro di voler continuare?</value>
<data name="NotConnected" xml:space="preserve">
<value>Non Connesso</value>
</data>
<data name="OneZone" xml:space="preserve">
<value>One Zone</value>
</data>
<data name="OpenGHelper" xml:space="preserve">
<value>Apri G-Helper</value>
</data>
@@ -563,15 +617,27 @@ Sei sicuro di voler continuare?</value>
<data name="Quit" xml:space="preserve">
<value>Esci</value>
</data>
<data name="Reset" xml:space="preserve">
<value>Reset</value>
</data>
<data name="RestartGPU" xml:space="preserve">
<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>
</data>
<data name="RSDeadzones" xml:space="preserve">
<value>Right Stick Deadzones</value>
</data>
<data name="RTDeadzones" xml:space="preserve">
<value>Right Trigger Deadzones</value>
</data>
<data name="RunOnStartup" xml:space="preserve">
<value>Esegui all'Avvio</value>
</data>
<data name="ScalingQuality" xml:space="preserve">
<value>Scaling Quality</value>
</data>
<data name="ScreenPadDown" xml:space="preserve">
<value>Riduci luminosità Screenpad</value>
</data>
@@ -650,6 +716,9 @@ Sei sicuro di voler continuare?</value>
<data name="VersionLabel" xml:space="preserve">
<value>Versione</value>
</data>
<data name="VibrationStrength" xml:space="preserve">
<value>Vibration Strength</value>
</data>
<data name="VolumeDown" xml:space="preserve">
<value>Diminuisci Volume</value>
</data>
@@ -662,4 +731,7 @@ Sei sicuro di voler continuare?</value>
<data name="WindowTop" xml:space="preserve">
<value>Mantieni applicazione sempre in primo piano</value>
</data>
<data name="Zoom" xml:space="preserve">
<value>Zoom</value>
</data>
</root>

View File

@@ -144,6 +144,9 @@
<data name="AlertUltimateTitle" xml:space="preserve">
<value>다시 시작하시겠습니까?</value>
</data>
<data name="AllyController" xml:space="preserve">
<value>Ally Controller</value>
</data>
<data name="AnimationSpeed" xml:space="preserve">
<value>애니메이션 속도</value>
</data>
@@ -249,6 +252,12 @@
<data name="BacklightTimeout" xml:space="preserve">
<value>전원 / 배터리 사용 중 자동 꺼짐 시간 (0 - 항상 켜짐)</value>
</data>
<data name="BacklightTimeoutBattery" xml:space="preserve">
<value>Backlight Timeout when on battery</value>
</data>
<data name="BacklightTimeoutPlugged" xml:space="preserve">
<value>Backlight Timeout when plugged</value>
</data>
<data name="Balanced" xml:space="preserve">
<value>균형</value>
</data>
@@ -264,6 +273,15 @@
<data name="BatteryLimitFull" xml:space="preserve">
<value>One time charge to 100%</value>
</data>
<data name="Binding" xml:space="preserve">
<value>Binding</value>
</data>
<data name="BindingPrimary" xml:space="preserve">
<value>Primary</value>
</data>
<data name="BindingSecondary" xml:space="preserve">
<value>Secondary</value>
</data>
<data name="BiosAndDriverUpdates" xml:space="preserve">
<value>바이오스/드라이버 업데이트</value>
</data>
@@ -291,6 +309,12 @@
<data name="Color" xml:space="preserve">
<value>색상</value>
</data>
<data name="Contrast" xml:space="preserve">
<value>Contrast</value>
</data>
<data name="Controller" xml:space="preserve">
<value>Controller</value>
</data>
<data name="CPUBoost" xml:space="preserve">
<value>CPU 부스트</value>
</data>
@@ -303,6 +327,9 @@
<data name="Default" xml:space="preserve">
<value>기본</value>
</data>
<data name="DisableController" xml:space="preserve">
<value>Disable Controller</value>
</data>
<data name="DisableOverdrive" xml:space="preserve">
<value>화면 OD 끄기</value>
</data>
@@ -321,6 +348,9 @@
<data name="EcoMode" xml:space="preserve">
<value>Eco</value>
</data>
<data name="EnableGPUOnShutdown" xml:space="preserve">
<value>Enable GPU on shutdown (prevents issue with Eco mode)</value>
</data>
<data name="EnableOptimusText" xml:space="preserve">
<value>NVIDIA 디스플레이 모드가 Optimus로 설정되어 있지 않을 때 Eco 모드로 전환하여 dGPU를 비활성화하면 다시 시작하기 전까지 밝기 조절 문제가 생길 수 있습니다.
@@ -332,6 +362,9 @@
<data name="EnergySettings" xml:space="preserve">
<value>Energy Settings</value>
</data>
<data name="Export" xml:space="preserve">
<value>Export Profile</value>
</data>
<data name="Extra" xml:space="preserve">
<value>추가 설정</value>
</data>
@@ -404,6 +437,12 @@
<data name="High" xml:space="preserve">
<value>높게</value>
</data>
<data name="ImageRotation" xml:space="preserve">
<value>Image Rotation</value>
</data>
<data name="Import" xml:space="preserve">
<value>Import Profile</value>
</data>
<data name="KeyBindings" xml:space="preserve">
<value>키 설정</value>
</data>
@@ -437,6 +476,12 @@
<data name="Low" xml:space="preserve">
<value>낮게</value>
</data>
<data name="LSDeadzones" xml:space="preserve">
<value>Left Stick Deadzones</value>
</data>
<data name="LTDeadzones" xml:space="preserve">
<value>Left Trigger Deadzones</value>
</data>
<data name="MatrixAudio" xml:space="preserve">
<value>오디오 비주얼라이저</value>
</data>
@@ -485,6 +530,9 @@
<data name="MouseButtonResponse" xml:space="preserve">
<value>버튼 응답</value>
</data>
<data name="MouseImportFailed" xml:space="preserve">
<value>Import failed. Selected file is not a valid mouse profile or corrutpted.</value>
</data>
<data name="MouseLiftOffDistance" xml:space="preserve">
<value>들어올림 거리</value>
</data>
@@ -498,7 +546,10 @@
<value>마우스와 동기화</value>
</data>
<data name="Multizone" xml:space="preserve">
<value>멀티존</value>
<value>Multi Zone</value>
</data>
<data name="MultizoneStrong" xml:space="preserve">
<value>Multi Zone Strong</value>
</data>
<data name="MuteMic" xml:space="preserve">
<value>마이크 음소거</value>
@@ -515,6 +566,9 @@
<data name="NotConnected" xml:space="preserve">
<value>연결되지 않음</value>
</data>
<data name="OneZone" xml:space="preserve">
<value>One Zone</value>
</data>
<data name="OpenGHelper" xml:space="preserve">
<value>G-Helper 열기</value>
</data>
@@ -563,15 +617,27 @@
<data name="Quit" xml:space="preserve">
<value>종료</value>
</data>
<data name="Reset" xml:space="preserve">
<value>Reset</value>
</data>
<data name="RestartGPU" xml:space="preserve">
<value>dGPU가 사용중이기 때문에 Eco 모드로 전환할 수 없습니다. 장치 관리자에서 dGPU를 재시작하시겠습니까?</value>
</data>
<data name="RPM" xml:space="preserve">
<value>RPM</value>
</data>
<data name="RSDeadzones" xml:space="preserve">
<value>Right Stick Deadzones</value>
</data>
<data name="RTDeadzones" xml:space="preserve">
<value>Right Trigger Deadzones</value>
</data>
<data name="RunOnStartup" xml:space="preserve">
<value>시스템 시작 시 실행</value>
</data>
<data name="ScalingQuality" xml:space="preserve">
<value>Scaling Quality</value>
</data>
<data name="ScreenPadDown" xml:space="preserve">
<value>Screenpad 밝기 감소</value>
</data>
@@ -650,6 +716,9 @@
<data name="VersionLabel" xml:space="preserve">
<value>버전</value>
</data>
<data name="VibrationStrength" xml:space="preserve">
<value>Vibration Strength</value>
</data>
<data name="VolumeDown" xml:space="preserve">
<value>볼륨 작게</value>
</data>
@@ -662,4 +731,7 @@
<data name="WindowTop" xml:space="preserve">
<value>창을 항상 맨 위로 유지</value>
</data>
<data name="Zoom" xml:space="preserve">
<value>Zoom</value>
</data>
</root>

View File

@@ -144,6 +144,9 @@
<data name="AlertUltimateTitle" xml:space="preserve">
<value>Paleisti iš naujo dabar?</value>
</data>
<data name="AllyController" xml:space="preserve">
<value>Ally Controller</value>
</data>
<data name="AnimationSpeed" xml:space="preserve">
<value>Animacijos greitis</value>
</data>
@@ -249,6 +252,12 @@
<data name="BacklightTimeout" xml:space="preserve">
<value>Laiko riba su lizdu / akumuliatoriumi (0 ĮJUNGTA)</value>
</data>
<data name="BacklightTimeoutBattery" xml:space="preserve">
<value>Backlight Timeout when on battery</value>
</data>
<data name="BacklightTimeoutPlugged" xml:space="preserve">
<value>Backlight Timeout when plugged</value>
</data>
<data name="Balanced" xml:space="preserve">
<value>Balansuotas</value>
</data>
@@ -264,6 +273,15 @@
<data name="BatteryLimitFull" xml:space="preserve">
<value>Vienkartinė įkrova iki 100%</value>
</data>
<data name="Binding" xml:space="preserve">
<value>Binding</value>
</data>
<data name="BindingPrimary" xml:space="preserve">
<value>Primary</value>
</data>
<data name="BindingSecondary" xml:space="preserve">
<value>Secondary</value>
</data>
<data name="BiosAndDriverUpdates" xml:space="preserve">
<value>BIOS ir tvarkyklių naujinimai</value>
</data>
@@ -291,6 +309,12 @@
<data name="Color" xml:space="preserve">
<value>Spalva</value>
</data>
<data name="Contrast" xml:space="preserve">
<value>Contrast</value>
</data>
<data name="Controller" xml:space="preserve">
<value>Controller</value>
</data>
<data name="CPUBoost" xml:space="preserve">
<value>CPU spartinimas</value>
</data>
@@ -303,6 +327,9 @@
<data name="Default" xml:space="preserve">
<value>Numatytas</value>
</data>
<data name="DisableController" xml:space="preserve">
<value>Disable Controller</value>
</data>
<data name="DisableOverdrive" xml:space="preserve">
<value>Išjungti ekrano pikselių spartinimą</value>
</data>
@@ -321,6 +348,9 @@
<data name="EcoMode" xml:space="preserve">
<value>Ekonomiškas</value>
</data>
<data name="EnableGPUOnShutdown" xml:space="preserve">
<value>Enable GPU on shutdown (prevents issue with Eco mode)</value>
</data>
<data name="EnableOptimusText" xml:space="preserve">
<value>Jei ekrano režimas NVIDIA valdymo skyde yra nenustatytas į Optimus, kai dGPU yra išjungtas perjungus į ekonominį režimą, gali kilti problemų su ryškumo valdymu iki kito paleidimo iš naujo.
@@ -332,6 +362,9 @@ Vis tiek norite tęsti?</value>
<data name="EnergySettings" xml:space="preserve">
<value>Energijos nustatymai</value>
</data>
<data name="Export" xml:space="preserve">
<value>Export Profile</value>
</data>
<data name="Extra" xml:space="preserve">
<value>Išplėstiniai</value>
</data>
@@ -404,6 +437,12 @@ Vis tiek norite tęsti?</value>
<data name="High" xml:space="preserve">
<value>Aukštas</value>
</data>
<data name="ImageRotation" xml:space="preserve">
<value>Image Rotation</value>
</data>
<data name="Import" xml:space="preserve">
<value>Import Profile</value>
</data>
<data name="KeyBindings" xml:space="preserve">
<value>Klavišų priskyrimas</value>
</data>
@@ -437,6 +476,12 @@ Vis tiek norite tęsti?</value>
<data name="Low" xml:space="preserve">
<value>Žemas</value>
</data>
<data name="LSDeadzones" xml:space="preserve">
<value>Left Stick Deadzones</value>
</data>
<data name="LTDeadzones" xml:space="preserve">
<value>Left Trigger Deadzones</value>
</data>
<data name="MatrixAudio" xml:space="preserve">
<value>Garso vizualizatorius</value>
</data>
@@ -485,6 +530,9 @@ Vis tiek norite tęsti?</value>
<data name="MouseButtonResponse" xml:space="preserve">
<value>Klavišo atsakas</value>
</data>
<data name="MouseImportFailed" xml:space="preserve">
<value>Import failed. Selected file is not a valid mouse profile or corrutpted.</value>
</data>
<data name="MouseLiftOffDistance" xml:space="preserve">
<value>Pakilimo atstumas</value>
</data>
@@ -498,7 +546,10 @@ Vis tiek norite tęsti?</value>
<value>Sinchronizuoti su pele</value>
</data>
<data name="Multizone" xml:space="preserve">
<value>Daugiazonis</value>
<value>Multi Zone</value>
</data>
<data name="MultizoneStrong" xml:space="preserve">
<value>Multi Zone Strong</value>
</data>
<data name="MuteMic" xml:space="preserve">
<value>Mikrofono nutildymas</value>
@@ -515,6 +566,9 @@ Vis tiek norite tęsti?</value>
<data name="NotConnected" xml:space="preserve">
<value>Neprijungta</value>
</data>
<data name="OneZone" xml:space="preserve">
<value>One Zone</value>
</data>
<data name="OpenGHelper" xml:space="preserve">
<value>Atidaryti G-Helper langą</value>
</data>
@@ -563,15 +617,27 @@ Vis tiek norite tęsti?</value>
<data name="Quit" xml:space="preserve">
<value>Išeiti</value>
</data>
<data name="Reset" xml:space="preserve">
<value>Reset</value>
</data>
<data name="RestartGPU" xml:space="preserve">
<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>
</data>
<data name="RSDeadzones" xml:space="preserve">
<value>Right Stick Deadzones</value>
</data>
<data name="RTDeadzones" xml:space="preserve">
<value>Right Trigger Deadzones</value>
</data>
<data name="RunOnStartup" xml:space="preserve">
<value>Paleisti įjungus sistemą</value>
</data>
<data name="ScalingQuality" xml:space="preserve">
<value>Scaling Quality</value>
</data>
<data name="ScreenPadDown" xml:space="preserve">
<value>Ekrano skydelio ryškumo mažinimas</value>
</data>
@@ -650,6 +716,9 @@ Vis tiek norite tęsti?</value>
<data name="VersionLabel" xml:space="preserve">
<value>Versija</value>
</data>
<data name="VibrationStrength" xml:space="preserve">
<value>Vibration Strength</value>
</data>
<data name="VolumeDown" xml:space="preserve">
<value>Garsumo mažinimas</value>
</data>
@@ -662,4 +731,7 @@ Vis tiek norite tęsti?</value>
<data name="WindowTop" xml:space="preserve">
<value>Visada rodyti programėlės langą viršuje</value>
</data>
<data name="Zoom" xml:space="preserve">
<value>Zoom</value>
</data>
</root>

View File

@@ -124,10 +124,10 @@
<value>Nie można odnaleźć sterownika ASUS ACPI. Aplikacja nie może bez niego funkcjonować. Spróbuj zainstalować Asus System Control Interface</value>
</data>
<data name="AlertAPUMemoryRestart" xml:space="preserve">
<value>Restart your device to apply changes</value>
<value>Uruchom ponownie, aby zastosować ustawienia</value>
</data>
<data name="AlertAPUMemoryRestartTitle" xml:space="preserve">
<value>Restart now?</value>
<value>Uruchomić ponownie teraz?</value>
</data>
<data name="AlertDGPU" xml:space="preserve">
<value>Wygląda na to, że GPU jest mocno obciążone. Wyłączyć?</value>
@@ -144,6 +144,9 @@
<data name="AlertUltimateTitle" xml:space="preserve">
<value>Uruchomić ponownie teraz?</value>
</data>
<data name="AllyController" xml:space="preserve">
<value>Ally Controller</value>
</data>
<data name="AnimationSpeed" xml:space="preserve">
<value>Prędkość animacji</value>
</data>
@@ -169,7 +172,7 @@
<value>Dostosuj systemowy Tryb Zasilania</value>
</data>
<data name="APUMemory" xml:space="preserve">
<value>Memory Assigned to GPU</value>
<value>Pamięć przypisana do GPU</value>
</data>
<data name="AsusServicesRunning" xml:space="preserve">
<value>Uruchomione usługi Asus</value>
@@ -249,6 +252,12 @@
<data name="BacklightTimeout" xml:space="preserve">
<value>Limit czasu podłączonego / na baterii (0 - Włączony)</value>
</data>
<data name="BacklightTimeoutBattery" xml:space="preserve">
<value>Czas podświetlenia na baterii</value>
</data>
<data name="BacklightTimeoutPlugged" xml:space="preserve">
<value>Czas podświetlenia po podłączeniu</value>
</data>
<data name="Balanced" xml:space="preserve">
<value>Balans</value>
</data>
@@ -264,6 +273,15 @@
<data name="BatteryLimitFull" xml:space="preserve">
<value>Jednorazowo naładuj do 100%</value>
</data>
<data name="Binding" xml:space="preserve">
<value>Binding</value>
</data>
<data name="BindingPrimary" xml:space="preserve">
<value>Primary</value>
</data>
<data name="BindingSecondary" xml:space="preserve">
<value>Secondary</value>
</data>
<data name="BiosAndDriverUpdates" xml:space="preserve">
<value>Aktualizacje BIOS i sterowników</value>
</data>
@@ -291,6 +309,12 @@
<data name="Color" xml:space="preserve">
<value>Kolor</value>
</data>
<data name="Contrast" xml:space="preserve">
<value>Contrast</value>
</data>
<data name="Controller" xml:space="preserve">
<value>Controller</value>
</data>
<data name="CPUBoost" xml:space="preserve">
<value>Zwiększenie taktowania CPU</value>
</data>
@@ -303,6 +327,9 @@
<data name="Default" xml:space="preserve">
<value>Domyślny</value>
</data>
<data name="DisableController" xml:space="preserve">
<value>Disable Controller</value>
</data>
<data name="DisableOverdrive" xml:space="preserve">
<value>Wyłącz funkcję Overdrive monitora</value>
</data>
@@ -321,6 +348,9 @@
<data name="EcoMode" xml:space="preserve">
<value>Eco</value>
</data>
<data name="EnableGPUOnShutdown" xml:space="preserve">
<value>Enable GPU on shutdown (prevents issue with Eco mode)</value>
</data>
<data name="EnableOptimusText" xml:space="preserve">
<value>Wyłączenie dGPU przez przejście do trybu Eco, podczas gdy tryb wyświetlania w Panelu sterowania NVIDIA nie jest ustawiony na Optimus, może powodować problemy z regulacją jasności do czasu następnego restartu systemu.
@@ -332,6 +362,9 @@ Nadal chcesz kontynuować?</value>
<data name="EnergySettings" xml:space="preserve">
<value>Ustawienia zasilania</value>
</data>
<data name="Export" xml:space="preserve">
<value>Export Profile</value>
</data>
<data name="Extra" xml:space="preserve">
<value>Ustawienia</value>
</data>
@@ -404,6 +437,12 @@ Nadal chcesz kontynuować?</value>
<data name="High" xml:space="preserve">
<value>Wysoka</value>
</data>
<data name="ImageRotation" xml:space="preserve">
<value>Image Rotation</value>
</data>
<data name="Import" xml:space="preserve">
<value>Import Profile</value>
</data>
<data name="KeyBindings" xml:space="preserve">
<value>Ustawienia klawiszy skrótów</value>
</data>
@@ -437,6 +476,12 @@ Nadal chcesz kontynuować?</value>
<data name="Low" xml:space="preserve">
<value>Niska</value>
</data>
<data name="LSDeadzones" xml:space="preserve">
<value>Left Stick Deadzones</value>
</data>
<data name="LTDeadzones" xml:space="preserve">
<value>Left Trigger Deadzones</value>
</data>
<data name="MatrixAudio" xml:space="preserve">
<value>Wizualizer muzyki</value>
</data>
@@ -485,6 +530,9 @@ Nadal chcesz kontynuować?</value>
<data name="MouseButtonResponse" xml:space="preserve">
<value>Reakcja przycisków</value>
</data>
<data name="MouseImportFailed" xml:space="preserve">
<value>Import failed. Selected file is not a valid mouse profile or corrutpted.</value>
</data>
<data name="MouseLiftOffDistance" xml:space="preserve">
<value>Wysokość reakcji sensora</value>
</data>
@@ -498,7 +546,10 @@ Nadal chcesz kontynuować?</value>
<value>Synchronizuj z myszką</value>
</data>
<data name="Multizone" xml:space="preserve">
<value>Multizone</value>
<value>Wiele stref</value>
</data>
<data name="MultizoneStrong" xml:space="preserve">
<value>Wiele stref (mocniejsze)</value>
</data>
<data name="MuteMic" xml:space="preserve">
<value>Wyciszenie mikrofonu</value>
@@ -515,6 +566,9 @@ Nadal chcesz kontynuować?</value>
<data name="NotConnected" xml:space="preserve">
<value>Nie połączono</value>
</data>
<data name="OneZone" xml:space="preserve">
<value>Jedna strefa</value>
</data>
<data name="OpenGHelper" xml:space="preserve">
<value>Otwórz okno G-Helper</value>
</data>
@@ -563,15 +617,27 @@ Nadal chcesz kontynuować?</value>
<data name="Quit" xml:space="preserve">
<value>Zamknij</value>
</data>
<data name="Reset" xml:space="preserve">
<value>Reset</value>
</data>
<data name="RestartGPU" xml:space="preserve">
<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="RSDeadzones" xml:space="preserve">
<value>Right Stick Deadzones</value>
</data>
<data name="RTDeadzones" xml:space="preserve">
<value>Right Trigger Deadzones</value>
</data>
<data name="RunOnStartup" xml:space="preserve">
<value>Uruchom przy starcie</value>
</data>
<data name="ScalingQuality" xml:space="preserve">
<value>Scaling Quality</value>
</data>
<data name="ScreenPadDown" xml:space="preserve">
<value>Zmniejsz jasność ScreenPad</value>
</data>
@@ -650,6 +716,9 @@ Nadal chcesz kontynuować?</value>
<data name="VersionLabel" xml:space="preserve">
<value>Wersja</value>
</data>
<data name="VibrationStrength" xml:space="preserve">
<value>Vibration Strength</value>
</data>
<data name="VolumeDown" xml:space="preserve">
<value>Zmniejsz głośność</value>
</data>
@@ -662,4 +731,7 @@ Nadal chcesz kontynuować?</value>
<data name="WindowTop" xml:space="preserve">
<value>Zachowaj okno aplikacji zawsze na wierzchu</value>
</data>
<data name="Zoom" xml:space="preserve">
<value>Zoom</value>
</data>
</root>

View File

@@ -144,6 +144,9 @@
<data name="AlertUltimateTitle" xml:space="preserve">
<value>Reiniciar agora ?</value>
</data>
<data name="AllyController" xml:space="preserve">
<value>Ally Controller</value>
</data>
<data name="AnimationSpeed" xml:space="preserve">
<value>Velocidade da Animação</value>
</data>
@@ -249,6 +252,12 @@
<data name="BacklightTimeout" xml:space="preserve">
<value>Tempo limite plugado / na bateria (0 - ligado)</value>
</data>
<data name="BacklightTimeoutBattery" xml:space="preserve">
<value>Backlight Timeout when on battery</value>
</data>
<data name="BacklightTimeoutPlugged" xml:space="preserve">
<value>Backlight Timeout when plugged</value>
</data>
<data name="Balanced" xml:space="preserve">
<value>Equilibrado</value>
</data>
@@ -264,6 +273,15 @@
<data name="BatteryLimitFull" xml:space="preserve">
<value>One time charge to 100%</value>
</data>
<data name="Binding" xml:space="preserve">
<value>Binding</value>
</data>
<data name="BindingPrimary" xml:space="preserve">
<value>Primary</value>
</data>
<data name="BindingSecondary" xml:space="preserve">
<value>Secondary</value>
</data>
<data name="BiosAndDriverUpdates" xml:space="preserve">
<value>BIOS and Driver Updates</value>
</data>
@@ -291,6 +309,12 @@
<data name="Color" xml:space="preserve">
<value>Cor</value>
</data>
<data name="Contrast" xml:space="preserve">
<value>Contrast</value>
</data>
<data name="Controller" xml:space="preserve">
<value>Controller</value>
</data>
<data name="CPUBoost" xml:space="preserve">
<value>CPU Boost</value>
</data>
@@ -303,6 +327,9 @@
<data name="Default" xml:space="preserve">
<value>Padrão</value>
</data>
<data name="DisableController" xml:space="preserve">
<value>Disable Controller</value>
</data>
<data name="DisableOverdrive" xml:space="preserve">
<value>Desativar o overdrive da tela</value>
</data>
@@ -321,6 +348,9 @@
<data name="EcoMode" xml:space="preserve">
<value>Econômico</value>
</data>
<data name="EnableGPUOnShutdown" xml:space="preserve">
<value>Enable GPU on shutdown (prevents issue with Eco mode)</value>
</data>
<data name="EnableOptimusText" xml:space="preserve">
<value>Disabling the dGPU by going into Eco mode while Display Mode in NVIDIA Control Panel is not set to Optimus might cause problems with brightness controls until after the next reboot.
@@ -332,6 +362,9 @@ Do you still want to continue?</value>
<data name="EnergySettings" xml:space="preserve">
<value>Energy Settings</value>
</data>
<data name="Export" xml:space="preserve">
<value>Export Profile</value>
</data>
<data name="Extra" xml:space="preserve">
<value>Adicional</value>
</data>
@@ -404,6 +437,12 @@ Do you still want to continue?</value>
<data name="High" xml:space="preserve">
<value>High</value>
</data>
<data name="ImageRotation" xml:space="preserve">
<value>Image Rotation</value>
</data>
<data name="Import" xml:space="preserve">
<value>Import Profile</value>
</data>
<data name="KeyBindings" xml:space="preserve">
<value>Combinações de teclas</value>
</data>
@@ -437,6 +476,12 @@ Do you still want to continue?</value>
<data name="Low" xml:space="preserve">
<value>Low</value>
</data>
<data name="LSDeadzones" xml:space="preserve">
<value>Left Stick Deadzones</value>
</data>
<data name="LTDeadzones" xml:space="preserve">
<value>Left Trigger Deadzones</value>
</data>
<data name="MatrixAudio" xml:space="preserve">
<value>Audio Visualizer</value>
</data>
@@ -485,6 +530,9 @@ Do you still want to continue?</value>
<data name="MouseButtonResponse" xml:space="preserve">
<value>Button Response</value>
</data>
<data name="MouseImportFailed" xml:space="preserve">
<value>Import failed. Selected file is not a valid mouse profile or corrutpted.</value>
</data>
<data name="MouseLiftOffDistance" xml:space="preserve">
<value>Lift Off Distance</value>
</data>
@@ -498,7 +546,10 @@ Do you still want to continue?</value>
<value>Synchronize with mouse</value>
</data>
<data name="Multizone" xml:space="preserve">
<value>Multizona</value>
<value>Multi Zone</value>
</data>
<data name="MultizoneStrong" xml:space="preserve">
<value>Multi Zone Strong</value>
</data>
<data name="MuteMic" xml:space="preserve">
<value>Desligar microfone</value>
@@ -515,6 +566,9 @@ Do you still want to continue?</value>
<data name="NotConnected" xml:space="preserve">
<value>Not Connected</value>
</data>
<data name="OneZone" xml:space="preserve">
<value>One Zone</value>
</data>
<data name="OpenGHelper" xml:space="preserve">
<value>Abrir G-Helper</value>
</data>
@@ -563,15 +617,27 @@ Do you still want to continue?</value>
<data name="Quit" xml:space="preserve">
<value>Sair</value>
</data>
<data name="Reset" xml:space="preserve">
<value>Reset</value>
</data>
<data name="RestartGPU" xml:space="preserve">
<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>
</data>
<data name="RSDeadzones" xml:space="preserve">
<value>Right Stick Deadzones</value>
</data>
<data name="RTDeadzones" xml:space="preserve">
<value>Right Trigger Deadzones</value>
</data>
<data name="RunOnStartup" xml:space="preserve">
<value>Executar ao iniciar</value>
</data>
<data name="ScalingQuality" xml:space="preserve">
<value>Scaling Quality</value>
</data>
<data name="ScreenPadDown" xml:space="preserve">
<value>Screenpad Brightness Down</value>
</data>
@@ -650,6 +716,9 @@ Do you still want to continue?</value>
<data name="VersionLabel" xml:space="preserve">
<value>Versão</value>
</data>
<data name="VibrationStrength" xml:space="preserve">
<value>Vibration Strength</value>
</data>
<data name="VolumeDown" xml:space="preserve">
<value>Abaixar o volume</value>
</data>
@@ -662,4 +731,7 @@ Do you still want to continue?</value>
<data name="WindowTop" xml:space="preserve">
<value>Manter a janela do aplicativo sempre no topo</value>
</data>
<data name="Zoom" xml:space="preserve">
<value>Zoom</value>
</data>
</root>

View File

@@ -124,10 +124,10 @@
<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="AlertAPUMemoryRestart" xml:space="preserve">
<value>Restart your device to apply changes</value>
<value>Reinicie o dispositivo para aplicar as alterações</value>
</data>
<data name="AlertAPUMemoryRestartTitle" xml:space="preserve">
<value>Restart now?</value>
<value>Reiniciar agora?</value>
</data>
<data name="AlertDGPU" xml:space="preserve">
<value>Parece que o GPU está em uso pesado, desativá-lo?</value>
@@ -144,6 +144,9 @@
<data name="AlertUltimateTitle" xml:space="preserve">
<value>Reiniciar agora?</value>
</data>
<data name="AllyController" xml:space="preserve">
<value>Ally Controller</value>
</data>
<data name="AnimationSpeed" xml:space="preserve">
<value>Velocidade da Animação</value>
</data>
@@ -169,7 +172,7 @@
<value>Ajuste automático dos modos de energia do Windows</value>
</data>
<data name="APUMemory" xml:space="preserve">
<value>Memory Assigned to GPU</value>
<value>Memória Alocada à GPU</value>
</data>
<data name="AsusServicesRunning" xml:space="preserve">
<value>Serviços da Asus em execução</value>
@@ -249,6 +252,12 @@
<data name="BacklightTimeout" xml:space="preserve">
<value>Tempo limite ligado à corrente / na bateria (0 - ON)</value>
</data>
<data name="BacklightTimeoutBattery" xml:space="preserve">
<value>Desligar o ecrã após (em Bateria)</value>
</data>
<data name="BacklightTimeoutPlugged" xml:space="preserve">
<value>Desligar o ecrã após (ligado à corrente)</value>
</data>
<data name="Balanced" xml:space="preserve">
<value>Equilibrado</value>
</data>
@@ -264,6 +273,15 @@
<data name="BatteryLimitFull" xml:space="preserve">
<value>Carregamento único até 100%</value>
</data>
<data name="Binding" xml:space="preserve">
<value>Binding</value>
</data>
<data name="BindingPrimary" xml:space="preserve">
<value>Primary</value>
</data>
<data name="BindingSecondary" xml:space="preserve">
<value>Secondary</value>
</data>
<data name="BiosAndDriverUpdates" xml:space="preserve">
<value>Atualizações de Drivers e da BIOS</value>
</data>
@@ -291,6 +309,12 @@
<data name="Color" xml:space="preserve">
<value>Cor</value>
</data>
<data name="Contrast" xml:space="preserve">
<value>Contrast</value>
</data>
<data name="Controller" xml:space="preserve">
<value>Controller</value>
</data>
<data name="CPUBoost" xml:space="preserve">
<value>Turbo do CPU</value>
</data>
@@ -303,6 +327,9 @@
<data name="Default" xml:space="preserve">
<value>Padrão</value>
</data>
<data name="DisableController" xml:space="preserve">
<value>Disable Controller</value>
</data>
<data name="DisableOverdrive" xml:space="preserve">
<value>Desativar o overdrive do ecrã</value>
</data>
@@ -321,6 +348,9 @@
<data name="EcoMode" xml:space="preserve">
<value>Económico</value>
</data>
<data name="EnableGPUOnShutdown" xml:space="preserve">
<value>Enable GPU on shutdown (prevents issue with Eco mode)</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.
@@ -332,6 +362,9 @@ Quer prosseguir?</value>
<data name="EnergySettings" xml:space="preserve">
<value>Configurações de Energia</value>
</data>
<data name="Export" xml:space="preserve">
<value>Export Profile</value>
</data>
<data name="Extra" xml:space="preserve">
<value>Adicional</value>
</data>
@@ -404,6 +437,12 @@ Quer prosseguir?</value>
<data name="High" xml:space="preserve">
<value>Alto</value>
</data>
<data name="ImageRotation" xml:space="preserve">
<value>Image Rotation</value>
</data>
<data name="Import" xml:space="preserve">
<value>Import Profile</value>
</data>
<data name="KeyBindings" xml:space="preserve">
<value>Combinações de teclas</value>
</data>
@@ -437,6 +476,12 @@ Quer prosseguir?</value>
<data name="Low" xml:space="preserve">
<value>Baixo</value>
</data>
<data name="LSDeadzones" xml:space="preserve">
<value>Left Stick Deadzones</value>
</data>
<data name="LTDeadzones" xml:space="preserve">
<value>Left Trigger Deadzones</value>
</data>
<data name="MatrixAudio" xml:space="preserve">
<value>Visualizador de áudio</value>
</data>
@@ -485,6 +530,9 @@ Quer prosseguir?</value>
<data name="MouseButtonResponse" xml:space="preserve">
<value>Button Response</value>
</data>
<data name="MouseImportFailed" xml:space="preserve">
<value>Import failed. Selected file is not a valid mouse profile or corrutpted.</value>
</data>
<data name="MouseLiftOffDistance" xml:space="preserve">
<value>Distância de Lift Off</value>
</data>
@@ -498,7 +546,10 @@ Quer prosseguir?</value>
<value>Sincronizar com o rato</value>
</data>
<data name="Multizone" xml:space="preserve">
<value>Multizona</value>
<value>Multi Zone</value>
</data>
<data name="MultizoneStrong" xml:space="preserve">
<value>Multi Zone Strong</value>
</data>
<data name="MuteMic" xml:space="preserve">
<value>Desligar microfone</value>
@@ -515,6 +566,9 @@ Quer prosseguir?</value>
<data name="NotConnected" xml:space="preserve">
<value>Não conectado</value>
</data>
<data name="OneZone" xml:space="preserve">
<value>One Zone</value>
</data>
<data name="OpenGHelper" xml:space="preserve">
<value>Abrir G-Helper</value>
</data>
@@ -563,15 +617,27 @@ Quer prosseguir?</value>
<data name="Quit" xml:space="preserve">
<value>Sair</value>
</data>
<data name="Reset" xml:space="preserve">
<value>Reset</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="RSDeadzones" xml:space="preserve">
<value>Right Stick Deadzones</value>
</data>
<data name="RTDeadzones" xml:space="preserve">
<value>Right Trigger Deadzones</value>
</data>
<data name="RunOnStartup" xml:space="preserve">
<value>Executar ao iniciar</value>
</data>
<data name="ScalingQuality" xml:space="preserve">
<value>Scaling Quality</value>
</data>
<data name="ScreenPadDown" xml:space="preserve">
<value>Diminuir o brilho do ScreenPad</value>
</data>
@@ -650,6 +716,9 @@ Quer prosseguir?</value>
<data name="VersionLabel" xml:space="preserve">
<value>Versão</value>
</data>
<data name="VibrationStrength" xml:space="preserve">
<value>Vibration Strength</value>
</data>
<data name="VolumeDown" xml:space="preserve">
<value>Diminuir o volume</value>
</data>
@@ -662,4 +731,7 @@ Quer prosseguir?</value>
<data name="WindowTop" xml:space="preserve">
<value>Manter a janela do aplicativo sempre no topo</value>
</data>
<data name="Zoom" xml:space="preserve">
<value>Zoom</value>
</data>
</root>

View File

@@ -144,6 +144,9 @@
<data name="AlertUltimateTitle" xml:space="preserve">
<value>Reboot now?</value>
</data>
<data name="AllyController" xml:space="preserve">
<value>Ally Controller</value>
</data>
<data name="AnimationSpeed" xml:space="preserve">
<value>Animation Speed</value>
</data>
@@ -249,6 +252,12 @@
<data name="BacklightTimeout" xml:space="preserve">
<value>Timeout plugged / on battery (0 - ON)</value>
</data>
<data name="BacklightTimeoutBattery" xml:space="preserve">
<value>Backlight Timeout when on battery</value>
</data>
<data name="BacklightTimeoutPlugged" xml:space="preserve">
<value>Backlight Timeout when plugged</value>
</data>
<data name="Balanced" xml:space="preserve">
<value>Balanced</value>
</data>
@@ -264,6 +273,15 @@
<data name="BatteryLimitFull" xml:space="preserve">
<value>One time charge to 100%</value>
</data>
<data name="Binding" xml:space="preserve">
<value>Binding</value>
</data>
<data name="BindingPrimary" xml:space="preserve">
<value>Primary</value>
</data>
<data name="BindingSecondary" xml:space="preserve">
<value>Secondary</value>
</data>
<data name="BiosAndDriverUpdates" xml:space="preserve">
<value>BIOS and Driver Updates</value>
</data>
@@ -291,6 +309,12 @@
<data name="Color" xml:space="preserve">
<value>Color</value>
</data>
<data name="Contrast" xml:space="preserve">
<value>Contrast</value>
</data>
<data name="Controller" xml:space="preserve">
<value>Controller</value>
</data>
<data name="CPUBoost" xml:space="preserve">
<value>CPU Boost</value>
</data>
@@ -303,6 +327,9 @@
<data name="Default" xml:space="preserve">
<value>Default</value>
</data>
<data name="DisableController" xml:space="preserve">
<value>Disable Controller</value>
</data>
<data name="DisableOverdrive" xml:space="preserve">
<value>Disable screen overdrive</value>
</data>
@@ -321,6 +348,9 @@
<data name="EcoMode" xml:space="preserve">
<value>Eco</value>
</data>
<data name="EnableGPUOnShutdown" xml:space="preserve">
<value>Enable GPU on shutdown (prevents issue with Eco mode)</value>
</data>
<data name="EnableOptimusText" xml:space="preserve">
<value>Disabling the dGPU by going into Eco mode while Display Mode in NVIDIA Control Panel is not set to Optimus might cause problems with brightness controls until after the next reboot.
@@ -332,6 +362,9 @@ Do you still want to continue?</value>
<data name="EnergySettings" xml:space="preserve">
<value>Energy Settings</value>
</data>
<data name="Export" xml:space="preserve">
<value>Export Profile</value>
</data>
<data name="Extra" xml:space="preserve">
<value>Extra</value>
</data>
@@ -404,6 +437,12 @@ Do you still want to continue?</value>
<data name="High" xml:space="preserve">
<value>High</value>
</data>
<data name="ImageRotation" xml:space="preserve">
<value>Image Rotation</value>
</data>
<data name="Import" xml:space="preserve">
<value>Import Profile</value>
</data>
<data name="KeyBindings" xml:space="preserve">
<value>Key Bindings</value>
</data>
@@ -437,6 +476,12 @@ Do you still want to continue?</value>
<data name="Low" xml:space="preserve">
<value>Low</value>
</data>
<data name="LSDeadzones" xml:space="preserve">
<value>Left Stick Deadzones</value>
</data>
<data name="LTDeadzones" xml:space="preserve">
<value>Left Trigger Deadzones</value>
</data>
<data name="MatrixAudio" xml:space="preserve">
<value>Audio Visualizer</value>
</data>
@@ -485,6 +530,9 @@ Do you still want to continue?</value>
<data name="MouseButtonResponse" xml:space="preserve">
<value>Button Response</value>
</data>
<data name="MouseImportFailed" xml:space="preserve">
<value>Import failed. Selected file is not a valid mouse profile or corrutpted.</value>
</data>
<data name="MouseLiftOffDistance" xml:space="preserve">
<value>Lift Off Distance</value>
</data>
@@ -498,7 +546,10 @@ Do you still want to continue?</value>
<value>Synchronize with mouse</value>
</data>
<data name="Multizone" xml:space="preserve">
<value>Multizone</value>
<value>Multi Zone</value>
</data>
<data name="MultizoneStrong" xml:space="preserve">
<value>Multi Zone Strong</value>
</data>
<data name="MuteMic" xml:space="preserve">
<value>Mute Mic</value>
@@ -515,6 +566,9 @@ Do you still want to continue?</value>
<data name="NotConnected" xml:space="preserve">
<value>Not Connected</value>
</data>
<data name="OneZone" xml:space="preserve">
<value>One Zone</value>
</data>
<data name="OpenGHelper" xml:space="preserve">
<value>Open G-Helper window</value>
</data>
@@ -563,15 +617,27 @@ Do you still want to continue?</value>
<data name="Quit" xml:space="preserve">
<value>Quit</value>
</data>
<data name="Reset" xml:space="preserve">
<value>Reset</value>
</data>
<data name="RestartGPU" xml:space="preserve">
<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>
</data>
<data name="RSDeadzones" xml:space="preserve">
<value>Right Stick Deadzones</value>
</data>
<data name="RTDeadzones" xml:space="preserve">
<value>Right Trigger Deadzones</value>
</data>
<data name="RunOnStartup" xml:space="preserve">
<value>Run on Startup</value>
</data>
<data name="ScalingQuality" xml:space="preserve">
<value>Scaling Quality</value>
</data>
<data name="ScreenPadDown" xml:space="preserve">
<value>Screenpad Brightness Down</value>
</data>
@@ -650,6 +716,9 @@ Do you still want to continue?</value>
<data name="VersionLabel" xml:space="preserve">
<value>Version</value>
</data>
<data name="VibrationStrength" xml:space="preserve">
<value>Vibration Strength</value>
</data>
<data name="VolumeDown" xml:space="preserve">
<value>Volume Down</value>
</data>
@@ -662,4 +731,7 @@ Do you still want to continue?</value>
<data name="WindowTop" xml:space="preserve">
<value>Keep app window always on top</value>
</data>
<data name="Zoom" xml:space="preserve">
<value>Zoom</value>
</data>
</root>

View File

@@ -118,16 +118,16 @@
<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>
<value>Accelerare</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>
<data name="AlertAPUMemoryRestart" xml:space="preserve">
<value>Restart your device to apply changes</value>
<value>Reporniți dispozitivul pentru a aplica modificările</value>
</data>
<data name="AlertAPUMemoryRestartTitle" xml:space="preserve">
<value>Restart now?</value>
<value>Reporniți acum?</value>
</data>
<data name="AlertDGPU" xml:space="preserve">
<value>Se pare că GPU-ul este folosit intens, dezactivați?</value>
@@ -144,6 +144,9 @@
<data name="AlertUltimateTitle" xml:space="preserve">
<value>Reporniți acum?</value>
</data>
<data name="AllyController" xml:space="preserve">
<value>Ally Controller</value>
</data>
<data name="AnimationSpeed" xml:space="preserve">
<value>Viteza animației</value>
</data>
@@ -169,34 +172,34 @@
<value>Reglare automată a modului de alimentare Windows</value>
</data>
<data name="APUMemory" xml:space="preserve">
<value>Memory Assigned to GPU</value>
<value>Memorie alocată GPU-ului</value>
</data>
<data name="AsusServicesRunning" xml:space="preserve">
<value>Servicii Asus în derulare</value>
</data>
<data name="AuraBatteryState" xml:space="preserve">
<value>Battery State</value>
<value>Starea bateriei</value>
</data>
<data name="AuraBreathe" xml:space="preserve">
<value>Respirație</value>
</data>
<data name="AuraClockwise" xml:space="preserve">
<value>Clockwise</value>
<value>În sensul acelor de ceas</value>
</data>
<data name="AuraColorCycle" xml:space="preserve">
<value>Ciclu de culori</value>
</data>
<data name="AuraComet" xml:space="preserve">
<value>Comet</value>
<value>Cometă</value>
</data>
<data name="AuraCounterClockwise" xml:space="preserve">
<value>Counterclockwise</value>
<value>În sens invers acelor de ceas</value>
</data>
<data name="AuraFast" xml:space="preserve">
<value>Rapid</value>
</data>
<data name="AuraLightingMode" xml:space="preserve">
<value>Lighting Mode</value>
<value>Mod iluminare</value>
</data>
<data name="AuraNormal" xml:space="preserve">
<value>Normal</value>
@@ -205,10 +208,10 @@
<value>Curcubeu</value>
</data>
<data name="AuraRandomColor" xml:space="preserve">
<value>Random</value>
<value>Aleatoriu</value>
</data>
<data name="AuraReact" xml:space="preserve">
<value>React</value>
<value>Reacție</value>
</data>
<data name="AuraSlow" xml:space="preserve">
<value>Încet</value>
@@ -220,7 +223,7 @@
<value>Stroboscop</value>
</data>
<data name="AuraZoneAll" xml:space="preserve">
<value>All</value>
<value>Toate</value>
</data>
<data name="AuraZoneDock" xml:space="preserve">
<value>Dock</value>
@@ -229,10 +232,10 @@
<value>Logo</value>
</data>
<data name="AuraZoneScroll" xml:space="preserve">
<value>Scrollwheel</value>
<value>Rotiță scroll</value>
</data>
<data name="AuraZoneUnderglow" xml:space="preserve">
<value>Underglow</value>
<value>Iluminare de jos</value>
</data>
<data name="AutoApply" xml:space="preserve">
<value>Aplicare automată</value>
@@ -249,11 +252,17 @@
<data name="BacklightTimeout" xml:space="preserve">
<value>Timeout conectat / folosind bateria (0 - ON)</value>
</data>
<data name="BacklightTimeoutBattery" xml:space="preserve">
<value>Timp oprire iluminare pe baterie</value>
</data>
<data name="BacklightTimeoutPlugged" xml:space="preserve">
<value>Timp oprire iluminare când e conectat</value>
</data>
<data name="Balanced" xml:space="preserve">
<value>Echilibrat</value>
</data>
<data name="BatteryCharge" xml:space="preserve">
<value>Charge</value>
<value>Încărcare</value>
</data>
<data name="BatteryChargeLimit" xml:space="preserve">
<value>Limita de încărcare a bateriei</value>
@@ -262,7 +271,16 @@
<value>Sănătatea bateriei</value>
</data>
<data name="BatteryLimitFull" xml:space="preserve">
<value>One time charge to 100%</value>
<value>Încarcă o dată la 100%</value>
</data>
<data name="Binding" xml:space="preserve">
<value>Binding</value>
</data>
<data name="BindingPrimary" xml:space="preserve">
<value>Primary</value>
</data>
<data name="BindingSecondary" xml:space="preserve">
<value>Secondary</value>
</data>
<data name="BiosAndDriverUpdates" xml:space="preserve">
<value>Actualizări BIOS și Driver</value>
@@ -271,7 +289,7 @@
<value>Pornire</value>
</data>
<data name="BootSound" xml:space="preserve">
<value>Boot Sound</value>
<value>Sunet la pornire</value>
</data>
<data name="Brightness" xml:space="preserve">
<value>Luminozitate</value>
@@ -283,7 +301,7 @@
<value>Mărirea luminozității</value>
</data>
<data name="Calibrate" xml:space="preserve">
<value>Calibrate</value>
<value>Calibrează</value>
</data>
<data name="Charging" xml:space="preserve">
<value>Se încarcă</value>
@@ -291,6 +309,12 @@
<data name="Color" xml:space="preserve">
<value>Culoare</value>
</data>
<data name="Contrast" xml:space="preserve">
<value>Contrast</value>
</data>
<data name="Controller" xml:space="preserve">
<value>Controller</value>
</data>
<data name="CPUBoost" xml:space="preserve">
<value>Accelerare CPU</value>
</data>
@@ -298,11 +322,14 @@
<value>Personalizat</value>
</data>
<data name="Deceleration" xml:space="preserve">
<value>Deceleration</value>
<value>Decelerare</value>
</data>
<data name="Default" xml:space="preserve">
<value>Implicit</value>
</data>
<data name="DisableController" xml:space="preserve">
<value>Disable Controller</value>
</data>
<data name="DisableOverdrive" xml:space="preserve">
<value>Dezactivează screen overdrive</value>
</data>
@@ -310,7 +337,7 @@
<value>Se descarcă</value>
</data>
<data name="DownloadUpdate" xml:space="preserve">
<value>Download</value>
<value>Descarcă</value>
</data>
<data name="DriverAndSoftware" xml:space="preserve">
<value>Drivers și Aplicații</value>
@@ -321,6 +348,9 @@
<data name="EcoMode" xml:space="preserve">
<value>Eco</value>
</data>
<data name="EnableGPUOnShutdown" xml:space="preserve">
<value>Enable GPU on shutdown (prevents issue with Eco mode)</value>
</data>
<data name="EnableOptimusText" xml:space="preserve">
<value>Dezactivarea dGPU pentru a utiliza modul Eco, în timp ce Display Mode în NVIDIA Control Panel nu este setat la modul Optimus, poate cauza probleme cu controalele de luminozitate până la următoarea repornire.
@@ -330,7 +360,10 @@
<value>NVIDIA Display Mode nu este setat la modul Optimus</value>
</data>
<data name="EnergySettings" xml:space="preserve">
<value>Energy Settings</value>
<value>Setări energie</value>
</data>
<data name="Export" xml:space="preserve">
<value>Export Profile</value>
</data>
<data name="Extra" xml:space="preserve">
<value>Extra</value>
@@ -399,10 +432,16 @@
<value>Temperatura țintă</value>
</data>
<data name="HibernateAfter" xml:space="preserve">
<value>Minutes till Hibernation in sleep on battery (0 - OFF)</value>
<value>Minute până la Hibernare în mod repaus pe baterie (0 - Oprit)</value>
</data>
<data name="High" xml:space="preserve">
<value>High</value>
<value>Ridicat</value>
</data>
<data name="ImageRotation" xml:space="preserve">
<value>Image Rotation</value>
</data>
<data name="Import" xml:space="preserve">
<value>Import Profile</value>
</data>
<data name="KeyBindings" xml:space="preserve">
<value>Asocieri taste</value>
@@ -423,19 +462,25 @@
<value>Ecran Laptop</value>
</data>
<data name="Lid" xml:space="preserve">
<value>Lid</value>
<value>Capac</value>
</data>
<data name="Lightbar" xml:space="preserve">
<value>Lightbar</value>
</data>
<data name="Lighting" xml:space="preserve">
<value>Lighting</value>
<value>Iluminare</value>
</data>
<data name="Logo" xml:space="preserve">
<value>Logo-ul</value>
</data>
<data name="Low" xml:space="preserve">
<value>Low</value>
<value>Scăzut</value>
</data>
<data name="LSDeadzones" xml:space="preserve">
<value>Left Stick Deadzones</value>
</data>
<data name="LTDeadzones" xml:space="preserve">
<value>Left Trigger Deadzones</value>
</data>
<data name="MatrixAudio" xml:space="preserve">
<value>Vizualizator audio</value>
@@ -465,46 +510,52 @@
<value>Imagine</value>
</data>
<data name="MaxRefreshTooltip" xml:space="preserve">
<value>Valoare maximă refresh rate pentru latență mai mică</value>
<value>Rata maximă de reîmprospătare pentru latență mai mică</value>
</data>
<data name="MinRefreshTooltip" xml:space="preserve">
<value>60Hz refresh rate pentru a economisi bateria</value>
<value>60Hz rată de reîmprospătare pentru a economisi bateria</value>
</data>
<data name="Minute" xml:space="preserve">
<value>Minute</value>
<value>Minut</value>
</data>
<data name="Minutes" xml:space="preserve">
<value>Minutes</value>
<value>Minute</value>
</data>
<data name="MouseAngleSnapping" xml:space="preserve">
<value>Angle Snapping</value>
<value>Fixare mișcare la unghi</value>
</data>
<data name="MouseAutoPowerOff" xml:space="preserve">
<value>Auto Power Off After</value>
<value>Oprire automată după</value>
</data>
<data name="MouseButtonResponse" xml:space="preserve">
<value>Button Response</value>
<value>Răspuns buton</value>
</data>
<data name="MouseImportFailed" xml:space="preserve">
<value>Import failed. Selected file is not a valid mouse profile or corrutpted.</value>
</data>
<data name="MouseLiftOffDistance" xml:space="preserve">
<value>Lift Off Distance</value>
<value>Distanța de oprire</value>
</data>
<data name="MouseLowBatteryWarning" xml:space="preserve">
<value>Low Battery Warning at</value>
<value>Avertizare baterie scăzută la</value>
</data>
<data name="MousePerformance" xml:space="preserve">
<value>Performance</value>
<value>Performanță</value>
</data>
<data name="MouseSynchronize" xml:space="preserve">
<value>Synchronize with mouse</value>
<value>Sincronizare cu mouse-ul</value>
</data>
<data name="Multizone" xml:space="preserve">
<value>Multizone</value>
<value>Multi Zone</value>
</data>
<data name="MultizoneStrong" xml:space="preserve">
<value>Multi Zone Strong</value>
</data>
<data name="MuteMic" xml:space="preserve">
<value>Oprire microfon</value>
</data>
<data name="Never" xml:space="preserve">
<value>Never</value>
<value>Niciodată</value>
</data>
<data name="NewUpdates" xml:space="preserve">
<value>Actualizări noi</value>
@@ -513,7 +564,10 @@
<value>Nu există actualizări noi</value>
</data>
<data name="NotConnected" xml:space="preserve">
<value>Not Connected</value>
<value>Neconectat</value>
</data>
<data name="OneZone" xml:space="preserve">
<value>One Zone</value>
</data>
<data name="OpenGHelper" xml:space="preserve">
<value>Deschide fereastra G-Helper</value>
@@ -537,7 +591,7 @@
<value>Mod</value>
</data>
<data name="Peripherals" xml:space="preserve">
<value>Peripherals</value>
<value>Periferice</value>
</data>
<data name="PictureGif" xml:space="preserve">
<value>Poză / Gif</value>
@@ -546,7 +600,7 @@
<value>Redare / Pauză</value>
</data>
<data name="PollingRate" xml:space="preserve">
<value>Polling Rate</value>
<value>Rată sondaj</value>
</data>
<data name="PowerLimits" xml:space="preserve">
<value>Limite de putere</value>
@@ -558,20 +612,32 @@
<value>PrintScreen</value>
</data>
<data name="Profile" xml:space="preserve">
<value>Profile</value>
<value>Profil</value>
</data>
<data name="Quit" xml:space="preserve">
<value>Închide</value>
</data>
<data name="Reset" xml:space="preserve">
<value>Reset</value>
</data>
<data name="RestartGPU" xml:space="preserve">
<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>
<value>Ceva folosește dGPU și previne modul Eco. Permiteți G-Helper să repornească dGPU în managerul de dispozitive? (Continuați pe propriul risc)</value>
</data>
<data name="RPM" xml:space="preserve">
<value>RPM</value>
</data>
<data name="RSDeadzones" xml:space="preserve">
<value>Right Stick Deadzones</value>
</data>
<data name="RTDeadzones" xml:space="preserve">
<value>Right Trigger Deadzones</value>
</data>
<data name="RunOnStartup" xml:space="preserve">
<value>Rulează la pornirea sistemului</value>
</data>
<data name="ScalingQuality" xml:space="preserve">
<value>Scaling Quality</value>
</data>
<data name="ScreenPadDown" xml:space="preserve">
<value>Scade luminozitate Screenpad</value>
</data>
@@ -650,6 +716,9 @@
<data name="VersionLabel" xml:space="preserve">
<value>Versiune</value>
</data>
<data name="VibrationStrength" xml:space="preserve">
<value>Vibration Strength</value>
</data>
<data name="VolumeDown" xml:space="preserve">
<value>Buton scădere volum</value>
</data>
@@ -662,4 +731,7 @@
<data name="WindowTop" xml:space="preserve">
<value>Păstrează aplicația mereu deasupra</value>
</data>
<data name="Zoom" xml:space="preserve">
<value>Zoom</value>
</data>
</root>

View File

@@ -124,10 +124,10 @@
<value>ASUS ACPI'ye bağlanılamıyor. Uygulama o olmadan çalışamaz. Asus Sistem Kontrol Arayüzü'nü yüklemeyi deneyin.</value>
</data>
<data name="AlertAPUMemoryRestart" xml:space="preserve">
<value>Restart your device to apply changes</value>
<value>Değişiklikleri uygulamak için cihazınızı yeniden başlatın</value>
</data>
<data name="AlertAPUMemoryRestartTitle" xml:space="preserve">
<value>Restart now?</value>
<value>Şimdi yeniden başlatılsın mı?</value>
</data>
<data name="AlertDGPU" xml:space="preserve">
<value>Görünüşe göre GPU yoğun bir şekilde kullanılıyor, devre dışı bırakılsın mı?</value>
@@ -144,6 +144,9 @@
<data name="AlertUltimateTitle" xml:space="preserve">
<value>Şimdi yeniden başlatılsın mı?</value>
</data>
<data name="AllyController" xml:space="preserve">
<value>Ally Controller</value>
</data>
<data name="AnimationSpeed" xml:space="preserve">
<value>Animasyon Hızı</value>
</data>
@@ -169,7 +172,7 @@
<value>Windows Güç Modunu otomatik ayarla</value>
</data>
<data name="APUMemory" xml:space="preserve">
<value>Memory Assigned to GPU</value>
<value>GPU'ya Atanan Bellek</value>
</data>
<data name="AsusServicesRunning" xml:space="preserve">
<value>Çalışan Asus Hizmetleri</value>
@@ -249,6 +252,12 @@
<data name="BacklightTimeout" xml:space="preserve">
<value>Pildeyken klavye ışığının kapanma süresi</value>
</data>
<data name="BacklightTimeoutBattery" xml:space="preserve">
<value>Backlight Timeout when on battery</value>
</data>
<data name="BacklightTimeoutPlugged" xml:space="preserve">
<value>Backlight Timeout when plugged</value>
</data>
<data name="Balanced" xml:space="preserve">
<value>Dengeli</value>
</data>
@@ -264,6 +273,15 @@
<data name="BatteryLimitFull" xml:space="preserve">
<value>Bir seferlik %100 şarj etme</value>
</data>
<data name="Binding" xml:space="preserve">
<value>Binding</value>
</data>
<data name="BindingPrimary" xml:space="preserve">
<value>Primary</value>
</data>
<data name="BindingSecondary" xml:space="preserve">
<value>Secondary</value>
</data>
<data name="BiosAndDriverUpdates" xml:space="preserve">
<value>BIOS ve Sürücü Güncellemeleri</value>
</data>
@@ -291,6 +309,12 @@
<data name="Color" xml:space="preserve">
<value>Renk</value>
</data>
<data name="Contrast" xml:space="preserve">
<value>Contrast</value>
</data>
<data name="Controller" xml:space="preserve">
<value>Controller</value>
</data>
<data name="CPUBoost" xml:space="preserve">
<value>CPU Desteği</value>
</data>
@@ -303,6 +327,9 @@
<data name="Default" xml:space="preserve">
<value>Varsayılan</value>
</data>
<data name="DisableController" xml:space="preserve">
<value>Disable Controller</value>
</data>
<data name="DisableOverdrive" xml:space="preserve">
<value>Ekran overdrive özelliğini devre dışı bırak</value>
</data>
@@ -321,6 +348,9 @@
<data name="EcoMode" xml:space="preserve">
<value>Eko</value>
</data>
<data name="EnableGPUOnShutdown" xml:space="preserve">
<value>Enable GPU on shutdown (prevents issue with Eco mode)</value>
</data>
<data name="EnableOptimusText" xml:space="preserve">
<value>NVIDIA Denetim Masası'ndaki Görüntü Modu Optimus olarak ayarlı değilken Eko moduna geçilerek harici GPU'nun devre dışı bırakılması, bir sonraki yeniden başlatmaya kadar parlaklık ayarlarında sorunlara neden olabilir.
@@ -332,6 +362,9 @@ Yine de devam etmek istiyor musunuz?</value>
<data name="EnergySettings" xml:space="preserve">
<value>Enerji Ayarları</value>
</data>
<data name="Export" xml:space="preserve">
<value>Export Profile</value>
</data>
<data name="Extra" xml:space="preserve">
<value>Ekstra</value>
</data>
@@ -378,7 +411,7 @@ Yine de devam etmek istiyor musunuz?</value>
<value>Çekirdek Frekans Dengesi</value>
</data>
<data name="GPUMemoryClockOffset" xml:space="preserve">
<value>Hafıza Frekans Dengesi</value>
<value>Bellek Frekans Dengesi</value>
</data>
<data name="GPUMode" xml:space="preserve">
<value>GPU Modu</value>
@@ -404,6 +437,12 @@ Yine de devam etmek istiyor musunuz?</value>
<data name="High" xml:space="preserve">
<value>Yüksek</value>
</data>
<data name="ImageRotation" xml:space="preserve">
<value>Image Rotation</value>
</data>
<data name="Import" xml:space="preserve">
<value>Import Profile</value>
</data>
<data name="KeyBindings" xml:space="preserve">
<value>Tuş Atamaları</value>
</data>
@@ -437,6 +476,12 @@ Yine de devam etmek istiyor musunuz?</value>
<data name="Low" xml:space="preserve">
<value>Düşük</value>
</data>
<data name="LSDeadzones" xml:space="preserve">
<value>Left Stick Deadzones</value>
</data>
<data name="LTDeadzones" xml:space="preserve">
<value>Left Trigger Deadzones</value>
</data>
<data name="MatrixAudio" xml:space="preserve">
<value>Ses Görselleştirici</value>
</data>
@@ -485,6 +530,9 @@ Yine de devam etmek istiyor musunuz?</value>
<data name="MouseButtonResponse" xml:space="preserve">
<value>Tuş Tepkisi</value>
</data>
<data name="MouseImportFailed" xml:space="preserve">
<value>Import failed. Selected file is not a valid mouse profile or corrutpted.</value>
</data>
<data name="MouseLiftOffDistance" xml:space="preserve">
<value>Havalanma Mesafesi</value>
</data>
@@ -498,7 +546,10 @@ Yine de devam etmek istiyor musunuz?</value>
<value>Fare ile senkronize edin</value>
</data>
<data name="Multizone" xml:space="preserve">
<value>Çoklu Bölge</value>
<value>Multi Zone</value>
</data>
<data name="MultizoneStrong" xml:space="preserve">
<value>Multi Zone Strong</value>
</data>
<data name="MuteMic" xml:space="preserve">
<value>Mikrofonu Sustur</value>
@@ -515,6 +566,9 @@ Yine de devam etmek istiyor musunuz?</value>
<data name="NotConnected" xml:space="preserve">
<value>Bağlantı Yok</value>
</data>
<data name="OneZone" xml:space="preserve">
<value>One Zone</value>
</data>
<data name="OpenGHelper" xml:space="preserve">
<value>G-Helper penceresini aç</value>
</data>
@@ -563,15 +617,27 @@ Yine de devam etmek istiyor musunuz?</value>
<data name="Quit" xml:space="preserve">
<value>Çıkış Yap</value>
</data>
<data name="Reset" xml:space="preserve">
<value>Reset</value>
</data>
<data name="RestartGPU" xml:space="preserve">
<value>Bir şey harici GPU'yu kullanıyor ve Eco modunu engelliyor. G-Helper aygıt yöneticisinde harici GPU'yu yeniden başlatmayı denesin mi? (Kendi sorumluluğunuzdadır)</value>
</data>
<data name="RPM" xml:space="preserve">
<value>RPM</value>
</data>
<data name="RSDeadzones" xml:space="preserve">
<value>Right Stick Deadzones</value>
</data>
<data name="RTDeadzones" xml:space="preserve">
<value>Right Trigger Deadzones</value>
</data>
<data name="RunOnStartup" xml:space="preserve">
<value>Başlangıçta Çalıştır</value>
</data>
<data name="ScalingQuality" xml:space="preserve">
<value>Scaling Quality</value>
</data>
<data name="ScreenPadDown" xml:space="preserve">
<value>Screenpad Parlaklığını Azalt</value>
</data>
@@ -650,6 +716,9 @@ Yine de devam etmek istiyor musunuz?</value>
<data name="VersionLabel" xml:space="preserve">
<value>Sürüm</value>
</data>
<data name="VibrationStrength" xml:space="preserve">
<value>Vibration Strength</value>
</data>
<data name="VolumeDown" xml:space="preserve">
<value>Sesi Azalt</value>
</data>
@@ -662,4 +731,7 @@ Yine de devam etmek istiyor musunuz?</value>
<data name="WindowTop" xml:space="preserve">
<value>Uygulama penceresini her zaman en üstte tut</value>
</data>
<data name="Zoom" xml:space="preserve">
<value>Zoom</value>
</data>
</root>

View File

@@ -124,10 +124,10 @@
<value>Не вдається під'єднатися до ASUS ACPI. Програма не може працювати без нього. Спробуйте встановити Asus System Control Interface</value>
</data>
<data name="AlertAPUMemoryRestart" xml:space="preserve">
<value>Restart your device to apply changes</value>
<value>Перезавантажте ваш пристрій, щоб зміни набули чинності</value>
</data>
<data name="AlertAPUMemoryRestartTitle" xml:space="preserve">
<value>Restart now?</value>
<value>Перезавантажити зараз?</value>
</data>
<data name="AlertDGPU" xml:space="preserve">
<value>Здається, що GPU використовується, вимкнути її?</value>
@@ -144,6 +144,9 @@
<data name="AlertUltimateTitle" xml:space="preserve">
<value>Перезавантажити зараз?</value>
</data>
<data name="AllyController" xml:space="preserve">
<value>Ally Контролер</value>
</data>
<data name="AnimationSpeed" xml:space="preserve">
<value>Швидкість Анімації</value>
</data>
@@ -169,7 +172,7 @@
<value>Автоматично застосовувати Windows Power Modes</value>
</data>
<data name="APUMemory" xml:space="preserve">
<value>Memory Assigned to GPU</value>
<value>Пам'ять призначена на GPU</value>
</data>
<data name="AsusServicesRunning" xml:space="preserve">
<value>Кількість запущених сервісів Asus</value>
@@ -249,6 +252,12 @@
<data name="BacklightTimeout" xml:space="preserve">
<value>Тайм-аут на зарядці / на батареї (0 - УВІМК)</value>
</data>
<data name="BacklightTimeoutBattery" xml:space="preserve">
<value>Тайм-аут підсвітки на батареї</value>
</data>
<data name="BacklightTimeoutPlugged" xml:space="preserve">
<value>Тайм-аут підсвітки на зарядці</value>
</data>
<data name="Balanced" xml:space="preserve">
<value>Баланс</value>
</data>
@@ -264,6 +273,15 @@
<data name="BatteryLimitFull" xml:space="preserve">
<value>Одноразовий заряд до 100%</value>
</data>
<data name="Binding" xml:space="preserve">
<value>Прив'язка</value>
</data>
<data name="BindingPrimary" xml:space="preserve">
<value>Первинна</value>
</data>
<data name="BindingSecondary" xml:space="preserve">
<value>Додаткова</value>
</data>
<data name="BiosAndDriverUpdates" xml:space="preserve">
<value>Оновлення BIOS та драйверів</value>
</data>
@@ -291,6 +309,12 @@
<data name="Color" xml:space="preserve">
<value>Колір</value>
</data>
<data name="Contrast" xml:space="preserve">
<value>Контраст</value>
</data>
<data name="Controller" xml:space="preserve">
<value>Контролер</value>
</data>
<data name="CPUBoost" xml:space="preserve">
<value>CPU Boost</value>
</data>
@@ -303,6 +327,9 @@
<data name="Default" xml:space="preserve">
<value>За замовчуванням</value>
</data>
<data name="DisableController" xml:space="preserve">
<value>Вимкнути контролер</value>
</data>
<data name="DisableOverdrive" xml:space="preserve">
<value>Вимкнути овердрайв дисплею</value>
</data>
@@ -321,6 +348,9 @@
<data name="EcoMode" xml:space="preserve">
<value>Еко</value>
</data>
<data name="EnableGPUOnShutdown" xml:space="preserve">
<value>Увімкнути GPU при вимиканні лептопу</value>
</data>
<data name="EnableOptimusText" xml:space="preserve">
<value>Вимкнення dGPU коли NVIDIA Display Mode не встановлено в режим Optimus може спричинити проблеми з управлінням яскравістю до наступного перезавантаження.
@@ -332,6 +362,9 @@
<data name="EnergySettings" xml:space="preserve">
<value>Налаштування Енергії</value>
</data>
<data name="Export" xml:space="preserve">
<value>Export Profile</value>
</data>
<data name="Extra" xml:space="preserve">
<value>Додатково</value>
</data>
@@ -404,6 +437,12 @@
<data name="High" xml:space="preserve">
<value>Висока</value>
</data>
<data name="ImageRotation" xml:space="preserve">
<value>Поворот</value>
</data>
<data name="Import" xml:space="preserve">
<value>Import Profile</value>
</data>
<data name="KeyBindings" xml:space="preserve">
<value>Прив'язки клавіш</value>
</data>
@@ -437,6 +476,12 @@
<data name="Low" xml:space="preserve">
<value>Низька</value>
</data>
<data name="LSDeadzones" xml:space="preserve">
<value>Лівий стік - Deadzone</value>
</data>
<data name="LTDeadzones" xml:space="preserve">
<value>Лівий тригер - Deadzone</value>
</data>
<data name="MatrixAudio" xml:space="preserve">
<value>Аудіо візуалізатор</value>
</data>
@@ -485,6 +530,9 @@
<data name="MouseButtonResponse" xml:space="preserve">
<value>Відповідь Кнопок</value>
</data>
<data name="MouseImportFailed" xml:space="preserve">
<value>Import failed. Selected file is not a valid mouse profile or corrutpted.</value>
</data>
<data name="MouseLiftOffDistance" xml:space="preserve">
<value>Відстань підйому</value>
</data>
@@ -498,7 +546,10 @@
<value>Синхронізувати з мишею</value>
</data>
<data name="Multizone" xml:space="preserve">
<value>Мультизони</value>
<value>Мульти зона</value>
</data>
<data name="MultizoneStrong" xml:space="preserve">
<value>Мульти зона сильна</value>
</data>
<data name="MuteMic" xml:space="preserve">
<value>Вимкнути мікрофон</value>
@@ -515,6 +566,9 @@
<data name="NotConnected" xml:space="preserve">
<value>Не під'єднано</value>
</data>
<data name="OneZone" xml:space="preserve">
<value>Одна зона</value>
</data>
<data name="OpenGHelper" xml:space="preserve">
<value>Відкрити вікно G-Helper</value>
</data>
@@ -563,15 +617,27 @@
<data name="Quit" xml:space="preserve">
<value>Вихід</value>
</data>
<data name="Reset" xml:space="preserve">
<value>Скинути</value>
</data>
<data name="RestartGPU" xml:space="preserve">
<value>Щось використовує dGPU та запобігає Еко-режиму. Дозвольте G-Helper спробувати перезапустити dGPU у менеджері пристрою? (Будь ласка, продовжуйте на власний ризик)</value>
</data>
<data name="RPM" xml:space="preserve">
<value>Оберти</value>
</data>
<data name="RSDeadzones" xml:space="preserve">
<value>Правий стік - Deadzone</value>
</data>
<data name="RTDeadzones" xml:space="preserve">
<value>Правий тригер - Deadzone</value>
</data>
<data name="RunOnStartup" xml:space="preserve">
<value>Запускати на старті</value>
</data>
<data name="ScalingQuality" xml:space="preserve">
<value>Масштабування</value>
</data>
<data name="ScreenPadDown" xml:space="preserve">
<value>Зменшити яскравість Screenpad</value>
</data>
@@ -650,6 +716,9 @@
<data name="VersionLabel" xml:space="preserve">
<value>Версія</value>
</data>
<data name="VibrationStrength" xml:space="preserve">
<value>Сила вібрації</value>
</data>
<data name="VolumeDown" xml:space="preserve">
<value>Зменшення гучності</value>
</data>
@@ -662,4 +731,7 @@
<data name="WindowTop" xml:space="preserve">
<value>Тримати вікно завжди зверху</value>
</data>
<data name="Zoom" xml:space="preserve">
<value>Зум</value>
</data>
</root>

View File

@@ -144,6 +144,9 @@
<data name="AlertUltimateTitle" xml:space="preserve">
<value>Khởi động lại ngay?</value>
</data>
<data name="AllyController" xml:space="preserve">
<value>Ally Controller</value>
</data>
<data name="AnimationSpeed" xml:space="preserve">
<value>Tốc độ</value>
</data>
@@ -249,6 +252,12 @@
<data name="BacklightTimeout" xml:space="preserve">
<value>Số giây để tắt đèn nền bàn phím(khi dùng pin)</value>
</data>
<data name="BacklightTimeoutBattery" xml:space="preserve">
<value>Backlight Timeout when on battery</value>
</data>
<data name="BacklightTimeoutPlugged" xml:space="preserve">
<value>Backlight Timeout when plugged</value>
</data>
<data name="Balanced" xml:space="preserve">
<value>Cân bằng</value>
</data>
@@ -264,6 +273,15 @@
<data name="BatteryLimitFull" xml:space="preserve">
<value>One time charge to 100%</value>
</data>
<data name="Binding" xml:space="preserve">
<value>Binding</value>
</data>
<data name="BindingPrimary" xml:space="preserve">
<value>Primary</value>
</data>
<data name="BindingSecondary" xml:space="preserve">
<value>Secondary</value>
</data>
<data name="BiosAndDriverUpdates" xml:space="preserve">
<value>Cập nhật BIOS và driver</value>
</data>
@@ -291,6 +309,12 @@
<data name="Color" xml:space="preserve">
<value>Màu</value>
</data>
<data name="Contrast" xml:space="preserve">
<value>Contrast</value>
</data>
<data name="Controller" xml:space="preserve">
<value>Controller</value>
</data>
<data name="CPUBoost" xml:space="preserve">
<value>Tăng tốc CPU</value>
</data>
@@ -303,6 +327,9 @@
<data name="Default" xml:space="preserve">
<value>Mặc định</value>
</data>
<data name="DisableController" xml:space="preserve">
<value>Disable Controller</value>
</data>
<data name="DisableOverdrive" xml:space="preserve">
<value>Tắt Overdrive</value>
</data>
@@ -321,6 +348,9 @@
<data name="EcoMode" xml:space="preserve">
<value>Tiết kiệm</value>
</data>
<data name="EnableGPUOnShutdown" xml:space="preserve">
<value>Enable GPU on shutdown (prevents issue with Eco mode)</value>
</data>
<data name="EnableOptimusText" xml:space="preserve">
<value>Disabling the dGPU by going into Eco mode while Display Mode in NVIDIA Control Panel is not set to Optimus might cause problems with brightness controls until after the next reboot.
@@ -332,6 +362,9 @@ Do you still want to continue?</value>
<data name="EnergySettings" xml:space="preserve">
<value>Energy Settings</value>
</data>
<data name="Export" xml:space="preserve">
<value>Export Profile</value>
</data>
<data name="Extra" xml:space="preserve">
<value>Thêm</value>
</data>
@@ -404,6 +437,12 @@ Do you still want to continue?</value>
<data name="High" xml:space="preserve">
<value>High</value>
</data>
<data name="ImageRotation" xml:space="preserve">
<value>Image Rotation</value>
</data>
<data name="Import" xml:space="preserve">
<value>Import Profile</value>
</data>
<data name="KeyBindings" xml:space="preserve">
<value>Tổ hợp phím</value>
</data>
@@ -437,6 +476,12 @@ Do you still want to continue?</value>
<data name="Low" xml:space="preserve">
<value>Low</value>
</data>
<data name="LSDeadzones" xml:space="preserve">
<value>Left Stick Deadzones</value>
</data>
<data name="LTDeadzones" xml:space="preserve">
<value>Left Trigger Deadzones</value>
</data>
<data name="MatrixAudio" xml:space="preserve">
<value>Sóng nhạc</value>
</data>
@@ -485,6 +530,9 @@ Do you still want to continue?</value>
<data name="MouseButtonResponse" xml:space="preserve">
<value>Button Response</value>
</data>
<data name="MouseImportFailed" xml:space="preserve">
<value>Import failed. Selected file is not a valid mouse profile or corrutpted.</value>
</data>
<data name="MouseLiftOffDistance" xml:space="preserve">
<value>Lift Off Distance</value>
</data>
@@ -498,7 +546,10 @@ Do you still want to continue?</value>
<value>Synchronize with mouse</value>
</data>
<data name="Multizone" xml:space="preserve">
<value>Đèn nền Đa vùng(Multi-Zone)</value>
<value>Multi Zone</value>
</data>
<data name="MultizoneStrong" xml:space="preserve">
<value>Multi Zone Strong</value>
</data>
<data name="MuteMic" xml:space="preserve">
<value>Tắt Mic</value>
@@ -515,6 +566,9 @@ Do you still want to continue?</value>
<data name="NotConnected" xml:space="preserve">
<value>Not Connected</value>
</data>
<data name="OneZone" xml:space="preserve">
<value>One Zone</value>
</data>
<data name="OpenGHelper" xml:space="preserve">
<value>Mở cửa sổ G-Helper</value>
</data>
@@ -563,15 +617,27 @@ Do you still want to continue?</value>
<data name="Quit" xml:space="preserve">
<value>Thoát</value>
</data>
<data name="Reset" xml:space="preserve">
<value>Reset</value>
</data>
<data name="RestartGPU" xml:space="preserve">
<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>
</data>
<data name="RSDeadzones" xml:space="preserve">
<value>Right Stick Deadzones</value>
</data>
<data name="RTDeadzones" xml:space="preserve">
<value>Right Trigger Deadzones</value>
</data>
<data name="RunOnStartup" xml:space="preserve">
<value>Chạy khi khởi động</value>
</data>
<data name="ScalingQuality" xml:space="preserve">
<value>Scaling Quality</value>
</data>
<data name="ScreenPadDown" xml:space="preserve">
<value>Screenpad Brightness Down</value>
</data>
@@ -650,6 +716,9 @@ Do you still want to continue?</value>
<data name="VersionLabel" xml:space="preserve">
<value>Phiên bản</value>
</data>
<data name="VibrationStrength" xml:space="preserve">
<value>Vibration Strength</value>
</data>
<data name="VolumeDown" xml:space="preserve">
<value>Giảm âm lượng</value>
</data>
@@ -662,4 +731,7 @@ Do you still want to continue?</value>
<data name="WindowTop" xml:space="preserve">
<value>Giữ cửa sổ ở trên cùng</value>
</data>
<data name="Zoom" xml:space="preserve">
<value>Zoom</value>
</data>
</root>

View File

@@ -124,10 +124,10 @@
<value>无法连接到ASUS ACPI。 没有它应用程序将无法运行。 请尝试安装Asus System Control Interface驱动。</value>
</data>
<data name="AlertAPUMemoryRestart" xml:space="preserve">
<value>Restart your device to apply changes</value>
<value>重新启动您的设备以应用更改</value>
</data>
<data name="AlertAPUMemoryRestartTitle" xml:space="preserve">
<value>Restart now?</value>
<value>现在重启?</value>
</data>
<data name="AlertDGPU" xml:space="preserve">
<value>看起来 GPU 正在被重度使用,是否禁用?</value>
@@ -144,6 +144,9 @@
<data name="AlertUltimateTitle" xml:space="preserve">
<value>现在重启吗?</value>
</data>
<data name="AllyController" xml:space="preserve">
<value>Ally Controller</value>
</data>
<data name="AnimationSpeed" xml:space="preserve">
<value>动画速度</value>
</data>
@@ -169,7 +172,7 @@
<value>自动调整Windows电源模式</value>
</data>
<data name="APUMemory" xml:space="preserve">
<value>Memory Assigned to GPU</value>
<value>分配给 GPU 的内存</value>
</data>
<data name="AsusServicesRunning" xml:space="preserve">
<value>正在运行的 Asus 服务</value>
@@ -249,6 +252,12 @@
<data name="BacklightTimeout" xml:space="preserve">
<value>插电/电池时熄灭时间0表示长亮</value>
</data>
<data name="BacklightTimeoutBattery" xml:space="preserve">
<value>充电模式下的背光超时</value>
</data>
<data name="BacklightTimeoutPlugged" xml:space="preserve">
<value>电源模式下的背光超时</value>
</data>
<data name="Balanced" xml:space="preserve">
<value>平衡模式</value>
</data>
@@ -264,6 +273,15 @@
<data name="BatteryLimitFull" xml:space="preserve">
<value>一次性充电至 100%</value>
</data>
<data name="Binding" xml:space="preserve">
<value>Binding</value>
</data>
<data name="BindingPrimary" xml:space="preserve">
<value>Primary</value>
</data>
<data name="BindingSecondary" xml:space="preserve">
<value>Secondary</value>
</data>
<data name="BiosAndDriverUpdates" xml:space="preserve">
<value>BIOS 和驱动程序更新</value>
</data>
@@ -291,6 +309,12 @@
<data name="Color" xml:space="preserve">
<value>颜色</value>
</data>
<data name="Contrast" xml:space="preserve">
<value>Contrast</value>
</data>
<data name="Controller" xml:space="preserve">
<value>Controller</value>
</data>
<data name="CPUBoost" xml:space="preserve">
<value>CPU 睿频</value>
</data>
@@ -303,6 +327,9 @@
<data name="Default" xml:space="preserve">
<value>默认</value>
</data>
<data name="DisableController" xml:space="preserve">
<value>Disable Controller</value>
</data>
<data name="DisableOverdrive" xml:space="preserve">
<value>禁用屏幕快速显示(OD)</value>
</data>
@@ -321,6 +348,9 @@
<data name="EcoMode" xml:space="preserve">
<value>集显模式</value>
</data>
<data name="EnableGPUOnShutdown" xml:space="preserve">
<value>Enable GPU on shutdown (prevents issue with Eco mode)</value>
</data>
<data name="EnableOptimusText" xml:space="preserve">
<value>NVIDIA 控制面板中的显示模式未设置为 Optimus 时,通过集显模式禁用独立显卡可能会使亮度控制出现问题,直到下次重启后才能恢复。
@@ -332,6 +362,9 @@
<data name="EnergySettings" xml:space="preserve">
<value>电源设置</value>
</data>
<data name="Export" xml:space="preserve">
<value>Export Profile</value>
</data>
<data name="Extra" xml:space="preserve">
<value>更多</value>
</data>
@@ -404,6 +437,12 @@
<data name="High" xml:space="preserve">
<value>高</value>
</data>
<data name="ImageRotation" xml:space="preserve">
<value>Image Rotation</value>
</data>
<data name="Import" xml:space="preserve">
<value>Import Profile</value>
</data>
<data name="KeyBindings" xml:space="preserve">
<value>按键绑定</value>
</data>
@@ -437,6 +476,12 @@
<data name="Low" xml:space="preserve">
<value>低</value>
</data>
<data name="LSDeadzones" xml:space="preserve">
<value>Left Stick Deadzones</value>
</data>
<data name="LTDeadzones" xml:space="preserve">
<value>Left Trigger Deadzones</value>
</data>
<data name="MatrixAudio" xml:space="preserve">
<value>音频可视化器</value>
</data>
@@ -485,6 +530,9 @@
<data name="MouseButtonResponse" xml:space="preserve">
<value>按键响应</value>
</data>
<data name="MouseImportFailed" xml:space="preserve">
<value>Import failed. Selected file is not a valid mouse profile or corrutpted.</value>
</data>
<data name="MouseLiftOffDistance" xml:space="preserve">
<value>响应高度</value>
</data>
@@ -498,7 +546,10 @@
<value>和鼠标同步</value>
</data>
<data name="Multizone" xml:space="preserve">
<value>多区域设置</value>
<value>Multi Zone</value>
</data>
<data name="MultizoneStrong" xml:space="preserve">
<value>Multi Zone Strong</value>
</data>
<data name="MuteMic" xml:space="preserve">
<value>静音麦克风</value>
@@ -515,6 +566,9 @@
<data name="NotConnected" xml:space="preserve">
<value>未连接</value>
</data>
<data name="OneZone" xml:space="preserve">
<value>One Zone</value>
</data>
<data name="OpenGHelper" xml:space="preserve">
<value>打开G-Helper窗口</value>
</data>
@@ -563,15 +617,27 @@
<data name="Quit" xml:space="preserve">
<value>退出</value>
</data>
<data name="Reset" xml:space="preserve">
<value>Reset</value>
</data>
<data name="RestartGPU" xml:space="preserve">
<value>有程序正在使用独显并阻止进入集显模式。要让 G-Helper 在设备管理器中重新启动独显吗?(请自行承担风险)</value>
</data>
<data name="RPM" xml:space="preserve">
<value>转/分钟</value>
</data>
<data name="RSDeadzones" xml:space="preserve">
<value>Right Stick Deadzones</value>
</data>
<data name="RTDeadzones" xml:space="preserve">
<value>Right Trigger Deadzones</value>
</data>
<data name="RunOnStartup" xml:space="preserve">
<value>开机自启</value>
</data>
<data name="ScalingQuality" xml:space="preserve">
<value>Scaling Quality</value>
</data>
<data name="ScreenPadDown" xml:space="preserve">
<value>Screenpad亮度降低</value>
</data>
@@ -650,6 +716,9 @@
<data name="VersionLabel" xml:space="preserve">
<value>版本</value>
</data>
<data name="VibrationStrength" xml:space="preserve">
<value>Vibration Strength</value>
</data>
<data name="VolumeDown" xml:space="preserve">
<value>音量降低</value>
</data>
@@ -662,4 +731,7 @@
<data name="WindowTop" xml:space="preserve">
<value>窗口置顶</value>
</data>
<data name="Zoom" xml:space="preserve">
<value>Zoom</value>
</data>
</root>

View File

@@ -124,10 +124,10 @@
<value>無法連結到華碩 ACPI。 没有它,應用程式將無法執行。 嘗試安裝Asus System Control Interface</value>
</data>
<data name="AlertAPUMemoryRestart" xml:space="preserve">
<value>Restart your device to apply changes</value>
<value>重新啟動裝置以套用變更</value>
</data>
<data name="AlertAPUMemoryRestartTitle" xml:space="preserve">
<value>Restart now?</value>
<value>現在重新啟動?</value>
</data>
<data name="AlertDGPU" xml:space="preserve">
<value>看起来 GPU 正在大量使用,是否禁用它?</value>
@@ -144,6 +144,9 @@
<data name="AlertUltimateTitle" xml:space="preserve">
<value>現在重新啟動嗎?</value>
</data>
<data name="AllyController" xml:space="preserve">
<value>Ally Controller</value>
</data>
<data name="AnimationSpeed" xml:space="preserve">
<value>動畫速度</value>
</data>
@@ -169,7 +172,7 @@
<value>自動調整Windows電源模式</value>
</data>
<data name="APUMemory" xml:space="preserve">
<value>Memory Assigned to GPU</value>
<value>分配給GPU的記憶體</value>
</data>
<data name="AsusServicesRunning" xml:space="preserve">
<value>執行中的華碩服務</value>
@@ -249,6 +252,12 @@
<data name="BacklightTimeout" xml:space="preserve">
<value>閒置幾秒後關閉燈光:插電時 / 使用電池 (0 = 不關閉)</value>
</data>
<data name="BacklightTimeoutBattery" xml:space="preserve">
<value>閒置時關閉燈光(電池模式)</value>
</data>
<data name="BacklightTimeoutPlugged" xml:space="preserve">
<value>閒置時關閉燈光(充電模式)</value>
</data>
<data name="Balanced" xml:space="preserve">
<value>平衡模式</value>
</data>
@@ -264,8 +273,17 @@
<data name="BatteryLimitFull" xml:space="preserve">
<value>僅本次將電力充滿</value>
</data>
<data name="Binding" xml:space="preserve">
<value>Binding</value>
</data>
<data name="BindingPrimary" xml:space="preserve">
<value>Primary</value>
</data>
<data name="BindingSecondary" xml:space="preserve">
<value>Secondary</value>
</data>
<data name="BiosAndDriverUpdates" xml:space="preserve">
<value>BIOS與驅動程式更新 Updates</value>
<value>BIOS與驅動程式更新</value>
</data>
<data name="Boot" xml:space="preserve">
<value>開機時</value>
@@ -291,6 +309,12 @@
<data name="Color" xml:space="preserve">
<value>顏色</value>
</data>
<data name="Contrast" xml:space="preserve">
<value>Contrast</value>
</data>
<data name="Controller" xml:space="preserve">
<value>Controller</value>
</data>
<data name="CPUBoost" xml:space="preserve">
<value>CPU 加速</value>
</data>
@@ -303,6 +327,9 @@
<data name="Default" xml:space="preserve">
<value>預設</value>
</data>
<data name="DisableController" xml:space="preserve">
<value>Disable Controller</value>
</data>
<data name="DisableOverdrive" xml:space="preserve">
<value>禁用螢幕加速OD</value>
</data>
@@ -321,6 +348,9 @@
<data name="EcoMode" xml:space="preserve">
<value>節能模式</value>
</data>
<data name="EnableGPUOnShutdown" xml:space="preserve">
<value>Enable GPU on shutdown (prevents issue with Eco mode)</value>
</data>
<data name="EnableOptimusText" xml:space="preserve">
<value>「Nvidia控制面板」中的顯示模式未設置為自動切換時透過G-Helper的節能模式禁用獨顯可能導致螢幕亮度控制出現問題直到下次重新開機後。
@@ -332,6 +362,9 @@
<data name="EnergySettings" xml:space="preserve">
<value>電源設定</value>
</data>
<data name="Export" xml:space="preserve">
<value>Export Profile</value>
</data>
<data name="Extra" xml:space="preserve">
<value>更多</value>
</data>
@@ -404,6 +437,12 @@
<data name="High" xml:space="preserve">
<value>高</value>
</data>
<data name="ImageRotation" xml:space="preserve">
<value>Image Rotation</value>
</data>
<data name="Import" xml:space="preserve">
<value>Import Profile</value>
</data>
<data name="KeyBindings" xml:space="preserve">
<value>按鍵綁定</value>
</data>
@@ -437,6 +476,12 @@
<data name="Low" xml:space="preserve">
<value>低</value>
</data>
<data name="LSDeadzones" xml:space="preserve">
<value>Left Stick Deadzones</value>
</data>
<data name="LTDeadzones" xml:space="preserve">
<value>Left Trigger Deadzones</value>
</data>
<data name="MatrixAudio" xml:space="preserve">
<value>音效視覺化</value>
</data>
@@ -485,6 +530,9 @@
<data name="MouseButtonResponse" xml:space="preserve">
<value>按鍵回應</value>
</data>
<data name="MouseImportFailed" xml:space="preserve">
<value>Import failed. Selected file is not a valid mouse profile or corrutpted.</value>
</data>
<data name="MouseLiftOffDistance" xml:space="preserve">
<value>響應高度(LOD)</value>
</data>
@@ -498,7 +546,10 @@
<value>與滑鼠同步</value>
</data>
<data name="Multizone" xml:space="preserve">
<value>多區</value>
<value>多區</value>
</data>
<data name="MultizoneStrong" xml:space="preserve">
<value>多區強化</value>
</data>
<data name="MuteMic" xml:space="preserve">
<value>麥克風開關</value>
@@ -515,6 +566,9 @@
<data name="NotConnected" xml:space="preserve">
<value>未連線</value>
</data>
<data name="OneZone" xml:space="preserve">
<value>單區</value>
</data>
<data name="OpenGHelper" xml:space="preserve">
<value>開啟G-Helper視窗</value>
</data>
@@ -563,15 +617,27 @@
<data name="Quit" xml:space="preserve">
<value>退出</value>
</data>
<data name="Reset" xml:space="preserve">
<value>Reset</value>
</data>
<data name="RestartGPU" xml:space="preserve">
<value>有其他程式正在使用獨顯導致無法切換至節能模式. 是否讓G-Helper重新啟動獨顯? * 請自行評估風險</value>
</data>
<data name="RPM" xml:space="preserve">
<value>每分鐘轉數</value>
</data>
<data name="RSDeadzones" xml:space="preserve">
<value>Right Stick Deadzones</value>
</data>
<data name="RTDeadzones" xml:space="preserve">
<value>Right Trigger Deadzones</value>
</data>
<data name="RunOnStartup" xml:space="preserve">
<value>開機自動開啟</value>
</data>
<data name="ScalingQuality" xml:space="preserve">
<value>Scaling Quality</value>
</data>
<data name="ScreenPadDown" xml:space="preserve">
<value>第二觸控螢幕亮度降低</value>
</data>
@@ -650,6 +716,9 @@
<data name="VersionLabel" xml:space="preserve">
<value>版本</value>
</data>
<data name="VibrationStrength" xml:space="preserve">
<value>Vibration Strength</value>
</data>
<data name="VolumeDown" xml:space="preserve">
<value>音量降低</value>
</data>
@@ -662,4 +731,7 @@
<data name="WindowTop" xml:space="preserve">
<value>視窗置頂</value>
</data>
<data name="Zoom" xml:space="preserve">
<value>Zoom</value>
</data>
</root>

BIN
app/Resources/ally.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 297 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 396 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 309 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 387 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 288 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 248 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 773 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 458 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 448 B

View File

@@ -4,7 +4,10 @@
//
using GHelper.Helpers;
using System.Management;
using System.Net;
using System.Reflection;
namespace Ryzen
{
@@ -52,7 +55,8 @@ namespace Ryzen
CPUName = obj["Name"].ToString();
CPUModel = obj["Caption"].ToString();
}
} catch (Exception ex)
}
catch (Exception ex)
{
Logger.WriteLine(ex.Message);
}
@@ -142,6 +146,55 @@ namespace Ryzen
return CPUName.Contains("6900H") || CPUName.Contains("7945H") || CPUName.Contains("7845H");
}
public static bool IsRingExsists()
{
string exeDir = Path.GetDirectoryName(Application.ExecutablePath);
return File.Exists(exeDir + "\\" + "WinRing0x64.dll");
}
public static void DownloadRing()
{
//var appVersion = new Version(Assembly.GetExecutingAssembly().GetName().Version.ToString());
//string requestUri = "https://github.com/seerge/g-helper/releases/download/v" + appVersion.Major + "." + appVersion.Minor + "/PluginAdvancedSettings.zip";
string requestUri = "https://github.com/seerge/g-helper/releases/download/v0.150/PluginAdvancedSettings.zip";
Uri uri = new Uri(requestUri);
string exeDir = Path.GetDirectoryName(Application.ExecutablePath);
string zipName = Path.GetFileName(uri.LocalPath);
string zipLocation = exeDir + "\\" + zipName;
using (WebClient client = new WebClient())
{
Logger.WriteLine(requestUri);
Logger.WriteLine(exeDir);
Logger.WriteLine(zipName);
try
{
client.DownloadFile(uri, zipLocation);
}
catch (Exception ex)
{
Logger.WriteLine(ex.Message);
Logger.WriteLine(ex.ToString());
if (!ProcessHelper.IsUserAdministrator() && !ex.Message.Contains("remote server")) ProcessHelper.RunAsAdmin("uv");
return;
}
try
{
System.IO.Compression.ZipFile.ExtractToDirectory(zipLocation, exeDir, overwriteFiles: true);
File.Delete(zipLocation);
ProcessHelper.RunAsAdmin("uv", true);
}
catch (Exception ex)
{
Logger.WriteLine(ex.ToString());
}
}
}
public static void SetAddresses()
{

284
app/Settings.Designer.cs generated
View File

@@ -64,6 +64,8 @@ namespace GHelper
labelCPUFan = new Label();
panelGPU = new Panel();
labelTipGPU = new Label();
tableAMD = new TableLayoutPanel();
buttonFPS = new RButton();
tableGPU = new TableLayoutPanel();
buttonStopGPU = new RButton();
buttonEco = new RButton();
@@ -108,6 +110,15 @@ namespace GHelper
panelPeripheralsTile = new Panel();
picturePeripherals = new PictureBox();
labelPeripherals = new Label();
panelAlly = new Panel();
tableLayoutAlly = new TableLayoutPanel();
buttonController = new RButton();
buttonBacklight = new RButton();
buttonControllerMode = new RButton();
panelAllyTitle = new Panel();
pictureAlly = new PictureBox();
labelAlly = new Label();
buttonOverlay = new RButton();
panelMatrix.SuspendLayout();
tableLayoutMatrix.SuspendLayout();
panelMatrixTitle.SuspendLayout();
@@ -122,6 +133,7 @@ namespace GHelper
panelCPUTitle.SuspendLayout();
((System.ComponentModel.ISupportInitialize)picturePerf).BeginInit();
panelGPU.SuspendLayout();
tableAMD.SuspendLayout();
tableGPU.SuspendLayout();
panelGPUTitle.SuspendLayout();
((System.ComponentModel.ISupportInitialize)pictureGPU).BeginInit();
@@ -141,11 +153,14 @@ namespace GHelper
tableLayoutPeripherals.SuspendLayout();
panelPeripheralsTile.SuspendLayout();
((System.ComponentModel.ISupportInitialize)picturePeripherals).BeginInit();
panelAlly.SuspendLayout();
tableLayoutAlly.SuspendLayout();
panelAllyTitle.SuspendLayout();
((System.ComponentModel.ISupportInitialize)pictureAlly).BeginInit();
SuspendLayout();
//
// panelMatrix
//
panelMatrix.AccessibleName = "Anime Matrix";
panelMatrix.AccessibleRole = AccessibleRole.Grouping;
panelMatrix.AutoSize = true;
panelMatrix.AutoSizeMode = AutoSizeMode.GrowAndShrink;
@@ -153,7 +168,7 @@ namespace GHelper
panelMatrix.Controls.Add(panelMatrixTitle);
panelMatrix.Controls.Add(checkMatrix);
panelMatrix.Dock = DockStyle.Top;
panelMatrix.Location = new Point(11, 747);
panelMatrix.Location = new Point(11, 827);
panelMatrix.Margin = new Padding(0);
panelMatrix.Name = "panelMatrix";
panelMatrix.Padding = new Padding(20, 20, 20, 10);
@@ -283,7 +298,7 @@ namespace GHelper
panelBattery.Controls.Add(sliderBattery);
panelBattery.Controls.Add(panelBatteryTitle);
panelBattery.Dock = DockStyle.Top;
panelBattery.Location = new Point(11, 1265);
panelBattery.Location = new Point(11, 1485);
panelBattery.Margin = new Padding(0);
panelBattery.Name = "panelBattery";
panelBattery.Padding = new Padding(20, 20, 20, 10);
@@ -312,7 +327,6 @@ namespace GHelper
//
// sliderBattery
//
sliderBattery.AccessibleName = "Battery Charge Limit";
sliderBattery.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
sliderBattery.Location = new Point(20, 65);
sliderBattery.Margin = new Padding(4);
@@ -323,7 +337,7 @@ namespace GHelper
sliderBattery.Step = 5;
sliderBattery.TabIndex = 20;
sliderBattery.Text = "sliderBattery";
sliderBattery.Value = 80;
sliderBattery.Value = 100;
//
// panelBatteryTitle
//
@@ -376,7 +390,7 @@ namespace GHelper
panelFooter.AutoSizeMode = AutoSizeMode.GrowAndShrink;
panelFooter.Controls.Add(tableButtons);
panelFooter.Dock = DockStyle.Top;
panelFooter.Location = new Point(11, 1440);
panelFooter.Location = new Point(11, 1660);
panelFooter.Margin = new Padding(0);
panelFooter.Name = "panelFooter";
panelFooter.Padding = new Padding(20);
@@ -420,7 +434,6 @@ namespace GHelper
//
// buttonQuit
//
buttonQuit.AccessibleName = "Quit Application";
buttonQuit.Activated = false;
buttonQuit.BackColor = SystemColors.ControlLight;
buttonQuit.BorderColor = Color.Transparent;
@@ -441,7 +454,6 @@ namespace GHelper
//
// buttonUpdates
//
buttonUpdates.AccessibleName = "BIOS and Driver Updates";
buttonUpdates.Activated = false;
buttonUpdates.BackColor = SystemColors.ControlLight;
buttonUpdates.BorderColor = Color.Transparent;
@@ -473,7 +485,6 @@ namespace GHelper
//
// panelPerformance
//
panelPerformance.AccessibleName = "Performance";
panelPerformance.AccessibleRole = AccessibleRole.Grouping;
panelPerformance.AutoSize = true;
panelPerformance.AutoSizeMode = AutoSizeMode.GrowAndShrink;
@@ -512,7 +523,6 @@ namespace GHelper
//
// buttonSilent
//
buttonSilent.AccessibleName = "Silent Mode";
buttonSilent.Activated = false;
buttonSilent.BackColor = SystemColors.ControlLightLight;
buttonSilent.BackgroundImageLayout = ImageLayout.None;
@@ -536,7 +546,6 @@ namespace GHelper
//
// buttonBalanced
//
buttonBalanced.AccessibleName = "Balanced Mode";
buttonBalanced.Activated = false;
buttonBalanced.BackColor = SystemColors.ControlLightLight;
buttonBalanced.BorderColor = Color.Transparent;
@@ -559,7 +568,6 @@ namespace GHelper
//
// buttonTurbo
//
buttonTurbo.AccessibleName = "Turbo Mode";
buttonTurbo.Activated = false;
buttonTurbo.BackColor = SystemColors.ControlLightLight;
buttonTurbo.BorderColor = Color.Transparent;
@@ -582,7 +590,6 @@ namespace GHelper
//
// buttonFans
//
buttonFans.AccessibleName = "Fans and Power Settings";
buttonFans.Activated = false;
buttonFans.BackColor = SystemColors.ControlLight;
buttonFans.BorderColor = Color.Transparent;
@@ -654,11 +661,11 @@ namespace GHelper
//
// panelGPU
//
panelGPU.AccessibleName = "GPU";
panelGPU.AccessibleRole = AccessibleRole.Grouping;
panelGPU.AutoSize = true;
panelGPU.AutoSizeMode = AutoSizeMode.GrowAndShrink;
panelGPU.Controls.Add(labelTipGPU);
panelGPU.Controls.Add(tableAMD);
panelGPU.Controls.Add(tableGPU);
panelGPU.Controls.Add(panelGPUTitle);
panelGPU.Dock = DockStyle.Top;
@@ -666,7 +673,7 @@ namespace GHelper
panelGPU.Margin = new Padding(0);
panelGPU.Name = "panelGPU";
panelGPU.Padding = new Padding(20, 20, 20, 0);
panelGPU.Size = new Size(827, 352);
panelGPU.Size = new Size(827, 432);
panelGPU.TabIndex = 1;
panelGPU.TabStop = true;
//
@@ -674,12 +681,54 @@ namespace GHelper
//
labelTipGPU.Dock = DockStyle.Top;
labelTipGPU.ForeColor = SystemColors.GrayText;
labelTipGPU.Location = new Point(20, 316);
labelTipGPU.Location = new Point(20, 396);
labelTipGPU.Margin = new Padding(4, 0, 4, 0);
labelTipGPU.Name = "labelTipGPU";
labelTipGPU.Size = new Size(787, 36);
labelTipGPU.TabIndex = 20;
//
// tableAMD
//
tableAMD.AutoSize = true;
tableAMD.AutoSizeMode = AutoSizeMode.GrowAndShrink;
tableAMD.ColumnCount = 3;
tableAMD.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 33F));
tableAMD.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 33F));
tableAMD.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 33F));
tableAMD.Controls.Add(buttonOverlay, 0, 0);
tableAMD.Controls.Add(buttonFPS, 0, 0);
tableAMD.Dock = DockStyle.Top;
tableAMD.Location = new Point(20, 316);
tableAMD.Margin = new Padding(8, 4, 8, 4);
tableAMD.Name = "tableAMD";
tableAMD.RowCount = 1;
tableAMD.RowStyles.Add(new RowStyle(SizeType.Absolute, 80F));
tableAMD.Size = new Size(787, 80);
tableAMD.TabIndex = 24;
tableAMD.Visible = false;
//
// buttonFPS
//
buttonFPS.Activated = false;
buttonFPS.BackColor = SystemColors.ControlLightLight;
buttonFPS.BorderColor = Color.Transparent;
buttonFPS.BorderRadius = 5;
buttonFPS.Dock = DockStyle.Fill;
buttonFPS.FlatAppearance.BorderSize = 0;
buttonFPS.FlatStyle = FlatStyle.Flat;
buttonFPS.ForeColor = SystemColors.ControlText;
buttonFPS.Image = Properties.Resources.icons8_animation_32;
buttonFPS.ImageAlign = ContentAlignment.MiddleRight;
buttonFPS.Location = new Point(4, 4);
buttonFPS.Margin = new Padding(4);
buttonFPS.Name = "buttonFPS";
buttonFPS.Secondary = false;
buttonFPS.Size = new Size(254, 72);
buttonFPS.TabIndex = 11;
buttonFPS.Text = "FPS Limit OFF";
buttonFPS.TextImageRelation = TextImageRelation.ImageBeforeText;
buttonFPS.UseVisualStyleBackColor = false;
//
// tableGPU
//
tableGPU.AutoSize = true;
@@ -731,7 +780,6 @@ namespace GHelper
//
// buttonEco
//
buttonEco.AccessibleName = "Eco GPU Mode";
buttonEco.Activated = false;
buttonEco.BackColor = SystemColors.ControlLightLight;
buttonEco.BorderColor = Color.Transparent;
@@ -755,7 +803,6 @@ namespace GHelper
//
// buttonStandard
//
buttonStandard.AccessibleName = "Standard GPU Mode";
buttonStandard.Activated = false;
buttonStandard.BackColor = SystemColors.ControlLightLight;
buttonStandard.BorderColor = Color.Transparent;
@@ -801,7 +848,6 @@ namespace GHelper
//
// buttonOptimized
//
buttonOptimized.AccessibleName = "Optimized GPU Mode";
buttonOptimized.Activated = false;
buttonOptimized.BackColor = SystemColors.ControlLightLight;
buttonOptimized.BorderColor = Color.Transparent;
@@ -824,7 +870,6 @@ namespace GHelper
//
// buttonUltimate
//
buttonUltimate.AccessibleName = "Ultimate GPU Mode";
buttonUltimate.Activated = false;
buttonUltimate.BackColor = SystemColors.ControlLightLight;
buttonUltimate.BorderColor = Color.Transparent;
@@ -892,7 +937,6 @@ namespace GHelper
//
// panelScreen
//
panelScreen.AccessibleName = "Screen";
panelScreen.AccessibleRole = AccessibleRole.Grouping;
panelScreen.AutoSize = true;
panelScreen.AutoSizeMode = AutoSizeMode.GrowAndShrink;
@@ -900,7 +944,7 @@ namespace GHelper
panelScreen.Controls.Add(tableScreen);
panelScreen.Controls.Add(panelScreenTitle);
panelScreen.Dock = DockStyle.Top;
panelScreen.Location = new Point(11, 571);
panelScreen.Location = new Point(11, 651);
panelScreen.Margin = new Padding(0);
panelScreen.Name = "panelScreen";
panelScreen.Padding = new Padding(20, 20, 20, 0);
@@ -942,7 +986,6 @@ namespace GHelper
//
// buttonScreenAuto
//
buttonScreenAuto.AccessibleName = "Auto Screen Refresh Rate";
buttonScreenAuto.Activated = false;
buttonScreenAuto.BackColor = SystemColors.ControlLightLight;
buttonScreenAuto.BorderColor = Color.Transparent;
@@ -962,7 +1005,6 @@ namespace GHelper
//
// button60Hz
//
button60Hz.AccessibleName = "60Hz Refresh Rate";
button60Hz.Activated = false;
button60Hz.BackColor = SystemColors.ControlLightLight;
button60Hz.BorderColor = Color.Transparent;
@@ -983,7 +1025,6 @@ namespace GHelper
//
// button120Hz
//
button120Hz.AccessibleName = "Maximum Refresh Rate";
button120Hz.Activated = false;
button120Hz.BackColor = SystemColors.ControlLightLight;
button120Hz.BorderColor = Color.Transparent;
@@ -1068,14 +1109,13 @@ namespace GHelper
//
// panelKeyboard
//
panelKeyboard.AccessibleName = "Keyboard";
panelKeyboard.AccessibleRole = AccessibleRole.Grouping;
panelKeyboard.AutoSize = true;
panelKeyboard.AutoSizeMode = AutoSizeMode.GrowAndShrink;
panelKeyboard.Controls.Add(tableLayoutKeyboard);
panelKeyboard.Controls.Add(panelKeyboardTitle);
panelKeyboard.Dock = DockStyle.Top;
panelKeyboard.Location = new Point(11, 923);
panelKeyboard.Location = new Point(11, 1143);
panelKeyboard.Margin = new Padding(0);
panelKeyboard.Name = "panelKeyboard";
panelKeyboard.Padding = new Padding(20);
@@ -1105,7 +1145,6 @@ namespace GHelper
//
// buttonKeyboard
//
buttonKeyboard.AccessibleName = "Extra Settings";
buttonKeyboard.Activated = false;
buttonKeyboard.BackColor = SystemColors.ControlLight;
buttonKeyboard.BorderColor = Color.Transparent;
@@ -1160,7 +1199,6 @@ namespace GHelper
//
// buttonKeyboardColor
//
buttonKeyboardColor.AccessibleName = "Keyboard Color";
buttonKeyboardColor.Activated = false;
buttonKeyboardColor.BackColor = SystemColors.ButtonHighlight;
buttonKeyboardColor.BorderColor = Color.Transparent;
@@ -1179,7 +1217,6 @@ namespace GHelper
//
// comboKeyboard
//
comboKeyboard.AccessibleName = "Keyboard Backlight Mode";
comboKeyboard.BorderColor = Color.White;
comboKeyboard.ButtonColor = Color.FromArgb(255, 255, 255);
comboKeyboard.Dock = DockStyle.Top;
@@ -1254,7 +1291,7 @@ namespace GHelper
panelVersion.Controls.Add(labelCharge);
panelVersion.Controls.Add(checkStartup);
panelVersion.Dock = DockStyle.Top;
panelVersion.Location = new Point(11, 1384);
panelVersion.Location = new Point(11, 1604);
panelVersion.Margin = new Padding(4);
panelVersion.Name = "panelVersion";
panelVersion.Size = new Size(827, 56);
@@ -1279,7 +1316,7 @@ namespace GHelper
panelPeripherals.Controls.Add(tableLayoutPeripherals);
panelPeripherals.Controls.Add(panelPeripheralsTile);
panelPeripherals.Dock = DockStyle.Top;
panelPeripherals.Location = new Point(11, 1067);
panelPeripherals.Location = new Point(11, 1287);
panelPeripherals.Margin = new Padding(0);
panelPeripherals.Name = "panelPeripherals";
panelPeripherals.Padding = new Padding(20, 20, 20, 10);
@@ -1310,7 +1347,6 @@ namespace GHelper
//
// buttonPeripheral3
//
buttonPeripheral3.AccessibleName = "Peripheral 3";
buttonPeripheral3.Activated = false;
buttonPeripheral3.BackColor = SystemColors.ControlLightLight;
buttonPeripheral3.BorderColor = Color.Transparent;
@@ -1335,7 +1371,6 @@ namespace GHelper
//
// buttonPeripheral2
//
buttonPeripheral2.AccessibleName = "Peripheral 2";
buttonPeripheral2.Activated = false;
buttonPeripheral2.BackColor = SystemColors.ControlLightLight;
buttonPeripheral2.BorderColor = Color.Transparent;
@@ -1360,7 +1395,6 @@ namespace GHelper
//
// buttonPeripheral1
//
buttonPeripheral1.AccessibleName = "Peripheral 1";
buttonPeripheral1.Activated = false;
buttonPeripheral1.BackColor = SystemColors.ControlLightLight;
buttonPeripheral1.BorderColor = Color.Transparent;
@@ -1416,18 +1450,177 @@ namespace GHelper
labelPeripherals.TabIndex = 40;
labelPeripherals.Text = "Peripherals";
//
// panelAlly
//
panelAlly.AccessibleRole = AccessibleRole.Grouping;
panelAlly.AutoSize = true;
panelAlly.AutoSizeMode = AutoSizeMode.GrowAndShrink;
panelAlly.Controls.Add(tableLayoutAlly);
panelAlly.Controls.Add(panelAllyTitle);
panelAlly.Dock = DockStyle.Top;
panelAlly.Location = new Point(11, 1003);
panelAlly.Margin = new Padding(0);
panelAlly.Name = "panelAlly";
panelAlly.Padding = new Padding(20, 20, 20, 0);
panelAlly.Size = new Size(827, 140);
panelAlly.TabIndex = 8;
panelAlly.TabStop = true;
panelAlly.Visible = false;
//
// tableLayoutAlly
//
tableLayoutAlly.AutoSize = true;
tableLayoutAlly.AutoSizeMode = AutoSizeMode.GrowAndShrink;
tableLayoutAlly.ColumnCount = 3;
tableLayoutAlly.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 33F));
tableLayoutAlly.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 33F));
tableLayoutAlly.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 33F));
tableLayoutAlly.Controls.Add(buttonController, 0, 0);
tableLayoutAlly.Controls.Add(buttonBacklight, 0, 0);
tableLayoutAlly.Controls.Add(buttonControllerMode, 0, 0);
tableLayoutAlly.Dock = DockStyle.Top;
tableLayoutAlly.Location = new Point(20, 60);
tableLayoutAlly.Margin = new Padding(8, 4, 8, 4);
tableLayoutAlly.Name = "tableLayoutAlly";
tableLayoutAlly.RowCount = 1;
tableLayoutAlly.RowStyles.Add(new RowStyle(SizeType.Absolute, 80F));
tableLayoutAlly.Size = new Size(787, 80);
tableLayoutAlly.TabIndex = 23;
//
// buttonController
//
buttonController.Activated = false;
buttonController.BackColor = SystemColors.ControlLight;
buttonController.BorderColor = Color.Transparent;
buttonController.BorderRadius = 5;
buttonController.Dock = DockStyle.Fill;
buttonController.FlatAppearance.BorderSize = 0;
buttonController.FlatStyle = FlatStyle.Flat;
buttonController.ForeColor = SystemColors.ControlText;
buttonController.Image = Properties.Resources.icons8_controls_32;
buttonController.ImageAlign = ContentAlignment.MiddleRight;
buttonController.Location = new Point(528, 4);
buttonController.Margin = new Padding(4);
buttonController.Name = "buttonController";
buttonController.Secondary = true;
buttonController.Size = new Size(255, 72);
buttonController.TabIndex = 11;
buttonController.Text = "Controller";
buttonController.TextImageRelation = TextImageRelation.ImageBeforeText;
buttonController.UseVisualStyleBackColor = false;
//
// buttonBacklight
//
buttonBacklight.Activated = false;
buttonBacklight.BackColor = SystemColors.ControlLightLight;
buttonBacklight.BorderColor = Color.Transparent;
buttonBacklight.BorderRadius = 5;
buttonBacklight.Dock = DockStyle.Fill;
buttonBacklight.FlatAppearance.BorderSize = 0;
buttonBacklight.FlatStyle = FlatStyle.Flat;
buttonBacklight.ForeColor = SystemColors.ControlText;
buttonBacklight.Image = Properties.Resources.backlight;
buttonBacklight.ImageAlign = ContentAlignment.MiddleRight;
buttonBacklight.Location = new Point(266, 4);
buttonBacklight.Margin = new Padding(4);
buttonBacklight.Name = "buttonBacklight";
buttonBacklight.Secondary = false;
buttonBacklight.Size = new Size(254, 72);
buttonBacklight.TabIndex = 10;
buttonBacklight.Text = "100%";
buttonBacklight.TextImageRelation = TextImageRelation.ImageBeforeText;
buttonBacklight.UseVisualStyleBackColor = false;
//
// buttonControllerMode
//
buttonControllerMode.Activated = false;
buttonControllerMode.BackColor = SystemColors.ControlLightLight;
buttonControllerMode.BorderColor = Color.Transparent;
buttonControllerMode.BorderRadius = 5;
buttonControllerMode.Dock = DockStyle.Fill;
buttonControllerMode.FlatAppearance.BorderSize = 0;
buttonControllerMode.FlatStyle = FlatStyle.Flat;
buttonControllerMode.ForeColor = SystemColors.ControlText;
buttonControllerMode.Image = Properties.Resources.icons8_game_controller_48;
buttonControllerMode.ImageAlign = ContentAlignment.MiddleRight;
buttonControllerMode.Location = new Point(4, 4);
buttonControllerMode.Margin = new Padding(4);
buttonControllerMode.Name = "buttonControllerMode";
buttonControllerMode.Secondary = false;
buttonControllerMode.Size = new Size(254, 72);
buttonControllerMode.TabIndex = 9;
buttonControllerMode.Text = Properties.Strings.AutoMode;
buttonControllerMode.TextImageRelation = TextImageRelation.ImageBeforeText;
buttonControllerMode.UseVisualStyleBackColor = false;
//
// panelAllyTitle
//
panelAllyTitle.Controls.Add(pictureAlly);
panelAllyTitle.Controls.Add(labelAlly);
panelAllyTitle.Dock = DockStyle.Top;
panelAllyTitle.Location = new Point(20, 20);
panelAllyTitle.Margin = new Padding(4);
panelAllyTitle.Name = "panelAllyTitle";
panelAllyTitle.Size = new Size(787, 40);
panelAllyTitle.TabIndex = 25;
//
// pictureAlly
//
pictureAlly.BackgroundImage = Properties.Resources.icons8_controller_32;
pictureAlly.BackgroundImageLayout = ImageLayout.Zoom;
pictureAlly.Location = new Point(5, 0);
pictureAlly.Margin = new Padding(4);
pictureAlly.Name = "pictureAlly";
pictureAlly.Size = new Size(32, 32);
pictureAlly.TabIndex = 27;
pictureAlly.TabStop = false;
//
// labelAlly
//
labelAlly.AutoSize = true;
labelAlly.Font = new Font("Segoe UI", 9F, FontStyle.Bold, GraphicsUnit.Point);
labelAlly.Location = new Point(42, -2);
labelAlly.Margin = new Padding(8, 0, 8, 0);
labelAlly.Name = "labelAlly";
labelAlly.Size = new Size(181, 32);
labelAlly.TabIndex = 26;
labelAlly.Text = "Ally Controller";
//
// buttonOverlay
//
buttonOverlay.Activated = false;
buttonOverlay.BackColor = SystemColors.ControlLightLight;
buttonOverlay.BorderColor = Color.Transparent;
buttonOverlay.BorderRadius = 5;
buttonOverlay.Dock = DockStyle.Fill;
buttonOverlay.FlatAppearance.BorderSize = 0;
buttonOverlay.FlatStyle = FlatStyle.Flat;
buttonOverlay.ForeColor = SystemColors.ControlText;
buttonOverlay.Image = Properties.Resources.icons8_heartbeat_32;
buttonOverlay.ImageAlign = ContentAlignment.MiddleRight;
buttonOverlay.Location = new Point(266, 4);
buttonOverlay.Margin = new Padding(4);
buttonOverlay.Name = "buttonOverlay";
buttonOverlay.Secondary = false;
buttonOverlay.Size = new Size(254, 72);
buttonOverlay.TabIndex = 12;
buttonOverlay.Text = "AMD Overlay";
buttonOverlay.TextImageRelation = TextImageRelation.ImageBeforeText;
buttonOverlay.UseVisualStyleBackColor = false;
//
// SettingsForm
//
AutoScaleDimensions = new SizeF(192F, 192F);
AutoScaleMode = AutoScaleMode.Dpi;
AutoSize = true;
AutoSizeMode = AutoSizeMode.GrowAndShrink;
ClientSize = new Size(849, 1552);
ClientSize = new Size(849, 1717);
Controls.Add(panelFooter);
Controls.Add(panelVersion);
Controls.Add(panelBattery);
Controls.Add(panelPeripherals);
Controls.Add(panelKeyboard);
Controls.Add(panelAlly);
Controls.Add(panelMatrix);
Controls.Add(panelScreen);
Controls.Add(panelGPU);
@@ -1439,6 +1632,7 @@ namespace GHelper
MinimumSize = new Size(822, 71);
Name = "SettingsForm";
Padding = new Padding(11);
ShowIcon = false;
StartPosition = FormStartPosition.CenterScreen;
Text = "G-Helper";
panelMatrix.ResumeLayout(false);
@@ -1461,6 +1655,7 @@ namespace GHelper
((System.ComponentModel.ISupportInitialize)picturePerf).EndInit();
panelGPU.ResumeLayout(false);
panelGPU.PerformLayout();
tableAMD.ResumeLayout(false);
tableGPU.ResumeLayout(false);
panelGPUTitle.ResumeLayout(false);
panelGPUTitle.PerformLayout();
@@ -1489,6 +1684,12 @@ namespace GHelper
panelPeripheralsTile.ResumeLayout(false);
panelPeripheralsTile.PerformLayout();
((System.ComponentModel.ISupportInitialize)picturePeripherals).EndInit();
panelAlly.ResumeLayout(false);
panelAlly.PerformLayout();
tableLayoutAlly.ResumeLayout(false);
panelAllyTitle.ResumeLayout(false);
panelAllyTitle.PerformLayout();
((System.ComponentModel.ISupportInitialize)pictureAlly).EndInit();
ResumeLayout(false);
PerformLayout();
}
@@ -1572,5 +1773,16 @@ namespace GHelper
private Label labelCharge;
private RButton buttonFnLock;
private RButton buttonBatteryFull;
private Panel panelAlly;
private TableLayoutPanel tableLayoutAlly;
private RButton buttonControllerMode;
private Panel panelAllyTitle;
private Label labelAlly;
private PictureBox pictureAlly;
private RButton buttonBacklight;
private TableLayoutPanel tableAMD;
private RButton buttonFPS;
private RButton buttonController;
private RButton buttonOverlay;
}
}

View File

@@ -1,4 +1,5 @@
using GHelper.AnimeMatrix;
using GHelper.Ally;
using GHelper.AnimeMatrix;
using GHelper.AutoUpdate;
using GHelper.Battery;
using GHelper.Display;
@@ -22,6 +23,7 @@ namespace GHelper
ToolStripMenuItem menuSilent, menuBalanced, menuTurbo, menuEco, menuStandard, menuUltimate, menuOptimized;
public GPUModeControl gpuControl;
public AllyControl allyControl;
ScreenControl screenControl = new ScreenControl();
AutoUpdateControl updateControl;
@@ -35,6 +37,7 @@ namespace GHelper
public Fans? fansForm;
public Extra? extraForm;
public Updates? updatesForm;
public Handheld? handheldForm;
static long lastRefresh;
static long lastBatteryRefresh;
@@ -54,6 +57,7 @@ namespace GHelper
gpuControl = new GPUModeControl(this);
updateControl = new AutoUpdateControl(this);
matrixControl = new AniMatrixControl(this);
allyControl = new AllyControl(this);
buttonSilent.Text = Properties.Strings.Silent;
buttonBalanced.Text = Properties.Strings.Balanced;
@@ -87,6 +91,36 @@ namespace GHelper
buttonQuit.Text = Properties.Strings.Quit;
buttonUpdates.Text = Properties.Strings.Updates;
buttonController.Text = Properties.Strings.Controller;
labelAlly.Text = Properties.Strings.AllyController;
// Accessible Labels
panelMatrix.AccessibleName = Properties.Strings.AnimeMatrix;
sliderBattery.AccessibleName = Properties.Strings.BatteryChargeLimit;
buttonQuit.AccessibleName = Properties.Strings.Quit;
buttonUpdates.AccessibleName = Properties.Strings.BiosAndDriverUpdates;
panelPerformance.AccessibleName = Properties.Strings.PerformanceMode;
buttonSilent.AccessibleName = Properties.Strings.Silent;
buttonBalanced.AccessibleName = Properties.Strings.Balanced;
buttonTurbo.AccessibleName = Properties.Strings.Turbo;
buttonFans.AccessibleName = Properties.Strings.FansAndPower;
panelGPU.AccessibleName = Properties.Strings.GPUMode;
buttonEco.AccessibleName = Properties.Strings.EcoMode;
buttonStandard.AccessibleName = Properties.Strings.StandardMode;
buttonOptimized.AccessibleName = Properties.Strings.Optimized;
buttonUltimate.AccessibleName = Properties.Strings.UltimateMode;
panelScreen.AccessibleName = Properties.Strings.LaptopScreen;
buttonScreenAuto.AccessibleName = Properties.Strings.AutoMode;
//button60Hz.AccessibleName = "60Hz Refresh Rate";
//button120Hz.AccessibleName = "Maximum Refresh Rate";
panelKeyboard.AccessibleName = Properties.Strings.LaptopKeyboard;
buttonKeyboard.AccessibleName = Properties.Strings.ExtraSettings;
buttonKeyboardColor.AccessibleName = Properties.Strings.LaptopKeyboard + " " + Properties.Strings.Color;
comboKeyboard.AccessibleName = Properties.Strings.LaptopBacklight;
FormClosing += SettingsForm_FormClosing;
Deactivate += SettingsForm_LostFocus;
@@ -129,6 +163,7 @@ namespace GHelper
buttonFans.Click += ButtonFans_Click;
buttonKeyboard.Click += ButtonKeyboard_Click;
buttonController.Click += ButtonHandheld_Click;
pictureColor.Click += PictureColor_Click;
pictureColor2.Click += PictureColor2_Click;
@@ -200,6 +235,12 @@ namespace GHelper
buttonBatteryFull.MouseLeave += ButtonBatteryFull_MouseLeave;
buttonBatteryFull.Click += ButtonBatteryFull_Click;
buttonControllerMode.Click += ButtonControllerMode_Click;
buttonBacklight.Click += ButtonBacklight_Click;
buttonFPS.Click += ButtonFPS_Click;
buttonOverlay.Click += ButtonOverlay_Click;
Text = "G-Helper " + (ProcessHelper.IsUserAdministrator() ? "—" : "-") + " " + AppConfig.GetModelShort();
TopMost = AppConfig.Is("topmost");
@@ -213,6 +254,85 @@ namespace GHelper
panelPerformance.Focus();
}
private void ButtonOverlay_Click(object? sender, EventArgs e)
{
KeyboardHook.KeyKeyKeyPress(Keys.LControlKey, Keys.LShiftKey, Keys.O);
}
private void ButtonHandheld_Click(object? sender, EventArgs e)
{
if (handheldForm == null || handheldForm.Text == "")
{
handheldForm = new Handheld();
AddOwnedForm(handheldForm);
}
if (handheldForm.Visible)
{
handheldForm.Close();
}
else
{
//handheldForm.FormPosition();
handheldForm.Show();
}
}
private void ButtonFPS_Click(object? sender, EventArgs e)
{
allyControl.ToggleFPSLimit();
}
private void ButtonBacklight_Click(object? sender, EventArgs e)
{
allyControl.ToggleBacklight();
}
private void ButtonControllerMode_Click(object? sender, EventArgs e)
{
allyControl.ToggleMode();
}
public void VisualiseAlly(bool visible = false)
{
if (!visible) return;
panelAlly.Visible = true;
panelKeyboardTitle.Visible = false;
panelKeyboard.Padding = new Padding(20, 0, 20, 20);
tableAMD.Visible = true;
}
public void VisualiseController(ControllerMode mode)
{
switch (mode)
{
case ControllerMode.Gamepad:
buttonControllerMode.Text = "Gamepad";
break;
case ControllerMode.Mouse:
buttonControllerMode.Text = "Mouse";
break;
case ControllerMode.Skip:
buttonControllerMode.Text = "Skip";
break;
default:
buttonControllerMode.Text = "Auto";
break;
}
}
public void VisualiseBacklight(int backlight)
{
buttonBacklight.Text = Math.Round((double)backlight*33.33).ToString() + "%";
}
public void VisualiseFPSLimit(int limit)
{
buttonFPS.Text = "FPS Limit " + ((limit > 0 && limit <= 120) ? limit : "OFF");
}
private void SettingsForm_LostFocus(object? sender, EventArgs e)
{
lastLostFocus = DateTimeOffset.Now.ToUnixTimeMilliseconds();
@@ -313,29 +433,42 @@ namespace GHelper
protected override void WndProc(ref Message m)
{
switch (m.Msg)
if (m.Msg == NativeMethods.WM_POWERBROADCAST && m.WParam == (IntPtr)NativeMethods.PBT_POWERSETTINGCHANGE)
{
case NativeMethods.WM_POWERBROADCAST:
if (m.WParam == (IntPtr)NativeMethods.PBT_POWERSETTINGCHANGE)
var settings = (NativeMethods.POWERBROADCAST_SETTING)m.GetLParam(typeof(NativeMethods.POWERBROADCAST_SETTING));
if (settings.PowerSetting == NativeMethods.PowerSettingGuid.LIDSWITCH_STATE_CHANGE)
{
switch (settings.Data)
{
var settings = (NativeMethods.POWERBROADCAST_SETTING)m.GetLParam(typeof(NativeMethods.POWERBROADCAST_SETTING));
switch (settings.Data)
{
case 0:
Logger.WriteLine("Monitor Power Off");
Aura.ApplyBrightness(0);
break;
case 1:
Logger.WriteLine("Monitor Power On");
Program.SetAutoModes();
break;
case 2:
Logger.WriteLine("Monitor Dimmed");
break;
}
case 0:
Logger.WriteLine("Lid Closed");
Aura.ApplyBrightness(0, "Lid");
break;
case 1:
Logger.WriteLine("Lid Open");
Aura.ApplyBrightness(InputDispatcher.GetBacklight(), "Lid");
break;
}
m.Result = (IntPtr)1;
break;
}
else
{
switch (settings.Data)
{
case 0:
Logger.WriteLine("Monitor Power Off");
Aura.ApplyBrightness(0);
break;
case 1:
Logger.WriteLine("Monitor Power On");
Program.SetAutoModes();
break;
case 2:
Logger.WriteLine("Monitor Dimmed");
break;
}
}
m.Result = (IntPtr)1;
}
try
@@ -444,11 +577,17 @@ namespace GHelper
public void SetVersionLabel(string label, bool update = false)
{
Invoke(delegate
if (InvokeRequired)
Invoke(delegate
{
labelVersion.Text = label;
if (update) labelVersion.ForeColor = colorTurbo;
});
else
{
labelVersion.Text = label;
if (update) labelVersion.ForeColor = colorTurbo;
});
}
}
@@ -604,16 +743,7 @@ namespace GHelper
private void PictureColor2_Click(object? sender, EventArgs e)
{
ColorDialog colorDlg = new ColorDialog();
colorDlg.AllowFullOpen = true;
colorDlg.Color = pictureColor2.BackColor;
if (colorDlg.ShowDialog() == DialogResult.OK)
{
AppConfig.Set("aura_color2", colorDlg.Color.ToArgb());
SetAura();
}
SetColorPicker("aura_color2");
}
private void PictureColor_Click(object? sender, EventArgs e)
@@ -641,18 +771,14 @@ namespace GHelper
public void FansInit()
{
Invoke(delegate
{
if (fansForm != null && fansForm.Text != "") fansForm.InitAll();
});
if (fansForm == null || fansForm.Text == "") return;
Invoke(fansForm.InitAll);
}
public void GPUInit()
{
Invoke(delegate
{
if (fansForm != null && fansForm.Text != "") fansForm.InitGPU();
});
if (fansForm == null || fansForm.Text == "") return;
Invoke(fansForm.InitGPU);
}
public void FansToggle(int index = 0)
@@ -681,20 +807,31 @@ namespace GHelper
FansToggle();
}
private void ButtonKeyboardColor_Click(object? sender, EventArgs e)
private void SetColorPicker(string colorField = "aura_color")
{
ColorDialog colorDlg = new ColorDialog();
colorDlg.AllowFullOpen = true;
colorDlg.Color = pictureColor.BackColor;
try
{
colorDlg.CustomColors = AppConfig.GetString("aura_color_custom", "").Split('-').Select(int.Parse).ToArray();
}
catch (Exception ex) { }
if (colorDlg.ShowDialog() == DialogResult.OK)
{
AppConfig.Set("aura_color", colorDlg.Color.ToArgb());
AppConfig.Set("aura_color_custom", string.Join("-", colorDlg.CustomColors));
AppConfig.Set(colorField, colorDlg.Color.ToArgb());
SetAura();
}
}
private void ButtonKeyboardColor_Click(object? sender, EventArgs e)
{
SetColorPicker("aura_color");
}
public void InitAura()
{
Aura.Mode = (AuraMode)AppConfig.Get("aura_mode");
@@ -735,12 +872,19 @@ namespace GHelper
public void VisualiseAura()
{
Invoke(delegate
if (InvokeRequired)
Invoke(delegate
{
pictureColor.BackColor = Aura.Color1;
pictureColor2.BackColor = Aura.Color2;
pictureColor2.Visible = Aura.HasSecondColor();
});
else
{
pictureColor.BackColor = Aura.Color1;
pictureColor2.BackColor = Aura.Color2;
pictureColor2.Visible = Aura.HasSecondColor();
});
}
}
public void InitMatrix()
@@ -761,6 +905,15 @@ namespace GHelper
}
public void CycleMatrix(int delta)
{
comboMatrix.SelectedIndex = Math.Min(Math.Max(0, comboMatrix.SelectedIndex + delta), comboMatrix.Items.Count - 1);
AppConfig.Set("matrix_brightness", comboMatrix.SelectedIndex);
matrixControl.SetMatrix();
Program.toast.RunToast(comboMatrix.GetItemText(comboMatrix.SelectedItem), delta > 0 ? ToastIcon.BacklightUp : ToastIcon.BacklightDown);
}
public void CycleAuraMode()
{
if (comboKeyboard.SelectedIndex < comboKeyboard.Items.Count - 1)
@@ -798,7 +951,7 @@ namespace GHelper
public void VisualiseScreen(bool screenEnabled, bool screenAuto, int frequency, int maxFrequency, int overdrive, bool overdriveSetting, int miniled, bool hdr)
public void VisualiseScreen(bool screenEnabled, bool screenAuto, int frequency, int maxFrequency, int overdrive, bool overdriveSetting, int miniled1, int miniled2, bool hdr)
{
ButtonEnabled(button60Hz, screenEnabled);
@@ -837,10 +990,36 @@ namespace GHelper
panelScreen.Visible = false;
}
if (miniled >= 0)
if (miniled1 >= 0)
{
buttonMiniled.Activated = (miniled == 1) || hdr;
buttonMiniled.Enabled = !hdr;
buttonMiniled.Activated = miniled1 == 1 || hdr;
}
else if (miniled2 >= 0)
{
buttonMiniled.Enabled = !hdr;
switch (miniled2)
{
// Multizone On
case 0:
buttonMiniled.Text = Properties.Strings.Multizone;
buttonMiniled.BorderColor = colorStandard;
buttonMiniled.Activated = true;
break;
// Multizone Strong
case 1:
buttonMiniled.Text = Properties.Strings.MultizoneStrong;
buttonMiniled.BorderColor = colorTurbo;
buttonMiniled.Activated = true;
break;
// Multizone Off
case 2:
buttonMiniled.Text = hdr ? Properties.Strings.Multizone : Properties.Strings.OneZone;
buttonMiniled.BorderColor = colorStandard;
buttonMiniled.Activated = hdr;
break;
}
}
else
{
@@ -867,6 +1046,7 @@ namespace GHelper
if (extraForm != null && extraForm.Text != "") extraForm.Close();
if (updatesForm != null && updatesForm.Text != "") updatesForm.Close();
if (matrixForm != null && matrixForm.Text != "") matrixForm.Close();
if (handheldForm != null && handheldForm.Text != "") handheldForm.Close();
}
/// <summary>
@@ -887,6 +1067,7 @@ namespace GHelper
(extraForm != null && extraForm.ContainsFocus) ||
(updatesForm != null && updatesForm.ContainsFocus) ||
(matrixForm != null && matrixForm.ContainsFocus) ||
(handheldForm != null && handheldForm.ContainsFocus) ||
this.ContainsFocus ||
(lostFocusCheck && Math.Abs(DateTimeOffset.Now.ToUnixTimeMilliseconds() - lastLostFocus) < 300);
}
@@ -963,18 +1144,19 @@ namespace GHelper
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;
labelGPUFan.Text = "GPU" + gpuTemp + " " + HardwareControl.gpuFan;
if (HardwareControl.midFan is not null)
labelMidFan.Text = "Mid " + HardwareControl.midFan;
if (Program.settingsForm.IsHandleCreated)
Program.settingsForm.BeginInvoke(delegate
{
labelCPUFan.Text = "CPU" + cpuTemp + " " + HardwareControl.cpuFan;
labelGPUFan.Text = "GPU" + gpuTemp + " " + HardwareControl.gpuFan;
if (HardwareControl.midFan is not null)
labelMidFan.Text = "Mid " + HardwareControl.midFan;
labelBattery.Text = battery;
if (!batteryMouseOver && !batteryFullMouseOver) labelCharge.Text = charge;
labelBattery.Text = battery;
if (!batteryMouseOver && !batteryFullMouseOver) labelCharge.Text = charge;
//panelPerformance.AccessibleName = labelPerf.Text + " " + trayTip;
});
//panelPerformance.AccessibleName = labelPerf.Text + " " + trayTip;
});
Program.trayIcon.Text = trayTip;
@@ -989,66 +1171,81 @@ namespace GHelper
public void ShowMode(int mode)
{
Invoke(delegate
{
buttonSilent.Activated = false;
buttonBalanced.Activated = false;
buttonTurbo.Activated = false;
buttonFans.Activated = false;
menuSilent.Checked = false;
menuBalanced.Checked = false;
menuTurbo.Checked = false;
switch (mode)
if (InvokeRequired)
Invoke(delegate
{
case AsusACPI.PerformanceSilent:
buttonSilent.Activated = true;
menuSilent.Checked = true;
break;
case AsusACPI.PerformanceTurbo:
buttonTurbo.Activated = true;
menuTurbo.Checked = true;
break;
case AsusACPI.PerformanceBalanced:
buttonBalanced.Activated = true;
menuBalanced.Checked = true;
break;
default:
buttonFans.Activated = true;
buttonFans.BorderColor = Modes.GetBase(mode) switch
{
AsusACPI.PerformanceSilent => colorEco,
AsusACPI.PerformanceTurbo => colorTurbo,
_ => colorStandard,
};
break;
}
});
VisualiseMode(mode);
});
else
VisualiseMode(mode);
}
protected void VisualiseMode(int mode)
{
buttonSilent.Activated = false;
buttonBalanced.Activated = false;
buttonTurbo.Activated = false;
buttonFans.Activated = false;
menuSilent.Checked = false;
menuBalanced.Checked = false;
menuTurbo.Checked = false;
switch (mode)
{
case AsusACPI.PerformanceSilent:
buttonSilent.Activated = true;
menuSilent.Checked = true;
break;
case AsusACPI.PerformanceTurbo:
buttonTurbo.Activated = true;
menuTurbo.Checked = true;
break;
case AsusACPI.PerformanceBalanced:
buttonBalanced.Activated = true;
menuBalanced.Checked = true;
break;
default:
buttonFans.Activated = true;
buttonFans.BorderColor = Modes.GetBase(mode) switch
{
AsusACPI.PerformanceSilent => colorEco,
AsusACPI.PerformanceTurbo => colorTurbo,
_ => colorStandard,
};
break;
}
}
public void SetModeLabel(string modeText)
{
Invoke(delegate
if (InvokeRequired)
{
Invoke(delegate {
labelPerf.Text = modeText;
panelPerformance.AccessibleName = labelPerf.Text;
});
} else
{
labelPerf.Text = modeText;
panelPerformance.AccessibleName = labelPerf.Text; // + ". " + Program.trayIcon.Text;
});
panelPerformance.AccessibleName = labelPerf.Text;
}
}
public void AutoKeyboard()
{
InputDispatcher.SetBacklightAuto(true);
if (!AppConfig.Is("skip_aura"))
{
Aura.ApplyPower();
Aura.ApplyAura();
}
InputDispatcher.SetBacklightAuto(true);
if (Program.acpi.IsXGConnected())
XGM.Light(AppConfig.Is("xmg_light"));
@@ -1151,6 +1348,18 @@ namespace GHelper
public void VisualiseGPUMode(int GPUMode = -1)
{
if (AppConfig.IsAlly())
{
tableGPU.Visible = false;
labelGPU.Text = "GPU";
if (Program.acpi.IsXGConnected())
{
tableAMD.Controls.Add(buttonXGM, 1, 0);
VisualizeXGM();
}
return;
}
ButtonEnabled(buttonOptimized, true);
ButtonEnabled(buttonEco, true);
ButtonEnabled(buttonStandard, true);
@@ -1173,27 +1382,28 @@ namespace GHelper
buttonEco.Activated = !GPUAuto;
buttonOptimized.Activated = GPUAuto;
labelGPU.Text = Properties.Strings.GPUMode + ": " + Properties.Strings.GPUModeEco;
panelGPU.AccessibleName = Properties.Strings.GPUMode + " - " + (GPUAuto ? Properties.Strings.Optimized : Properties.Strings.EcoMode);
Program.trayIcon.Icon = Properties.Resources.eco;
IconHelper.SetIcon(this, Properties.Resources.dot_eco);
break;
case AsusACPI.GPUModeUltimate:
buttonUltimate.Activated = true;
labelGPU.Text = Properties.Strings.GPUMode + ": " + Properties.Strings.GPUModeUltimate;
panelGPU.AccessibleName = Properties.Strings.GPUMode + " - " + Properties.Strings.UltimateMode;
Program.trayIcon.Icon = Properties.Resources.ultimate;
IconHelper.SetIcon(this, Properties.Resources.dot_ultimate);
break;
default:
buttonOptimized.BorderColor = colorStandard;
buttonStandard.Activated = !GPUAuto;
buttonOptimized.Activated = GPUAuto;
labelGPU.Text = Properties.Strings.GPUMode + ": " + Properties.Strings.GPUModeStandard;
panelGPU.AccessibleName = Properties.Strings.GPUMode + " - " + (GPUAuto ? Properties.Strings.Optimized : Properties.Strings.StandardMode);
Program.trayIcon.Icon = Properties.Resources.standard;
IconHelper.SetIcon(this, Properties.Resources.dot_standard);
break;
}
VisualizeXGM(GPUMode);
VisualizeXGM(GPUMode);
if (isGpuSection)
{
@@ -1232,6 +1442,10 @@ namespace GHelper
{
labelBatteryTitle.Text = Properties.Strings.BatteryChargeLimit + ": " + limit.ToString() + "%";
sliderBattery.Value = limit;
sliderBattery.AccessibleName = Properties.Strings.BatteryChargeLimit + ": " + limit.ToString() + "%";
sliderBattery.AccessibilityObject.Select(AccessibleSelection.TakeFocus);
VisualiseBatteryFull();
}
@@ -1241,11 +1455,13 @@ namespace GHelper
{
buttonBatteryFull.BackColor = colorStandard;
buttonBatteryFull.ForeColor = SystemColors.ControlLightLight;
buttonBatteryFull.AccessibleName = Properties.Strings.BatteryChargeLimit + "100% on";
}
else
{
buttonBatteryFull.BackColor = buttonSecond;
buttonBatteryFull.ForeColor = SystemColors.ControlDark;
buttonBatteryFull.AccessibleName = Properties.Strings.BatteryChargeLimit + "100% off";
}
}
@@ -1391,11 +1607,13 @@ namespace GHelper
{
buttonFnLock.BackColor = colorStandard;
buttonFnLock.ForeColor = SystemColors.ControlLightLight;
buttonFnLock.AccessibleName = "Fn-Lock on";
}
else
{
buttonFnLock.BackColor = buttonSecond;
buttonFnLock.ForeColor = SystemColors.ControlDark;
buttonFnLock.AccessibleName = "Fn-Lock off";
}
}

View File

@@ -50,6 +50,9 @@ public static class ControlHelper
{
foreach (Control control in controls)
{
AdjustControls(control.Controls);
var button = control as RButton;
if (button != null)
{
@@ -132,7 +135,6 @@ public static class ControlHelper
}
AdjustControls(control.Controls);
}
}

View File

@@ -1,415 +0,0 @@
using Microsoft.Win32;
using System.ComponentModel;
using System.Drawing.Drawing2D;
using System.Runtime.InteropServices;
namespace GHelper.UI
{
public class RForm : Form
{
public static Color colorEco = Color.FromArgb(255, 6, 180, 138);
public static Color colorStandard = Color.FromArgb(255, 58, 174, 239);
public static Color colorTurbo = Color.FromArgb(255, 255, 32, 32);
public static Color colorCustom = Color.FromArgb(255, 255, 128, 0);
public static Color buttonMain;
public static Color buttonSecond;
public static Color formBack;
public static Color foreMain;
public static Color borderMain;
public static Color chartMain;
public static Color chartGrid;
[DllImport("UXTheme.dll", SetLastError = true, EntryPoint = "#138")]
public static extern bool CheckSystemDarkModeStatus();
[DllImport("DwmApi")] //System.Runtime.InteropServices
private static extern int DwmSetWindowAttribute(nint hwnd, int attr, int[] attrValue, int attrSize);
public bool darkTheme = false;
public static void InitColors(bool darkTheme)
{
if (darkTheme)
{
buttonMain = Color.FromArgb(255, 55, 55, 55);
buttonSecond = Color.FromArgb(255, 38, 38, 38);
formBack = Color.FromArgb(255, 28, 28, 28);
foreMain = Color.FromArgb(255, 240, 240, 240);
borderMain = Color.FromArgb(255, 50, 50, 50);
chartMain = Color.FromArgb(255, 35, 35, 35);
chartGrid = Color.FromArgb(255, 70, 70, 70);
}
else
{
buttonMain = SystemColors.ControlLightLight;
buttonSecond = SystemColors.ControlLight;
formBack = SystemColors.Control;
foreMain = SystemColors.ControlText;
borderMain = Color.LightGray;
chartMain = SystemColors.ControlLightLight;
chartGrid = Color.LightGray;
}
}
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");
if (registryValueObject == null) return false;
return (int)registryValueObject <= 0;
}
public bool InitTheme(bool setDPI = false)
{
bool newDarkTheme = IsDarkTheme();
bool changed = darkTheme != newDarkTheme;
darkTheme = newDarkTheme;
InitColors(darkTheme);
if (setDPI)
ControlHelper.Resize(this);
if (changed)
{
DwmSetWindowAttribute(Handle, 20, new[] { darkTheme ? 1 : 0 }, 4);
ControlHelper.Adjust(this, changed);
}
return changed;
}
}
public class RCheckBox : CheckBox
{
}
public class RComboBox : ComboBox
{
private Color borderColor = Color.Gray;
[DefaultValue(typeof(Color), "Gray")]
public Color BorderColor
{
get { return borderColor; }
set
{
if (borderColor != value)
{
borderColor = value;
Invalidate();
}
}
}
private Color buttonColor = Color.FromArgb(255, 255, 255, 255);
[DefaultValue(typeof(Color), "255, 255, 255")]
public Color ButtonColor
{
get { return buttonColor; }
set
{
if (buttonColor != value)
{
buttonColor = value;
Invalidate();
}
}
}
private Color arrowColor = Color.Black;
[DefaultValue(typeof(Color), "Black")]
public Color ArrowColor
{
get { return arrowColor; }
set
{
if (arrowColor != value)
{
arrowColor = value;
Invalidate();
}
}
}
protected override void WndProc(ref Message m)
{
if (m.Msg == WM_PAINT && DropDownStyle != ComboBoxStyle.Simple)
{
var clientRect = ClientRectangle;
var dropDownButtonWidth = SystemInformation.HorizontalScrollBarArrowWidth;
var outerBorder = new Rectangle(clientRect.Location,
new Size(clientRect.Width - 1, clientRect.Height - 1));
var innerBorder = new Rectangle(outerBorder.X + 1, outerBorder.Y + 1,
outerBorder.Width - dropDownButtonWidth - 2, outerBorder.Height - 2);
var innerInnerBorder = new Rectangle(innerBorder.X + 1, innerBorder.Y + 1,
innerBorder.Width - 2, innerBorder.Height - 2);
var dropDownRect = new Rectangle(innerBorder.Right + 1, innerBorder.Y,
dropDownButtonWidth, innerBorder.Height + 1);
if (RightToLeft == RightToLeft.Yes)
{
innerBorder.X = clientRect.Width - innerBorder.Right;
innerInnerBorder.X = clientRect.Width - innerInnerBorder.Right;
dropDownRect.X = clientRect.Width - dropDownRect.Right;
dropDownRect.Width += 1;
}
var innerBorderColor = Enabled ? BackColor : SystemColors.Control;
var outerBorderColor = Enabled ? BorderColor : SystemColors.ControlDark;
var buttonColor = Enabled ? ButtonColor : SystemColors.Control;
var middle = new Point(dropDownRect.Left + dropDownRect.Width / 2,
dropDownRect.Top + dropDownRect.Height / 2);
var arrow = new Point[]
{
new Point(middle.X - 3, middle.Y - 2),
new Point(middle.X + 4, middle.Y - 2),
new Point(middle.X, middle.Y + 2)
};
var ps = new PAINTSTRUCT();
bool shoulEndPaint = false;
nint dc;
if (m.WParam == nint.Zero)
{
dc = BeginPaint(Handle, ref ps);
m.WParam = dc;
shoulEndPaint = true;
}
else
{
dc = m.WParam;
}
var rgn = CreateRectRgn(innerInnerBorder.Left, innerInnerBorder.Top,
innerInnerBorder.Right, innerInnerBorder.Bottom);
SelectClipRgn(dc, rgn);
DefWndProc(ref m);
DeleteObject(rgn);
rgn = CreateRectRgn(clientRect.Left, clientRect.Top,
clientRect.Right, clientRect.Bottom);
SelectClipRgn(dc, rgn);
using (var g = Graphics.FromHdc(dc))
{
using (var b = new SolidBrush(buttonColor))
{
g.FillRectangle(b, dropDownRect);
}
using (var b = new SolidBrush(arrowColor))
{
g.FillPolygon(b, arrow);
}
using (var p = new Pen(innerBorderColor))
{
g.DrawRectangle(p, innerBorder);
g.DrawRectangle(p, innerInnerBorder);
}
using (var p = new Pen(outerBorderColor))
{
g.DrawRectangle(p, outerBorder);
}
}
if (shoulEndPaint)
EndPaint(Handle, ref ps);
DeleteObject(rgn);
}
else
base.WndProc(ref m);
}
private const int WM_PAINT = 0xF;
[StructLayout(LayoutKind.Sequential)]
public struct RECT
{
public int L, T, R, B;
}
[StructLayout(LayoutKind.Sequential)]
public struct PAINTSTRUCT
{
public nint hdc;
public bool fErase;
public int rcPaint_left;
public int rcPaint_top;
public int rcPaint_right;
public int rcPaint_bottom;
public bool fRestore;
public bool fIncUpdate;
public int reserved1;
public int reserved2;
public int reserved3;
public int reserved4;
public int reserved5;
public int reserved6;
public int reserved7;
public int reserved8;
}
[DllImport("user32.dll")]
private static extern nint BeginPaint(nint hWnd,
[In, Out] ref PAINTSTRUCT lpPaint);
[DllImport("user32.dll")]
private static extern bool EndPaint(nint hWnd, ref PAINTSTRUCT lpPaint);
[DllImport("gdi32.dll")]
public static extern int SelectClipRgn(nint hDC, nint hRgn);
[DllImport("user32.dll")]
public static extern int GetUpdateRgn(nint hwnd, nint hrgn, bool fErase);
public enum RegionFlags
{
ERROR = 0,
NULLREGION = 1,
SIMPLEREGION = 2,
COMPLEXREGION = 3,
}
[DllImport("gdi32.dll")]
internal static extern bool DeleteObject(nint hObject);
[DllImport("gdi32.dll")]
private static extern nint CreateRectRgn(int x1, int y1, int x2, int y2);
}
public class RButton : Button
{
//Fields
private int borderSize = 5;
private int borderRadius = 5;
public int BorderRadius
{
get { return borderRadius; }
set
{
borderRadius = value;
}
}
private Color borderColor = Color.Transparent;
public Color BorderColor
{
get { return borderColor; }
set
{
borderColor = value;
}
}
private bool activated = false;
public bool Activated
{
get { return activated; }
set
{
if (activated != value)
Invalidate();
activated = value;
}
}
private bool secondary = false;
public bool Secondary
{
get { return secondary; }
set
{
secondary = value;
}
}
public RButton()
{
DoubleBuffered = true;
FlatStyle = FlatStyle.Flat;
FlatAppearance.BorderSize = 0;
}
private GraphicsPath GetFigurePath(Rectangle rect, int radius)
{
GraphicsPath path = new GraphicsPath();
float curveSize = radius * 2F;
path.StartFigure();
path.AddArc(rect.X, rect.Y, curveSize, curveSize, 180, 90);
path.AddArc(rect.Right - curveSize, rect.Y, curveSize, curveSize, 270, 90);
path.AddArc(rect.Right - curveSize, rect.Bottom - curveSize, curveSize, curveSize, 0, 90);
path.AddArc(rect.X, rect.Bottom - curveSize, curveSize, curveSize, 90, 90);
path.CloseFigure();
return path;
}
protected override void OnPaint(PaintEventArgs pevent)
{
base.OnPaint(pevent);
float ratio = pevent.Graphics.DpiX / 192.0f;
int border = (int)(ratio * borderSize);
Rectangle rectSurface = ClientRectangle;
Rectangle rectBorder = Rectangle.Inflate(rectSurface, -border, -border);
Color borderDrawColor = activated ? borderColor : Color.Transparent;
using (GraphicsPath pathSurface = GetFigurePath(rectSurface, borderRadius + border))
using (GraphicsPath pathBorder = GetFigurePath(rectBorder, borderRadius))
using (Pen penSurface = new Pen(Parent.BackColor, border))
using (Pen penBorder = new Pen(borderDrawColor, border))
{
penBorder.Alignment = PenAlignment.Outset;
pevent.Graphics.SmoothingMode = SmoothingMode.AntiAlias;
Region = new Region(pathSurface);
pevent.Graphics.DrawPath(penSurface, pathSurface);
pevent.Graphics.DrawPath(penBorder, pathBorder);
}
if (!Enabled && ForeColor != SystemColors.ControlText)
{
var rect = pevent.ClipRectangle;
if (Image is not null)
{
rect.Y += Image.Height;
rect.Height -= Image.Height;
}
TextFormatFlags flags = TextFormatFlags.HorizontalCenter | TextFormatFlags.VerticalCenter | TextFormatFlags.WordBreak;
TextRenderer.DrawText(pevent.Graphics, Text, Font, rect, Color.Gray, flags);
}
}
}
}

118
app/UI/RButton.cs Normal file
View File

@@ -0,0 +1,118 @@
using System.Drawing.Drawing2D;
namespace GHelper.UI
{
public class RButton : Button
{
//Fields
private int borderSize = 5;
private int borderRadius = 5;
public int BorderRadius
{
get { return borderRadius; }
set
{
borderRadius = value;
}
}
private Color borderColor = Color.Transparent;
public Color BorderColor
{
get { return borderColor; }
set
{
borderColor = value;
}
}
private bool activated = false;
public bool Activated
{
get { return activated; }
set
{
if (activated != value)
Invalidate();
activated = value;
}
}
private bool secondary = false;
public bool Secondary
{
get { return secondary; }
set
{
secondary = value;
}
}
public RButton()
{
DoubleBuffered = true;
FlatStyle = FlatStyle.Flat;
FlatAppearance.BorderSize = 0;
}
private GraphicsPath GetFigurePath(Rectangle rect, int radius)
{
GraphicsPath path = new GraphicsPath();
float curveSize = radius * 2F;
path.StartFigure();
path.AddArc(rect.X, rect.Y, curveSize, curveSize, 180, 90);
path.AddArc(rect.Right - curveSize, rect.Y, curveSize, curveSize, 270, 90);
path.AddArc(rect.Right - curveSize, rect.Bottom - curveSize, curveSize, curveSize, 0, 90);
path.AddArc(rect.X, rect.Bottom - curveSize, curveSize, curveSize, 90, 90);
path.CloseFigure();
return path;
}
protected override void OnPaint(PaintEventArgs pevent)
{
base.OnPaint(pevent);
float ratio = pevent.Graphics.DpiX / 192.0f;
int border = (int)(ratio * borderSize);
Rectangle rectSurface = ClientRectangle;
Rectangle rectBorder = Rectangle.Inflate(rectSurface, -border, -border);
Color borderDrawColor = activated ? borderColor : Color.Transparent;
using (GraphicsPath pathSurface = GetFigurePath(rectSurface, borderRadius + border))
using (GraphicsPath pathBorder = GetFigurePath(rectBorder, borderRadius))
using (Pen penSurface = new Pen(Parent.BackColor, border))
using (Pen penBorder = new Pen(borderDrawColor, border))
{
penBorder.Alignment = PenAlignment.Outset;
pevent.Graphics.SmoothingMode = SmoothingMode.AntiAlias;
Region = new Region(pathSurface);
pevent.Graphics.DrawPath(penSurface, pathSurface);
pevent.Graphics.DrawPath(penBorder, pathBorder);
}
if (!Enabled && ForeColor != SystemColors.ControlText)
{
var rect = pevent.ClipRectangle;
if (Image is not null)
{
rect.Y += Image.Height;
rect.Height -= Image.Height;
}
TextFormatFlags flags = TextFormatFlags.HorizontalCenter | TextFormatFlags.VerticalCenter | TextFormatFlags.WordBreak;
TextRenderer.DrawText(pevent.Graphics, Text, Font, rect, Color.Gray, flags);
}
}
}
}

7
app/UI/RCheckBox.cs Normal file
View File

@@ -0,0 +1,7 @@
namespace GHelper.UI
{
public class RCheckBox : CheckBox
{
}
}

189
app/UI/RComboBox.cs Normal file
View File

@@ -0,0 +1,189 @@
using System.ComponentModel;
using System.Runtime.InteropServices;
namespace GHelper.UI
{
public class RComboBox : ComboBox
{
private Color borderColor = Color.Gray;
[DefaultValue(typeof(Color), "Gray")]
public Color BorderColor
{
get { return borderColor; }
set
{
if (borderColor != value)
{
borderColor = value;
Invalidate();
}
}
}
private Color buttonColor = Color.FromArgb(255, 255, 255, 255);
[DefaultValue(typeof(Color), "255, 255, 255")]
public Color ButtonColor
{
get { return buttonColor; }
set
{
if (buttonColor != value)
{
buttonColor = value;
Invalidate();
}
}
}
private Color arrowColor = Color.Black;
[DefaultValue(typeof(Color), "Black")]
public Color ArrowColor
{
get { return arrowColor; }
set
{
if (arrowColor != value)
{
arrowColor = value;
Invalidate();
}
}
}
protected override void WndProc(ref Message m)
{
if (m.Msg == WM_PAINT && DropDownStyle != ComboBoxStyle.Simple)
{
var clientRect = ClientRectangle;
var dropDownButtonWidth = SystemInformation.HorizontalScrollBarArrowWidth;
var outerBorder = new Rectangle(clientRect.Location,
new Size(clientRect.Width - 1, clientRect.Height - 1));
var innerBorder = new Rectangle(outerBorder.X + 1, outerBorder.Y + 1,
outerBorder.Width - dropDownButtonWidth - 2, outerBorder.Height - 2);
var innerInnerBorder = new Rectangle(innerBorder.X + 1, innerBorder.Y + 1,
innerBorder.Width - 2, innerBorder.Height - 2);
var dropDownRect = new Rectangle(innerBorder.Right + 1, innerBorder.Y,
dropDownButtonWidth, innerBorder.Height + 1);
if (RightToLeft == RightToLeft.Yes)
{
innerBorder.X = clientRect.Width - innerBorder.Right;
innerInnerBorder.X = clientRect.Width - innerInnerBorder.Right;
dropDownRect.X = clientRect.Width - dropDownRect.Right;
dropDownRect.Width += 1;
}
var innerBorderColor = Enabled ? BackColor : SystemColors.Control;
var outerBorderColor = Enabled ? BorderColor : SystemColors.ControlDark;
var buttonColor = Enabled ? ButtonColor : SystemColors.Control;
var middle = new Point(dropDownRect.Left + dropDownRect.Width / 2,
dropDownRect.Top + dropDownRect.Height / 2);
var arrow = new Point[]
{
new Point(middle.X - 3, middle.Y - 2),
new Point(middle.X + 4, middle.Y - 2),
new Point(middle.X, middle.Y + 2)
};
var ps = new PAINTSTRUCT();
bool shoulEndPaint = false;
nint dc;
if (m.WParam == nint.Zero)
{
dc = BeginPaint(Handle, ref ps);
m.WParam = dc;
shoulEndPaint = true;
}
else
{
dc = m.WParam;
}
var rgn = CreateRectRgn(innerInnerBorder.Left, innerInnerBorder.Top,
innerInnerBorder.Right, innerInnerBorder.Bottom);
SelectClipRgn(dc, rgn);
DefWndProc(ref m);
DeleteObject(rgn);
rgn = CreateRectRgn(clientRect.Left, clientRect.Top,
clientRect.Right, clientRect.Bottom);
SelectClipRgn(dc, rgn);
using (var g = Graphics.FromHdc(dc))
{
using (var b = new SolidBrush(buttonColor))
{
g.FillRectangle(b, dropDownRect);
}
using (var b = new SolidBrush(arrowColor))
{
g.FillPolygon(b, arrow);
}
using (var p = new Pen(innerBorderColor))
{
g.DrawRectangle(p, innerBorder);
g.DrawRectangle(p, innerInnerBorder);
}
using (var p = new Pen(outerBorderColor))
{
g.DrawRectangle(p, outerBorder);
}
}
if (shoulEndPaint)
EndPaint(Handle, ref ps);
DeleteObject(rgn);
}
else
base.WndProc(ref m);
}
private const int WM_PAINT = 0xF;
[StructLayout(LayoutKind.Sequential)]
public struct RECT
{
public int L, T, R, B;
}
[StructLayout(LayoutKind.Sequential)]
public struct PAINTSTRUCT
{
public nint hdc;
public bool fErase;
public int rcPaint_left;
public int rcPaint_top;
public int rcPaint_right;
public int rcPaint_bottom;
public bool fRestore;
public bool fIncUpdate;
public int reserved1;
public int reserved2;
public int reserved3;
public int reserved4;
public int reserved5;
public int reserved6;
public int reserved7;
public int reserved8;
}
[DllImport("user32.dll")]
private static extern nint BeginPaint(nint hWnd,
[In, Out] ref PAINTSTRUCT lpPaint);
[DllImport("user32.dll")]
private static extern bool EndPaint(nint hWnd, ref PAINTSTRUCT lpPaint);
[DllImport("gdi32.dll")]
public static extern int SelectClipRgn(nint hDC, nint hRgn);
[DllImport("user32.dll")]
public static extern int GetUpdateRgn(nint hwnd, nint hrgn, bool fErase);
public enum RegionFlags
{
ERROR = 0,
NULLREGION = 1,
SIMPLEREGION = 2,
COMPLEXREGION = 3,
}
[DllImport("gdi32.dll")]
internal static extern bool DeleteObject(nint hObject);
[DllImport("gdi32.dll")]
private static extern nint CreateRectRgn(int x1, int y1, int x2, int y2);
}
}

118
app/UI/RForm.cs Normal file
View File

@@ -0,0 +1,118 @@
using Microsoft.Win32;
using System.Runtime.InteropServices;
namespace GHelper.UI
{
public class RForm : Form
{
public static Color colorEco = Color.FromArgb(255, 6, 180, 138);
public static Color colorStandard = Color.FromArgb(255, 58, 174, 239);
public static Color colorTurbo = Color.FromArgb(255, 255, 32, 32);
public static Color colorCustom = Color.FromArgb(255, 255, 128, 0);
public static Color buttonMain;
public static Color buttonSecond;
public static Color formBack;
public static Color foreMain;
public static Color borderMain;
public static Color chartMain;
public static Color chartGrid;
[DllImport("UXTheme.dll", SetLastError = true, EntryPoint = "#138")]
public static extern bool CheckSystemDarkModeStatus();
[DllImport("DwmApi")] //System.Runtime.InteropServices
private static extern int DwmSetWindowAttribute(nint hwnd, int attr, int[] attrValue, int attrSize);
public bool darkTheme = false;
protected override CreateParams CreateParams
{
get
{
var parms = base.CreateParams;
parms.Style &= ~0x02000000; // Turn off WS_CLIPCHILDREN
return parms;
}
}
public static void InitColors(bool darkTheme)
{
if (darkTheme)
{
buttonMain = Color.FromArgb(255, 55, 55, 55);
buttonSecond = Color.FromArgb(255, 38, 38, 38);
formBack = Color.FromArgb(255, 28, 28, 28);
foreMain = Color.FromArgb(255, 240, 240, 240);
borderMain = Color.FromArgb(255, 50, 50, 50);
chartMain = Color.FromArgb(255, 35, 35, 35);
chartGrid = Color.FromArgb(255, 70, 70, 70);
}
else
{
buttonMain = SystemColors.ControlLightLight;
buttonSecond = SystemColors.ControlLight;
formBack = SystemColors.Control;
foreMain = SystemColors.ControlText;
borderMain = Color.LightGray;
chartMain = SystemColors.ControlLightLight;
chartGrid = Color.LightGray;
}
}
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");
if (registryValueObject == null) return false;
return (int)registryValueObject <= 0;
}
public bool InitTheme(bool setDPI = false)
{
bool newDarkTheme = IsDarkTheme();
bool changed = darkTheme != newDarkTheme;
darkTheme = newDarkTheme;
InitColors(darkTheme);
if (setDPI)
ControlHelper.Resize(this);
if (changed)
{
DwmSetWindowAttribute(Handle, 20, new[] { darkTheme ? 1 : 0 }, 4);
ControlHelper.Adjust(this, changed);
this.Invalidate();
}
return changed;
}
}
}

View File

@@ -36,6 +36,7 @@ namespace GHelper.UI
{
// This reduces flicker
DoubleBuffered = true;
TabStop = true;
}
@@ -89,6 +90,41 @@ namespace GHelper.UI
}
}
protected override bool IsInputKey(Keys keyData)
{
switch (keyData)
{
case Keys.Right:
case Keys.Left:
case Keys.Up:
case Keys.Down:
return true;
}
return base.IsInputKey(keyData);
}
protected override void OnKeyDown(KeyEventArgs e)
{
switch (e.KeyCode)
{
case Keys.Right:
case Keys.Up:
Value = Math.Min(Max, Value + Step);
break;
case Keys.Left:
case Keys.Down:
Value = Math.Max(Min, Value - Step);
break;
}
AccessibilityNotifyClients(AccessibleEvents.Focus, 0);
base.OnKeyDown(e);
}
protected override void OnPaint(PaintEventArgs e)
{
base.OnPaint(e);
@@ -131,6 +167,8 @@ namespace GHelper.UI
{
base.OnMouseDown(e);
Focus();
// Difference between tumb and mouse position.
_delta = new SizeF(e.Location.X - _thumbPos.X, e.Location.Y - _thumbPos.Y);
if (_delta.Width * _delta.Width + _delta.Height * _delta.Height <= _radius * _radius)

View File

@@ -57,7 +57,7 @@ public static class AsusHid
return null;
}
public static void WriteInput(byte[] data, string log = "USB")
public static void WriteInput(byte[] data, string? log = "USB")
{
foreach (var device in FindDevices(INPUT_ID))
{
@@ -68,7 +68,7 @@ public static class AsusHid
var payload = new byte[device.GetMaxFeatureReportLength()];
Array.Copy(data, payload, data.Length);
stream.SetFeature(payload);
Logger.WriteLine($"{log} Feature {device.ProductID.ToString("X")}|{device.GetMaxFeatureReportLength()}: {BitConverter.ToString(data)}");
if (log is not null) Logger.WriteLine($"{log} {device.ProductID.ToString("X")}|{device.GetMaxFeatureReportLength()}: {BitConverter.ToString(data)}");
}
}
catch (Exception ex)

View File

@@ -76,16 +76,14 @@ namespace GHelper.USB
public static Color Color1 = Color.White;
public static Color Color2 = Color.Black;
static bool isACPI = AppConfig.IsTUF() || AppConfig.IsVivobook();
static bool isStrix = AppConfig.IsStrix();
static bool isACPI = AppConfig.IsTUF() || AppConfig.IsVivobook() || AppConfig.IsProArt();
static bool isStrix = AppConfig.IsStrix() && !AppConfig.IsNoDirectRGB();
static bool isStrix4Zone = AppConfig.IsStrixLimitedRGB();
static bool isStrixNumpad = AppConfig.IsStrixNumpad();
static public bool isSingleColor = false;
static bool isOldHeatmap = AppConfig.Is("old_heatmap");
static System.Timers.Timer timer = new System.Timers.Timer(1000);
private static Dictionary<AuraMode, string> _modesSingleColor = new Dictionary<AuraMode, string>
@@ -107,6 +105,15 @@ namespace GHelper.USB
{ AuraMode.AMBIENT, "Ambient"},
};
private static Dictionary<AuraMode, string> _modesAlly = new Dictionary<AuraMode, string>
{
{ AuraMode.AuraStatic, Properties.Strings.AuraStatic },
{ AuraMode.AuraBreathe, Properties.Strings.AuraBreathe },
{ AuraMode.AuraColorCycle, Properties.Strings.AuraColorCycle },
{ AuraMode.AuraRainbow, Properties.Strings.AuraRainbow },
{ AuraMode.AuraStrobe, Properties.Strings.AuraStrobe },
};
private static Dictionary<AuraMode, string> _modesStrix = new Dictionary<AuraMode, string>
{
{ AuraMode.AuraStatic, Properties.Strings.AuraStatic },
@@ -134,8 +141,9 @@ namespace GHelper.USB
{
var device = AsusHid.FindDevices(AsusHid.AURA_ID).FirstOrDefault();
if (device is null) return;
Logger.WriteLine($"GA402: {device.ReleaseNumberBcd} {device.ReleaseNumber}");
if (device.ReleaseNumberBcd >= 22) isSingleColor = true;
Logger.WriteLine($"USB Version: {device.ReleaseNumberBcd} {device.ReleaseNumber}");
if (device.ReleaseNumberBcd >= 22 && device.ReleaseNumberBcd <= 25) isSingleColor = true;
}
}
@@ -162,6 +170,11 @@ namespace GHelper.USB
return _modesSingleColor;
}
if (AppConfig.IsAlly())
{
return _modesAlly;
}
if (AppConfig.IsAdvantageEdition())
{
return _modes;
@@ -225,19 +238,19 @@ namespace GHelper.USB
}
public static byte[] AuraMessage(AuraMode mode, Color color, Color color2, int speed, bool mono = false)
public static byte[] AuraMessage(AuraMode mode, Color color, Color color2, int speed, bool mono = false, byte zoneByte = 0x00)
{
byte[] msg = new byte[17];
msg[0] = AsusHid.AURA_ID;
msg[1] = 0xb3;
msg[2] = 0x00; // Zone
msg[1] = 0xB3;
msg[2] = zoneByte; // Zone
msg[3] = (byte)mode; // Aura Mode
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[8] = 0x00; // aura.direction as u8;
msg[9] = mode == AuraMode.AuraBreathe ? (byte)1 : (byte)0;
msg[10] = color2.R; // R
msg[11] = mono ? (byte)0 : color2.G; // G
@@ -247,16 +260,30 @@ namespace GHelper.USB
public static void Init()
{
Task.Run(async () =>
AsusHid.Write(new List<byte[]> {
new byte[] { AsusHid.AURA_ID, 0xB9 },
Encoding.ASCII.GetBytes("]ASUS Tech.Inc."),
new byte[] { AsusHid.AURA_ID, 0x05, 0x20, 0x31, 0, 0x1A },
}, "Init");
// Random data AC sends to keyboard on start, that seem to wake up keyboard on 2024
if (AppConfig.IsNewAura())
{
AsusHid.Write(new List<byte[]> {
new byte[] { AsusHid.AURA_ID, 0xb9 },
new byte[] { AsusHid.AURA_ID, 0x9F, 0x01 },
new byte[] { AsusHid.AURA_ID, 0xBF },
new byte[] { AsusHid.AURA_ID, 0x05, 0x20, 0x31, 0, 0x10 },
new byte[] { AsusHid.AURA_ID, 0x05, 0x20, 0x31, 0, 0x20 },
new byte[] { AsusHid.AURA_ID, 0xC0, 0x03, 0x01 },
new byte[] { AsusHid.AURA_ID, 0x9E, 0x01, 0x20 },
Encoding.ASCII.GetBytes("]ASUS Tech.Inc."),
new byte[] { AsusHid.AURA_ID, 0x05, 0x20, 0x31, 0, 0x1a },
//Encoding.ASCII.GetBytes("^ASUS Tech.Inc."),
//new byte[] { 0x5e, 0x05, 0x20, 0x31, 0, 0x1a }
});
});
new byte[] { AsusHid.AURA_ID, 0x05, 0x20, 0x31, 0, 0x1A },
new byte[] { AsusHid.AURA_ID, 0xC0, 0x00, 0x01 },
}, "Init");
}
}
@@ -267,9 +294,12 @@ namespace GHelper.USB
if (delay) await Task.Delay(TimeSpan.FromSeconds(1));
if (isACPI) Program.acpi.TUFKeyboardBrightness(brightness);
AsusHid.Write(new byte[] { AsusHid.AURA_ID, 0xba, 0xc5, 0xc4, (byte)brightness }, log);
AsusHid.Write(new byte[] { AsusHid.AURA_ID, 0xBA, 0xC5, 0xC4, (byte)brightness }, log);
if (AppConfig.IsAlly()) ApplyAura();
if (AppConfig.ContainsModel("GA503"))
AsusHid.WriteInput(new byte[] { AsusHid.INPUT_ID, 0xba, 0xc5, 0xc4, (byte)brightness }, log);
AsusHid.WriteInput(new byte[] { AsusHid.INPUT_ID, 0xBA, 0xC5, 0xC4, (byte)brightness }, log);
});
@@ -288,6 +318,7 @@ namespace GHelper.USB
if (flags.ShutdownLogo) keyb |= 1 << 6;
if (flags.ShutdownKeyb) keyb |= 1 << 7;
if (flags.AwakeBar) bar |= 1 << 0;
if (flags.BootBar) bar |= 1 << 1;
if (flags.AwakeBar) bar |= 1 << 2;
if (flags.SleepBar) bar |= 1 << 3;
@@ -313,7 +344,17 @@ namespace GHelper.USB
if (flags.SleepRear) rear |= 1 << 6;
if (flags.ShutdownRear) rear |= 1 << 7;
return new byte[] { 0x5d, 0xbd, 0x01, keyb, bar, lid, rear, 0xFF };
return new byte[] { AsusHid.AURA_ID, 0xBD, 0x01, keyb, bar, lid, rear, 0xFF };
}
private static void ApplyAllyPower(AuraPower flags)
{
byte power = 0x00;
if (flags.BootKeyb) power |= 0x01;
if (flags.AwakeKeyb) power |= 0x02;
if (flags.SleepKeyb) power |= 0x04;
if (flags.ShutdownKeyb) power |= 0x08;
AsusHid.WriteInput(new byte[] { AsusHid.INPUT_ID, 0xD1, 0x09, 0x01, power }, "Aura");
}
public static void ApplyPower()
@@ -351,6 +392,12 @@ namespace GHelper.USB
flags.SleepRear = AppConfig.IsNotFalse("keyboard_sleep_lid");
flags.ShutdownRear = AppConfig.IsNotFalse("keyboard_shutdown_lid");
if (AppConfig.IsAlly())
{
ApplyAllyPower(flags);
return;
}
AsusHid.Write(AuraPowerMessage(flags));
if (isACPI)
@@ -455,7 +502,7 @@ namespace GHelper.USB
byte[] keyBuf = new byte[mapSize];
buffer[0] = AsusHid.AURA_ID;
buffer[1] = 0xbc;
buffer[1] = 0xBC;
buffer[2] = 0;
buffer[3] = 1;
buffer[4] = 1;
@@ -466,7 +513,7 @@ namespace GHelper.USB
if (init)
{
Init();
AsusHid.WriteAura(new byte[] { AsusHid.AURA_ID, 0xbc });
AsusHid.WriteAura(new byte[] { AsusHid.AURA_ID, 0xBC });
}
Array.Clear(keyBuf, 0, keyBuf.Length);
@@ -503,7 +550,8 @@ namespace GHelper.USB
buffer[6] = 0x00;
buffer[7] = 0x00;
if (isStrix4Zone) { // per zone
if (isStrix4Zone)
{ // per zone
var leds_4_zone = packet4Zone.Count();
for (int ledIndex = 0; ledIndex < leds_4_zone; ledIndex++)
{
@@ -522,7 +570,7 @@ namespace GHelper.USB
}
public static void ApplyColor(Color color, bool init = false)
public static void ApplyDirect(Color color, bool init = false)
{
if (isACPI)
@@ -531,21 +579,38 @@ namespace GHelper.USB
return;
}
if (isStrix && !isOldHeatmap)
if (AppConfig.IsNoDirectRGB())
{
AsusHid.Write(new List<byte[]> { AuraMessage(AuraMode.AuraStatic, color, color, 0xeb, isSingleColor), MESSAGE_SET });
return;
}
if (isStrix)
{
ApplyDirect(Enumerable.Repeat(color, AURA_ZONES).ToArray(), init);
return;
}
else
if (init)
{
AsusHid.WriteAura(AuraMessage(0, color, color, 0));
AsusHid.WriteAura(MESSAGE_SET);
//Init();
AsusHid.WriteAura(new byte[] { AsusHid.AURA_ID, 0xbc, 1 });
}
byte[] buffer = new byte[12];
buffer[0] = AsusHid.AURA_ID;
buffer[1] = 0xbc;
buffer[2] = 1;
buffer[3] = 1;
buffer[9] = color.R;
buffer[10] = color.G;
buffer[11] = color.B;
AsusHid.WriteAura(buffer);
}
public static void ApplyAura()
public static void ApplyAura(double colorDim = 1)
{
Mode = (AuraMode)AppConfig.Get("aura_mode");
@@ -553,8 +618,29 @@ namespace GHelper.USB
SetColor(AppConfig.Get("aura_color"));
SetColor2(AppConfig.Get("aura_color2"));
Color _Color1 = Color1;
Color _Color2 = Color2;
// Ally lower brightness fix
if (AppConfig.IsAlly())
{
switch (InputDispatcher.GetBacklight())
{
case 1: colorDim = 0.1; break;
case 2: colorDim = 0.3; break;
}
if (colorDim < 1)
{
_Color1 = Color.FromArgb((int)(Color1.R * colorDim), (int)(Color1.G * colorDim), (int)(Color1.B * colorDim));
_Color2 = Color.FromArgb((int)(Color2.R * colorDim), (int)(Color2.G * colorDim), (int)(Color2.B * colorDim));
}
}
timer.Enabled = false;
Logger.WriteLine($"AuraMode: {Mode}");
if (Mode == AuraMode.HEATMAP)
{
CustomRGB.ApplyHeatmap(true);
@@ -567,7 +653,7 @@ namespace GHelper.USB
{
CustomRGB.ApplyAmbient(true);
timer.Enabled = true;
timer.Interval = 100;
timer.Interval = AppConfig.Get("aura_refresh", AppConfig.ContainsModel("GU604") ? 400 : 120);
return;
}
@@ -578,8 +664,7 @@ namespace GHelper.USB
}
int _speed = (Speed == AuraSpeed.Normal) ? 0xeb : (Speed == AuraSpeed.Fast) ? 0xf5 : 0xe1;
AsusHid.Write(new List<byte[]> { AuraMessage(Mode, Color1, Color2, _speed, isSingleColor), MESSAGE_APPLY, MESSAGE_SET });
AsusHid.Write(new List<byte[]> { AuraMessage(Mode, _Color1, _Color2, _speed, isSingleColor), MESSAGE_SET, MESSAGE_APPLY });
if (isACPI)
Program.acpi.TUFKeyboardRGB(Mode, Color1, _speed);
@@ -594,18 +679,25 @@ namespace GHelper.USB
{
if ((AuraMode)AppConfig.Get("aura_mode") != AuraMode.GPUMODE) return;
Color color;
switch (GPUModeControl.gpuMode)
{
case AsusACPI.GPUModeUltimate:
ApplyColor(Color.Red, true);
color = Color.Red;
break;
case AsusACPI.GPUModeEco:
ApplyColor(Color.Green, true);
color = Color.Green;
break;
default:
ApplyColor(Color.Yellow, true);
color = Color.Yellow;
break;
}
if (isACPI) Program.acpi.TUFKeyboardRGB(AuraMode.AuraStatic, color, 0xeb);
AsusHid.Write(new List<byte[]> { AuraMessage(AuraMode.AuraStatic, color, color, 0xeb, isSingleColor), MESSAGE_APPLY, MESSAGE_SET });
}
public static void ApplyHeatmap(bool init = false)
@@ -621,7 +713,7 @@ namespace GHelper.USB
else if (cpuTemp < hot) color = ColorUtils.GetWeightedAverage(Color.Yellow, Color.Red, ((float)cpuTemp - warm) / (hot - warm));
else color = Color.Red;
ApplyColor(color, init);
ApplyDirect(color, init);
}
@@ -632,14 +724,13 @@ namespace GHelper.USB
bound.Y += bound.Height / 3;
bound.Height -= (int)Math.Round(bound.Height * (0.33f + 0.022f)); // cut 1/3 of the top screen + windows panel
Bitmap screen_low = screen_low = AmbientData.CamptureScreen(bound, 512, 288); //quality decreases greatly if it is less 512 ;
Bitmap screeb_pxl;
Bitmap screen_low = AmbientData.CamptureScreen(bound, 512, 288); //quality decreases greatly if it is less 512 ;
Bitmap screeb_pxl = AmbientData.ResizeImage(screen_low, 4, 2); // 4x2 zone. top for keyboard and bot for lightbar;
int zones = AURA_ZONES;
if (isStrix) // laptop with lightbar
{
screeb_pxl = AmbientData.ResizeImage(screen_low, 4, 2); // 4x2 zone. top for keyboard and bot for lightbar
var mid_left = ColorUtils.GetMidColor(screeb_pxl.GetPixel(0, 1), screeb_pxl.GetPixel(1, 1));
var mid_right = ColorUtils.GetMidColor(screeb_pxl.GetPixel(2, 1), screeb_pxl.GetPixel(3, 1));
@@ -654,16 +745,16 @@ namespace GHelper.USB
else
{
zones = 1;
screeb_pxl = AmbientData.ResizeImage(screen_low, 1, 1);
AmbientData.Colors[0].RGB = ColorUtils.HSV.UpSaturation(screeb_pxl.GetPixel(0, 0), (float)0.3);
AmbientData.Colors[0].RGB = ColorUtils.HSV.UpSaturation(ColorUtils.GetDominantColor(screeb_pxl), (float)0.3);
}
//screen_low.Save("big.jpg", ImageFormat.Jpeg);
//screeb_pxl.Save("small.jpg", ImageFormat.Jpeg);
//screeb_pxl.Save("test.jpg", ImageFormat.Jpeg);
screen_low.Dispose();
screeb_pxl.Dispose();
bool is_fresh = false;
bool is_fresh = init;
for (int i = 0; i < zones; i++)
{
@@ -674,7 +765,7 @@ namespace GHelper.USB
if (is_fresh)
{
if (isStrix) ApplyDirect(AmbientData.result, init);
else ApplyColor(AmbientData.result[0], init);
else ApplyDirect(AmbientData.result[0], init);
}
}

View File

@@ -55,10 +55,10 @@ namespace GHelper
tableBios.AutoSize = true;
tableBios.AutoSizeMode = AutoSizeMode.GrowAndShrink;
tableBios.ColumnCount = 4;
tableBios.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 20F));
tableBios.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 23F));
tableBios.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 40F));
tableBios.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 15F));
tableBios.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 25F));
tableBios.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 22F));
tableBios.Dock = DockStyle.Top;
tableBios.Location = new Point(20, 20);
tableBios.Margin = new Padding(4);
@@ -99,14 +99,14 @@ namespace GHelper
panelBiosTitle.Location = new Point(0, 0);
panelBiosTitle.Margin = new Padding(4);
panelBiosTitle.Name = "panelBiosTitle";
panelBiosTitle.Size = new Size(1256, 62);
panelBiosTitle.Size = new Size(1294, 62);
panelBiosTitle.TabIndex = 3;
//
// labelUpdates
//
labelUpdates.Anchor = AnchorStyles.Top | AnchorStyles.Right;
labelUpdates.Font = new Font("Segoe UI", 9F, FontStyle.Bold, GraphicsUnit.Point);
labelUpdates.Location = new Point(810, 23);
labelUpdates.Location = new Point(848, 23);
labelUpdates.Name = "labelUpdates";
labelUpdates.Size = new Size(245, 32);
labelUpdates.TabIndex = 4;
@@ -122,11 +122,11 @@ namespace GHelper
buttonRefresh.FlatAppearance.BorderSize = 0;
buttonRefresh.FlatStyle = FlatStyle.Flat;
buttonRefresh.Image = Properties.Resources.icons8_refresh_32;
buttonRefresh.Location = new Point(1183, 14);
buttonRefresh.Location = new Point(1221, 14);
buttonRefresh.Name = "buttonRefresh";
buttonRefresh.Secondary = true;
buttonRefresh.Size = new Size(52, 46);
buttonRefresh.TabIndex = 3;
buttonRefresh.TabIndex = 1;
buttonRefresh.UseVisualStyleBackColor = false;
//
// panelBios
@@ -138,7 +138,7 @@ namespace GHelper
panelBios.Margin = new Padding(4);
panelBios.Name = "panelBios";
panelBios.Padding = new Padding(20);
panelBios.Size = new Size(1256, 40);
panelBios.Size = new Size(1294, 40);
panelBios.TabIndex = 4;
//
// panelDrivers
@@ -150,7 +150,7 @@ namespace GHelper
panelDrivers.Margin = new Padding(4);
panelDrivers.Name = "panelDrivers";
panelDrivers.Padding = new Padding(20);
panelDrivers.Size = new Size(1256, 40);
panelDrivers.Size = new Size(1294, 40);
panelDrivers.TabIndex = 6;
//
// tableDrivers
@@ -158,10 +158,10 @@ namespace GHelper
tableDrivers.AutoSize = true;
tableDrivers.AutoSizeMode = AutoSizeMode.GrowAndShrink;
tableDrivers.ColumnCount = 4;
tableDrivers.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 20F));
tableDrivers.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 23F));
tableDrivers.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 40F));
tableDrivers.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 15F));
tableDrivers.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 25F));
tableDrivers.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 22F));
tableDrivers.Dock = DockStyle.Top;
tableDrivers.Location = new Point(20, 20);
tableDrivers.Margin = new Padding(4);
@@ -178,7 +178,7 @@ namespace GHelper
panelDriversTitle.Location = new Point(0, 102);
panelDriversTitle.Margin = new Padding(4);
panelDriversTitle.Name = "panelDriversTitle";
panelDriversTitle.Size = new Size(1256, 44);
panelDriversTitle.Size = new Size(1294, 44);
panelDriversTitle.TabIndex = 5;
//
// labelDrivers
@@ -208,7 +208,7 @@ namespace GHelper
AutoScaleDimensions = new SizeF(192F, 192F);
AutoScaleMode = AutoScaleMode.Dpi;
AutoScroll = true;
ClientSize = new Size(1256, 690);
ClientSize = new Size(1294, 690);
Controls.Add(panelDrivers);
Controls.Add(panelDriversTitle);
Controls.Add(panelBios);

View File

@@ -35,10 +35,15 @@ namespace GHelper
(bios, model) = AppConfig.GetBiosAndModel();
buttonRefresh.TabStop = false;
updatesCount = 0;
labelUpdates.ForeColor = colorEco;
labelUpdates.Text = Properties.Strings.NoNewUpdates;
panelBios.AccessibleRole = AccessibleRole.Grouping;
panelBios.AccessibleName = Properties.Strings.NoNewUpdates;
panelBios.TabStop = true;
Text = Properties.Strings.BiosAndDriverUpdates + ": " + model + " " + bios;
labelBIOS.Text = "BIOS";
@@ -78,7 +83,6 @@ namespace GHelper
InitializeComponent();
InitTheme(true);
LoadUpdates(true);
//buttonRefresh.Visible = false;
@@ -122,12 +126,17 @@ namespace GHelper
Invoke(delegate
{
string versionText = driver.version.Replace("latest version at the ", "");
Label versionLabel = new Label { Text = versionText, Anchor = AnchorStyles.Left, AutoSize = true };
LinkLabel versionLabel = new LinkLabel { Text = versionText, Anchor = AnchorStyles.Left, AutoSize = true };
versionLabel.AccessibleName = driver.title;
versionLabel.TabStop = true;
versionLabel.TabIndex = table.RowCount + 1;
versionLabel.Cursor = Cursors.Hand;
versionLabel.Font = new Font(versionLabel.Font, FontStyle.Underline);
versionLabel.ForeColor = colorEco;
versionLabel.LinkColor = colorEco;
versionLabel.Padding = new Padding(5, 5, 5, 5);
versionLabel.Click += delegate
versionLabel.LinkClicked += delegate
{
Process.Start(new ProcessStartInfo(driver.downloadUrl) { UseShellExecute = true });
};
@@ -153,18 +162,19 @@ namespace GHelper
public void VisualiseNewDriver(int position, int newer, TableLayoutPanel table)
{
var label = table.GetControlFromPosition(3, position) as Label;
var label = table.GetControlFromPosition(3, position) as LinkLabel;
if (label != null)
{
Invoke(delegate
{
if (newer == DRIVER_NEWER)
{
label.AccessibleName = label.AccessibleName + Properties.Strings.NewUpdates;
label.Font = new Font(label.Font, FontStyle.Underline | FontStyle.Bold);
label.ForeColor = colorTurbo;
label.LinkColor = colorTurbo;
}
if (newer == DRIVER_NOT_FOUND) label.ForeColor = Color.Gray;
if (newer == DRIVER_NOT_FOUND) label.LinkColor = Color.Gray;
});
}
@@ -177,6 +187,9 @@ namespace GHelper
labelUpdates.Text = $"{Properties.Strings.NewUpdates}: {updatesCount}";
labelUpdates.ForeColor = colorTurbo;
labelUpdates.Font = new Font(labelUpdates.Font, FontStyle.Bold);
panelBios.AccessibleName = labelUpdates.Text;
});
}

View File

@@ -1,20 +1,28 @@
# 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 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/)
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!
Small and lightweight Armoury Crate alternative for Asus laptops offering almost same functionality without extra bloat and unnecessary services.
Works with 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!
# [:floppy_disk:Download](https://github.com/seerge/g-helper/releases/latest/download/GHelper.zip)
- 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!
- [FAQ](https://github.com/seerge/g-helper/wiki/FAQ)
- [Setup and Requirements](https://github.com/seerge/g-helper/wiki/Requirements)
- [Troubleshooting](https://github.com/seerge/g-helper/wiki/Troubleshooting)
- [Power User Settings](https://github.com/seerge/g-helper/wiki/Power-user-settings)
#### Support project in [:euro: EUR](https://www.paypal.com/donate/?hosted_button_id=4HMSHS4EBQWTA) | [💵 USD](https://www.paypal.com/donate/?hosted_button_id=SRM6QUX6ACXDY)
### Support project in [:euro: EUR](https://www.paypal.com/donate/?hosted_button_id=4HMSHS4EBQWTA) or [💵 USD](https://www.paypal.com/donate/?hosted_button_id=SRM6QUX6ACXDY)
![Gihhub](https://github.com/seerge/g-helper/assets/5920850/4d98465a-63a5-4498-ae14-afb3e67e7e82)
[![G-Helper Download](https://github.com/seerge/g-helper/assets/5920850/4d98465a-63a5-4498-ae14-afb3e67e7e82)](https://github.com/seerge/g-helper/releases/latest/download/GHelper.zip)
## :gift: Main Advantages
## :loudspeaker: YouTube Reviews and Guides
| [![Youtube review Josh Cravey](https://i.ytimg.com/vi/hqe-PjuE-K8/hqdefault.jpg)](https://www.youtube.com/watch?v=hqe-PjuE-K8) | [![Youtube review cbutters Tech](https://i.ytimg.com/vi/6aVdwJKZSSc/hqdefault.jpg)](https://www.youtube.com/watch?v=6aVdwJKZSSc) |
| ----------------- | ---------------- |
| [Josh Cravey](https://www.youtube.com/watch?v=hqe-PjuE-K8) | [cbutters Tech](https://www.youtube.com/watch?v=6aVdwJKZSSc) |
## :gift: Advantages
1. Seamless and automatic GPU switching
2. All performance modes can be fully customized with power limits and fan curves
@@ -42,7 +50,7 @@ Small and lightweight Armoury Crate alternative for Asus laptops offering almost
14. Asus Mice settings
15. Mini-led multi-zone switch
### :gear: Automatic switching when on battery or plugged in
### :gear: Automation
- 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)
@@ -74,291 +82,75 @@ Each BIOS mode is paired with matching Windows Power Mode. You can adjust this s
![GPU Modes](https://github.com/seerge/g-helper/assets/5920850/65c6bdd5-728c-4965-b544-fcf5a85ed6a2)
### :mouse: Asus Mouse and other peripherals support
[Currently supported models](https://github.com/seerge/g-helper/discussions/900)
- ROG Harpe Ace Aim Lab Edition
- ROG Keris Wireless
- ROG Chakram X (P708)
- ROG Strix III Gladius III Aimpoint Wireless (P711)
- ROG Chakram Core (P511)
- ROG Gladius II and Gladius II Origin (P502 and P504)
- ROG Gladius III
- ROG Gladius III Wireless
- ROG Harpe Ace Aim Lab Edition
- ROG Keris Wireless
- ROG Strix Carry (P508)
- ROG Strix III Gladius III Aimpoint Wireless (P711)
- ROG Strix Impact III (P518)
- ROG Spatha
- ROG Strix Impact II Wireless
- TUF Gaming M4 Wireless (P306)
- TUF Gaming M3
- TUF Gaming M3 Gen II
Huge thanks to [@IceStormNG](https://github.com/IceStormNG) 👑 for contribution and research (!).
## :question: FAQ
### ⌨️ Keybindings
#### 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``
- ``Fn + F5 / Fn + Shift + F5`` - Toggle Performance Modes forwards / backwards
- ``Ctrl + Shift + F5 / Ctrl + Shift + Alt + F5`` - Toggle Performance Modes forwards / backwards
- ``Ctrl + Shift + F12`` - Open G-Helper window
- ``Ctrl + M1 / M2`` - Screen brightness Down / Up
- ``Shift + M1 / M2`` - Backlight brightness Down / Up
- ``Fn + C`` - Fn-Lock
- ``Fn + Shift + F7 / F8`` - Matrix brightness Down / Up
- ``Fn + Shift + F7 / F8`` - Screenpad brightness Down / Up
- ``Ctrl + Shift + F20`` - Mute Microphone
- ``Ctrl + Shift + Alt + F14`` - Eco GPU Mode
- ``Ctrl + Shift + Alt + F15`` - Standard GPU Mode
- ``Ctrl + Shift + Alt + F16`` - Silent
- ``Ctrl + Shift + Alt + F17`` - Balanced
- ``Ctrl + Shift + Alt + F18`` - Turbo
- ``Ctrl + Shift + Alt + F19`` - Custom 1 (if exists)
- ``Ctrl + Shift + Alt + F20`` - Custom 2 (if exists)
- [Custom keybindings / hotkeys](https://github.com/seerge/g-helper/wiki/Power-user-settings#custom-hotkey-actions)
#### 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
#### 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 firmware / BIOS controls them in real-time. Armoury also doesn't control fans in real time anyhow.
What G-helper can do - is (optionally) set a custom fan profile to the current performance mode consisting of 8 pairs of temperature + fan speed % via the same endpoint Armoury seems to use. How it will be interpreted - is still up to the firmware.
#### 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 the 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.
#### 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.
#### 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.
#### Can I use the 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.
#### How do I set Mute Microphone to M3?
If you have the Asus Optimization Service running, it's controlled by that service (therefore G-helper doesn't interfere and doesn't touch this function). Alternatively you can stop that service - and you can bind M3 to anything you want.
#### How do I set different "Visual styles"?
Personally, I'm not a big fan of them, as they make colors very inaccurate. But if you want so - you can adjust display colors using either Nvidia Control panel or AMD Adrenaline (appropriate display sections). If you really want you can also use [own ASUS utility from MS Store](https://apps.microsoft.com/store/detail/gamevisual/9P4K1LFTXSH8?hl=nl-nl&gl=nl&rtc=1)
#### 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. (*)
#### How to Undervolt GPU
Due to the way the Core Clock offset works for the 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 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?
G-helper is a single exe, and it doesn't install anything in the system. To remove it - you can simply delete exe :) If you have applied any custom fan profiles or PPTs - before removing I would recommend selecting your
favorite performance mode (for example balanced) and clicking "Factory defaults" under Fans + Power.
#### Can I undervolt my CPU ?
Currently you can undervolt AMD CPUs. If your model supports that - you will see an undervolting slider under ``Fans+Power -> Advanced``. If you don't see a slider there, it means your CPU doesn't support undervolting. Full list of models that support that [can be found here](https://github.com/seerge/g-helper/discussions/736)
#### 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 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)
#### What is G-helper ?
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.
-----------------------------
## :euro: [Support Project](https://www.paypal.com/donate/?hosted_button_id=4HMSHS4EBQWTA)
------------------
#### If you like the app you can make a Donation
| [Paypal in EUR](https://www.paypal.com/donate/?hosted_button_id=4HMSHS4EBQWTA) | [Paypal in USD](https://www.paypal.com/donate/?hosted_button_id=SRM6QUX6ACXDY) |
| ------------------------------------------ | ----------------------------------------------- |
| [![QR Code](https://user-images.githubusercontent.com/5920850/233658717-0441494d-fede-4a2c-b4f2-4b16a184a69a.png)](https://www.paypal.com/donate/?hosted_button_id=4HMSHS4EBQWTA) | [![QR Code](https://github-production-user-asset-6210df.s3.amazonaws.com/5920850/239492811-b487e89a-3df6-42ea-bdb8-24c455ab2310.png)](https://www.paypal.com/donate/?hosted_button_id=SRM6QUX6ACXDY) |
----------------
### How to run
1. Download [**latest release**](https://github.com/seerge/g-helper/releases/latest/download/GHelper.zip)
2. Unzip to a folder of your choice _(don't run exe from zip directly, as windows will put it into temp folder and delete after)_
3. Run **GHelper.exe**
### Requirements (mandatory)
- [Microsoft .NET7](https://dotnet.microsoft.com/en-us/download). Most probably you already have it. Otherwise [download it](https://dotnet.microsoft.com/en-us/download/dotnet/thank-you/sdk-7.0.202-windows-x64-installer) from the official website.
- [Asus System Control Interface v3+](https://dlcdnets.asus.com/pub/ASUS/nb/Image/CustomComponent/ASUSSystemControlInterfaceV3/ASUSSystemControlInterfaceV3.exe). This "driver" from asus should be installed automatically by windows update or along other asus apps. If it's not the case for some reason - you can download and install it manually.
### Recommendations (optional)
- 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.
- You can stop / disable unnecessary services: Go to **Extra** in the app, and press "Stop" in Asus Services section (former **[debloat.bat](https://raw.githubusercontent.com/seerge/g-helper/main/debloat.bat)**). To start / enable services back - click "Start" instead (former **[bloat.bat](https://raw.githubusercontent.com/seerge/g-helper/main/bloat.bat)**)
- It is **strongly recommended** to run app with windows default "balanced" power plan
![Screenshot 2023-06-09 153453](https://github.com/seerge/g-helper/assets/5920850/d1d05c53-a0bd-4207-b23a-244653f3e7df)
-------------------------------
## Notice for G14 2023 users who complain about not being able to set Eco mode
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
### 🔖 Important Notice
GENERAL NOTE: "Power user" settings require editing config located at ``%AppData%\GHelper\config.json``.
G-Helper is **NOT** an operating system, firmware, or driver. It **DOES NOT** "run" your hardware in real-time anyhow.
- Quit G-Helper
- Make your changes / additions co ``config.json``
- Start G-Helper again
It's an app that lets you select one of the predefined operating modes created by manufacturer (and stored in BIOS) and optionally(!) set some settings that already exist on your device same as Armoury Crate can. It does it by using the Asus System Control Interface "driver" that Armoury uses for it.
_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._
If you use equivalent mode/settings as in Armoury Crate - the performance or the behavior of your device won't be different.
### Manual app language setting
The role of G-Helper for your laptop is similar to the role of a remote control for your TV.
By default the app will use your windows language setting. But you can set language manually (if it supported of course)
```
"language" : "en",
```
(by replacing "en" with language of your choice)
### Custom windows power plans with each mode
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)``
Example (for default windows "balanced" power plan):
```
"scheme_0": "381b4222-f694-41f0-9685-ff5bb260df2e",
"scheme_1": "381b4222-f694-41f0-9685-ff5bb260df2e",
"scheme_2": "381b4222-f694-41f0-9685-ff5bb260df2e",
```
### Alternative Activation for XG Mobile 6850XT
If you experience a situation when your XG Mobile doesn't work on full power when Activated. It's possible it needs an "alternative" command to get activated.
To turn it on, add following line to config :
```
"xgm_special" : 1,
```
### Override UI theme
By default the app would set the UI theme from the "app" theme in Windows setting. You can override it to specific theme, or general windows theme
```
"ui_mode" : "dark",
"ui_mode" : "light",
"ui_mode" : "windows",
```
### Skip keyboard Aura initialisation on startup
By default the app would set the last remembered RGB mode for the keyboard on each launch. To disable it completely
```
"skip_aura" : 1,
````
### Disable OSD
Disable app's OSD (for performance modes, keyboard backlight, etc.)
```
"disable_osd": 1,
```
### Disable "Tablet mode" on X13/X16
To disable automatic touchpad toggling when laptop enters / leaves tablet mode
```
"disable_tablet": 1,
```
### Extra Keybindings
- ``Ctrl + Shift + F5`` / ``Ctrl + Shift + Alt + F5`` - Toggle Performance Modes
- ``Ctrl + Shift + F12`` - Open G-Helper window
- ``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,
```
### Toggle Performance Mode or Toggle App Window key binding
To change binding for Toggle Performance Modes forward / backward to ``Ctrl + Shift + KEY`` / ``Ctrl + Shift + Alt + KEY``
```
"keybind_profile": 116,
```
To change binding for Toggle App Window to ``Ctrl + Shift + KEY``
```
"keybind_app": 123,
```
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 the 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 or key-combination - put appropriate keycode(s) into the "action" field separated by space.
For example ``0x2C`` for ``Print Screen`` or ``0x11 0xA0 0x31`` for ``Ctrl+Shift+1``
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 and 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
- [UXTU](https://github.com/JamesCJ60/Universal-x86-Tuning-Utility) for undervolting using Ryzen System Management Unit
- [AsusCtl](https://gitlab.com/asus-linux/asusctl) for inspiration and some reverse engineering
**Disclaimers**
### 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” 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.

Some files were not shown because too many files have changed in this diff Show More