Terraria v1.4.4.9
Terraria source code documentation
All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Events Macros

◆ CapsLock

bool System.ConsolePal.CapsLock
staticget

Definition at line 166 of file ConsolePal.cs.

167 {
168 get
169 {
170 try
171 {
172 short keyState = global::Interop.User32.GetKeyState(20);
173 return (keyState & 1) == 1;
174 }
175 catch (Exception)
176 {
177 throw new PlatformNotSupportedException();
178 }
179 }
180 }