We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dfd05ba commit 0a50ea5Copy full SHA for 0a50ea5
1 file changed
Program.cs
@@ -182,10 +182,17 @@ async Task ControlDevice() {
182
}
183
*/
184
185
- // if (baseAddresses.GeneralData.Mods.Equals(1) && baseAddresses.GeneralData.OsuStatus == OsuMemoryStatus.Playing) {
186
- // Console.WriteLine("nice try :3");
187
- //
188
- // }
+ if (baseAddresses.GeneralData.Mods.Equals(2048) && baseAddresses.GeneralData.OsuStatus == OsuMemoryStatus.Playing) {
+ try {
+ await device.VibrateAsync(0.5);
+ await Task.Delay(1000);
189
+ await device.VibrateAsync(0);
190
+ }
191
+ catch (Exception e) {
192
+ Console.WriteLine($"Problem vibrating: {e}");
193
194
+ await Task.Delay(100);
195
196
} else {
197
try {
198
if (!badGirlWarning) {
0 commit comments