mirror of
https://github.com/jmarshall23/DoomRTX.git
synced 2026-08-18 03:35:07 +02:00
New editor tabs.
This commit is contained in:
@@ -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);
|
||||
Reference in New Issue
Block a user