I found a book about DirectX 9.0 programming but the code is written in C# instead of C++. What are the difference between C++ and C#? Any books on DirectX programming using C++? I need to write code for getting my Logitech G27 wheel/pedal set to work in Unreal Engine 4.0. I tried XPadder but it doesn’t have enough buttons.
C# has a lot of similarity to C++, but some major differences like memory management. This short article covers the main differences.
Why do you need to write DirectX code? Have you looked at the SDK for the G27 (it should have been installed in the G27 Program folder?
I looked it the SDK for the G27 but I don’t know how to add the SDK code to UE4 games. I tried to compile the sample programs included in the SDK but I got messages saying “fatal error RC1015: cannot open include file ‘afxres.h’. from this code”
I found out that RawInput should be used to get input from game controllers. I found a sample program and code from Using the Raw Input API to Process Joystick Input - CodeProject that gets input from game controllers. Any suggestions?
jeffmorris, you have a PM.