C# – XBox 360 Controller library with a sample application

Created an easy to use XBox 360 Controller library in C# (with a sample application) using the SharpDX.XInput managed .NET wrapper of the DirectX API.

 https://github.com/okmer/XBoxController

Screenshot of the sample application.
Screenshot of the sample application.

A BUG in SharpDX.XInput ci-ci217, resulting in issues with the  left Thumb Stick, Left Trigger, and Right Trigger! Please stick to SharpDX.XInput v4.1.0-ci184 for now.

using System;

using Com.Okmer.GameController;
 
namespace XBoxSampleConsole
{
    class Program
    {
        static void Main(string[] args)
        {
            XBoxController controller = new XBoxController();

            //Connection
            controller.Connection.StateChanged += (s, e) => Console.WriteLine($"Connection state: {e.State}");
 
            //Battery
            controller.Battery.LevelChanged += (s, e) => Console.WriteLine($"Battery level: {e.Level}");
 
            //Buttons A, B
            controller.A.StateChanged += (s, e) => Console.WriteLine($"A state: {e.State}");
            controller.B.StateChanged += (s, e) => Console.WriteLine($"B state: {e.State}");
            
            //Buttons D-Pad Up, Down, Left, Right
            controller.Up.StateChanged += (s, e) => Console.WriteLine($"Up state: {e.State}");
            controller.Down.StateChanged += (s, e) => Console.WriteLine($"Down state: {e.State}");

            //Thumb Positions Left, Right
            controller.LeftThumb.PositionsChanged += (s, e) => Console.WriteLine($"Left thumb X: {e.X}, Y: {e.Y}");
            controller.RightThumb.PositionsChanged += (s, e) => Console.WriteLine($"Right thumb X: {e.X}, Y: {e.Y}");
 
            //Rumble at the speed of the trigger position
            controller.LeftTrigger.PositionChanged += (s, e) => controller.LeftRumble.Speed = e.Position;
            controller.RightTrigger.PositionChanged += (s, e) => controller.RightRumble.Speed = e.Position;
 
            //Wait on ENTER to exit...
            Console.ReadLine();
        }
    }
}

Allseas – Innovation opens beers

Toying with an industrial robot at the office 😉

R&D Eindhoven (a.k.a. Inspection & Robotics) opens the Friday “borrel” beers with their new Fanuc M-710iC/45M Robot in combination with a Cognex In-Sight 2000 Vision Sensor.

R&D Eindhoven is part of the Innovation Department of Allseas Engineering B.V.

Allseas – Promoted to Unit Head Innovations

Got promoted to Unit Head Innovations (managing the Eindhoven office) at the Innovations Department of Allseas Engineering B.V. 🙂

Allseas Logo

The Swiss-based Allseas Group is a global leader in offshore pipeline installation, heavy lift and subsea construction. We employ over 2500 people worldwide and operate a versatile fleet of specialised heavy-lift, pipelay and support vessels, designed and developed in-house.

Around the world in 90 days

Traveling around the world in 90 days with my pregnant wife 🙂 See you later alligator!

AMS-LHR, LHR-YVR, YVR-LAX, LAX-HNL, HNL-NRT, NRT-TPE, TPE-HKG, HKG-PNH, REP-KUL, KUL-SYD, SYD-CNS, ASP-CNS, CNS-HKG, HKG-AMS
AMS-LHR, LHR-YVR, YVR-LAX, LAX-HNL, HNL-NRT, NRT-TPE, TPE-HKG, HKG-PNH, REP-KUL, KUL-SYD, SYD-CNS, ASP-CNS, CNS-HKG, HKG-AMS

Canada, Hawaii, Japan, Taiwan, Cambodia, Malaysia, and Australia…

AMS LHR 258° (W) 256° (W) 371 km
LHR YVR 324° (NW) 324° (NW) 7,601 km
YVR LAX 165° (S) 149° (SE) 1,739 km
LAX HNL 261° (W) 249° (W) 4,113 km
HNL NRT 299° (NW) 290° (W) 6,146 km
NRT TPE 242° (SW) 250° (W) 2,182 km
TPE HKG 249° (W) 254° (W) 807 km
HKG PNH 220° (SW) 223° (SW) 1,533 km
REP KUL 191° (S) 192° (S) 1,202 km
KUL SYD 133° (SE) 133° (SE) 6,579 km
SYD CNS 343° (N) 330° (NW) 1,966 km
ASP CNS 060° (NE) 056° (NE) 1,454 km
CNS HKG 320° (NW) 314° (NW) 5,553 km
HKG AMS 324° (NW) 327° (NW) 9,290 km

Total: 50,537 km

Duck Hunt VR (for the HTC Vive)

My first little Unity 3D Virtual Reality project, inspired by my old friend the Nintendo Entertainment System. Please keep in mind the I have never used Unity 3D before, so this is my first sandbox application…

Download link to DuckHuntVR Alpha 04: http://tinyurl.com/hb3u42x

This Alpha 04 release incorporated a lot of used feedback from the Vive subreddit: https://www.reddit.com/r/Vive/

In particular the feedback gathered during this live coding session: https://www.reddit.com/r/Vive/comments/4pbx4x/duck_hunt_vr_for_the_htc_vive_alpha_03_this_is_a/

Campus Party Europe in The Netherlands

Elske and I spend two full days and one night at the Campus Party in the Jaarbeurs Utrecht. I even managed to get on the stage to give a little talk about: How to start with Virtual Reality game development 🙂

Overview of the stage and work area.
Me doing an unofficial talk about starting with virtual reality game development.
2000 tents, a little refugees camp for nerds.