Tagged: linux

Seeing other people can really help you solve problems

Spend all day writing
Code which fails. Meet up with friends.
Then you fix the bugs

Yes, I had spent pretty much all damn day trying to modify a program to map two separate joystick devices to one virtual device so that I could play a game. Just one game. The code was almost there but it wasn’t working properly – it was combining the devices, but the axes were barely reading. I was about to give it all up as a lost cause, and then I went to see a few friends. When I got back at 2:00 am I decided not to go to bed and instead to have another look at my code. And then the answer was staring me in the face. The joystick driver works now and I can play my game. It was literally a 5 minute fix, but I don’t think I would have even spotted it if I’d not have been around such great people.