Skip to content

Commit 731fd57

Browse files
authored
Add support for ASUS TUF VG27AQ (#202)
* refactor(languages): add malay, thai and arabic * feat(aus2722): add support for ASUS TUF VG27AQ
1 parent 8e55600 commit 731fd57

File tree

2 files changed

+153
-0
lines changed

2 files changed

+153
-0
lines changed

db/monitor/AUS2722.xml

+129
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,129 @@
1+
<?xml version="1.0"?>
2+
<monitor name="ASUS TUF VG27AQ" init="standard">
3+
<caps add="(prot(monitor)type(lcd)model(VG27AQ)cmds(01 02 03 07 0C 4E F3 E3)vcp(02 04 05 08 10 12 14(05 06 08 0B) 16 18 1A 52 60( 11 12 0F) 62 87 8A 8D(01 02) AC AE B6 C0 C6 C8 C9 CC( 01 02 03 04 05 06 07 08 09 0A 0C 0D 11 12 14 1A 1E 1F 30 23 31) D6(01 04 05) DC(0B 11 03 12 13 0D 14) DF E2(00 01 02 03 04 05) E4(00 01) E6(00 01) E7(00 01) E9(00 01) EA(00 01) EB(00 01) EF(00 01 02 03) F0(00 01 02 03 04) ) mswhql(1)mccs_ver(2.2)asset_eep(32)mpu_ver(01))"/>
4+
<!-- NOTE: All the controls were tested via the DisplayPort port -->
5+
<controls>
6+
<!-- GAME VISUAL MENU -->
7+
<!-- Had to add DC(0B 11 03 12 13 0D 14) directly to the caps since it was not being detected -->
8+
<control id="preset_profile" type="list" address="0xdc">
9+
<value id="scenery" value="0x0B"/>
10+
<value id="racing" value="0x11"/>
11+
<value id="cinema" value="0x03"/>
12+
<value id="rts_rpg" value="0x12"/>
13+
<value id="fps" value="0x13"/>
14+
<value id="srgb" value="0x0D"/>
15+
<value id="moba" value="0x14"/>
16+
</control>
17+
18+
<!-- BLUE LIGHT FILTER MENU -->
19+
<control id="bluelightfilter" type="list" address="0xf0">
20+
<!-- For some reason it switches the preset_profile to racing whenever you select one of the values -->
21+
<value id="level-0" value="0"/>
22+
<value id="level-1" value="1"/>
23+
<value id="level-2" value="2"/>
24+
<value id="level-3" value="3"/>
25+
<value id="level-4" value="4"/>
26+
</control>
27+
28+
<!-- COLOR MENU -->
29+
<!-- BRIGHTNESS managed by VESA -->
30+
<!-- CONTRAST managed by VESA -->
31+
<control id="saturation" address="0x8a"/>
32+
<control id="colorpreset" type="list" address="0x14">
33+
<!-- Named Color Temperature in the OSD -->
34+
<value id="cool" value="0x08"/>
35+
<value id="normal" value="0x06"/>
36+
<value id="warm" value="0x05"/>
37+
<value id="custom" value="0x0b"/>
38+
</control>
39+
<!-- TODO: Skin Tone: could not find it since when I change it from the OSD no value changes -->
40+
41+
<!-- IMAGE MENU -->
42+
<!-- TODO: HDR: could not find it since when I change it from the OSD no value changes -->
43+
<!-- TODO: Over Clocking: could not find it since when I change it from the OSD no value changes -->
44+
<!-- SHARPNESS can have these values [0, 10, 20, 30, 40, 50, 60, 70, 80, 90, 100] -->
45+
<!-- Any value in-between these ranges will be automatically truncated to the nearest smallest value -->
46+
<control id="sharpness" type="list" address="0x87"/>
47+
<!-- TODO: VividPixel: could not find it since when I change it from the OSD no value changes -->
48+
<!-- AdaptativeSync/FreeSync is a read-only control -->
49+
<!-- TODO: ELMB SYNC: could not find it since when I change it from the OSD no value changes -->
50+
<control id="shadowboost" type="list" address="0xef">
51+
<value id="none" value="0"/>
52+
<value id="level-1" value="1"/>
53+
<value id="level-2" value="2"/>
54+
<value id="level-3" value="3"/>
55+
</control>
56+
57+
<!-- SOUND MENU -->
58+
<!-- AUDIO VOLUME managed by VESA -->
59+
<control id="audiospeakermute" type="list" address="0x8d">
60+
<value id="mute" value="1"/>
61+
<value id="unmute" value="2"/>
62+
</control>
63+
64+
<!-- INPUT SELECT MENU -->
65+
<control id="inputsource" type="list" address="0x60">
66+
<value id="hdmi1" value="0x11"/>
67+
<value id="hdmi2" value="0x12"/>
68+
<value id="dp" value="0x0f"/>
69+
</control>
70+
71+
<!-- SYSTEM MENU MENU -->
72+
<!-- TODO: GAMEVISUAL DEMO MODE -->
73+
<control id="ecomode" type="list" address="0xe7">
74+
<value id="off" value="0"/>
75+
<value id="on" value="1"/>
76+
</control>
77+
<!-- TODO: OSD SETUP / OSD TIMEOUT: could not find it since when I change it from the OSD no value changes -->
78+
<!-- TODO: OSD SETUP / DDC/CI: could not find it since the option is greyed out -->
79+
<!-- TODO: OSD SETUP / TRANSPARENCY: could not find it since when I change it from the OSD no value changes -->
80+
<control id="language" type="list" address="0xcc">
81+
<!-- Sorted by order in the menu -->
82+
<value id="english" value="2"/>
83+
<value id="french" value="3"/>
84+
<value id="german" value="4"/>
85+
<value id="spanish" value="10"/>
86+
<value id="italian" value="5"/>
87+
<value id="dutch" value="20"/>
88+
<value id="russian" value="9"/>
89+
<value id="polish" value="30"/>
90+
<value id="czech" value="18"/>
91+
<value id="serbocroatian" value="17"/>
92+
<value id="portuguese" value="8"/>
93+
<value id="turkish" value="12"/>
94+
<value id="chinese" value="13"/>
95+
<value id="chinese_tw" value="1"/>
96+
<value id="japanese" value="6"/>
97+
<value id="korean" value="7"/>
98+
<value id="arabic" value="48"/>
99+
<value id="thai" value="35"/>
100+
<value id="malay" value="49"/>
101+
</control>
102+
<control id="osd" type="list" address="0xe9">
103+
<!-- Shows up as Key Lock in the menu: when ON you cannot open the OSD menu until you turn it off -->
104+
<!-- Also mapped to 0xca, but values for that register are 1 and 2 respectively -->
105+
<value id="enable" value="0"/>
106+
<value id="disable" value="1"/>
107+
</control>
108+
<!-- Power Indicator is a read-only control -->
109+
110+
<!-- MISC CONTROLS -->
111+
<control id="dpms" type="list" address="0xd6">
112+
<value id="on" value="1"/>
113+
<value id="standby" value="4"/>
114+
<value id="off" value="5"/>
115+
</control>
116+
117+
<!-- READONLY CONTROLS
118+
<control id="powerled" type="list" address="0xea">
119+
<value id="off" value="0"/>
120+
<value id="on" value="1"/>
121+
</control>
122+
<control id="freesync" type="list" address="0xe6">
123+
<value id="off" value="0"/>
124+
<value id="on" value="1"/>
125+
</control>
126+
-->
127+
</controls>
128+
<include file="VESA"/>
129+
</monitor>

db/options.xml.in

+24
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,12 @@
1515
<value id="fps" name="FPS"/>
1616
<value id="rts" name="RTS"/>
1717
<value id="rpg" name="RPG"/>
18+
<value id="rts_rpg" name="RTS/RPG"/>
19+
<value id="scenery" name="Scenery"/>
20+
<value id="racing" name="Racing"/>
21+
<value id="cinema" name="Cinema"/>
22+
<value id="srgb" name="sRGB"/>
23+
<value id="moba" name="MOBA"/>
1824
</control>
1925
<control id="preset_moviemode" type="list" name="Movie Mode" refresh="all">
2026
<value id="off" name="Off"/>
@@ -66,6 +72,7 @@
6672
<value id="middle" name="Middle"/>
6773
<value id="low" name="Low"/>
6874
<value id="auto" name="Auto"/>
75+
<value id="on" name="On"/>
6976
<value id="off" name="Off"/>
7077
</control>
7178
<control id="fengine" type="list" name="f-Engine">
@@ -315,6 +322,20 @@
315322
</control>
316323
<!-- ACR0692 -->
317324
<control id="blackboost" type="value" name="Black Boost"/>
325+
<!-- AUS2722 -->
326+
<control id="bluelightfilter" type="list" name="Blue Light Filter" refresh="all">
327+
<value id="level-0" name="Level 0"/>
328+
<value id="level-1" name="Level 1"/>
329+
<value id="level-2" name="Level 2"/>
330+
<value id="level-3" name="Level 3"/>
331+
<value id="level-4" name="Level 4"/>
332+
</control>
333+
<control id="shadowboost" type="list" name="Shadow Boost" address="0xef">
334+
<value id="none" name="None" value="0"/>
335+
<value id="level-1" name="Level 1" value="1"/>
336+
<value id="level-2" name="Level 2" value="2"/>
337+
<value id="level-3" name="Level 3" value="3"/>
338+
</control>
318339
</subgroup>
319340
</group>
320341
<group name="Position and size">
@@ -544,6 +565,9 @@
544565
<value id="finnish" name="Suomalainen (Finnish)"/>
545566
<value id="turkish" name="Türk (Turkish)"/>
546567
<value id="brazilian" name="Português do Brasil (Brazilian Portuguese)"/>
568+
<value id="malay" name="Bahasa Melayu (Malay)"/>
569+
<value id="thai" name="ภาษาไทย (Thai)"/>
570+
<value id="arabic" name="العربية (Arabic)"/>
547571
</control>
548572
<!-- If "changed", read 0x52 register value to get address of the control changed using OSD menu -->
549573
<control id="newcontrolvalue" type="list" name="New Control Value" address="0x02">

0 commit comments

Comments
 (0)