New editor tabs.

This commit is contained in:
Justin Marshall
2026-05-14 18:37:41 -07:00
parent 16bd1baf35
commit 44f2e67078
18 changed files with 2775 additions and 62 deletions
+28
View File
@@ -0,0 +1,28 @@
#pragma once
#include <windows.h>
#include <dinput.h>
#ifndef DIRECTINPUT_VERSION
#define DIRECTINPUT_VERSION 0x0800
#endif
// Call this instead of DirectInput8Create.
HRESULT WINAPI IceDirectInput8Create(
HINSTANCE hinst,
DWORD dwVersion,
REFIID riidltf,
LPVOID* ppvOut,
LPUNKNOWN punkOuter
);
// Call from your main window proc on WM_INPUT.
bool IceDirectInputShim_HandleRawInput(LPARAM lParam);
// Optional: call when your hwnd changes/recreates.
bool IceDirectInputShim_RegisterRawInput(HWND hwnd);
// Optional shutdown helper.
void IceDirectInputShim_Shutdown();
void IceDI_ForceOverrideSkipCenter(bool shouldSkip);