Using RacingWheels and other kind of devices in Windows.Gaming.Input

Now that UWP (Universal Windows Platform) is out (and apparently the way to go for video games), a decent Input API was more than needed, to be able to use controllers like racing wheels. And that API is Windows.Gaming.Input. I already talked about this topic last month, but no matter how hard I tried to make my Logitech G27 be recognized by the API, it simply didn't work. And it was hard to do something...

Quiero trabajar haciendo videojuegos ¿Qué tengo que hacer?

Hace algún tiempo, un buen amigo me pidió si podía asesorar a una alumna suya, que quería orientar su carrera profesional hacia el sector de la creación de Videojuegos.  Más concretamente, le gustaría trabajar desarrollando software (ingeniería) en alguno de los estudios realmente grandes de la industria (casi siempre situados en el extranjero).  Dado que es una industria bastante...

Steering Wheel Support in Forza Motorsport 6: Apex (and any other UWP application)

Since Turn10 released the Forza Motorsport 6: Apex demo, there has been quite a lot of noise, rumors, and opinions about the lack of support for steering wheels like Logitech G27, G29, Fanatec, and so on. Sites like this or even the official Forza forums have tough debates about the issue. Some...

Cannot find type System.MarshalByRefObject error in UWP app

Playing and learning with UWPs today, I found a strange error when compiling with VS 2015: Xaml Internal Error error WMC9999: Cannot find type System.MarshalByRefObject It's a bit misleading, but one can easily see that it's related to DLL references. After dealing with it for a while, I realized some of my Nuget packages were not up to date. Updating them fixed the issue. More precisely,...

DirectInput, XInput, Windows.Gaming.Input, y ahora qué? Forza Motor Sport 6

Desde que supe que Forza Motorsport 6 iba a ser una UWP (app universal), y por tanto iba a tener una versión Windows 10, estaba muy expectante para ver qué pasaba con un tema muy concreto: DirectInput.  Microsoft lleva años dando bandazos con determinadas tecnologías de juegos (todos recordamos...

Advanced text replacements in Visual Studio using RegEx

This is just a quick tip about making advanced text replaments in Visual Studio. You are probably used to the "Replace in Files" tool accessible through the Ctrl+Shift+H shortcut (see below). As you already know, you can make text replacements in multiple files, entire solutions, etc. Using Regular...

C# Intellisense making wrong suggestions inside foreach statements

There’s a bug in Visual Studio that has been annoying me for quite a long time: sometimes, Intellisense doesn’t work well inside “foreach” statements in C#. It makes suggestions, but the wrong ones. For example, if I start writing “foreach (System.Xm….)” with the intention to write “System.Xml.XmlNode”, Intellisense...