commit 1714792aacad5ef88104553dfc6643a6aa03bc9f Author: The Ghost of FOSS' Future <163201376+sneedgroup-holder@users.noreply.github.com> Date: Sat Sep 14 12:25:43 2024 -0500 Create sonic.button.cpp diff --git a/sonic.button.cpp b/sonic.button.cpp new file mode 100644 index 0000000..189d788 --- /dev/null +++ b/sonic.button.cpp @@ -0,0 +1,8 @@ +#include + +// hwnd = window handle of button provider. can be found at ButtonStatus.dll! 0x1070 +// msg = 0x8004 is WM_REDBUTTON +// waram = 0 = OnRedButtonReleased, 1 = OnRedButtonPressed, 2 = Detected?, 3 = +Removed? +// Param = unused +SendMessage ( (HWND) 0x1000b02c8, 0x8004, 2, 0);