Quantcast
Browsing all 19 articles
Browse latest View live

[MSF] FightStick (TeensyLC XINPUT Controller)

Introduction to the Project The idea for this project came up when discussing the release of Mortal Kombat X. The guys at Mechanical Squid Factory (our gaming group) decided they wanted to branch out...

View Article


[MSF] FightStick (TeensyLC XINPUT Controller) – 2

Dinput VS Xinput There is likely to be quite a few misconceptions and errors in this area of my understanding. I am not a game developer and actually do very minimal PC application development....

View Article


[MSF] FightStick (TeensyLC XINPUT Controller) – 3

The XBOX 360 Controller With the need for drivers, there was no way to roll my own solution. Asking everyone to put their 64-bit version of windows into test mode just to use this controller seemed a...

View Article

[MSF] FightStick (TeensyLC XINPUT Controller) – 4

Wiring up the TeensyLC Above is a crude drawing of the pin-out used for this fight stick. The board is based on active low inputs, so we switch them to ground. I used all three grounds available as...

View Article

[MSF] FightStick (TeensyLC XINPUT Controller) – 5

Adding Xinput to USB Menu This was where the project took an evil turn. It took all of 15 minutes to load up the joystick example and fill it with my own code. The complications came when trying to...

View Article


[MSF] FightStick (TeensyLC XINPUT Controller) – 6

Defining the XINPUT USB Device Teensyduino is set up to define USB devices through the usb_desc.h file. So we are going to want to add the following code to this file: #elif defined(USB_XINPUT) #define...

View Article

[MSF] FightStick (TeensyLC XINPUT Controller) – 7

Come on, show us the code already! Now that we have defined the device and prepared responses for any queries from the PC, the only two things we have left to do is the code for our inputs and the code...

View Article

[MSF] FightStick (TeensyLC XINPUT Controller) – 8

Wrapping it all up! We finally did it! We have created a custom USB device on the TeensyLC and allowed it to send the packets expected from a X360 controller. We even went as far as to allow it to...

View Article


XInput Library for Teensyduino

Recently Jeremy Williams from Tested! has been working on his very own controller.  This one emulated another classic arcade giant, the pinball machine.  Running into the same issues I experienced...

View Article


Image may be NSFW.
Clik here to view.

The XBOX 360 Controller

With the need for drivers, there was no way to roll my own solution. Asking everyone to put their 64-bit version of windows into test mode just to use this controller seemed a little insane. My only...

View Article

Image may be NSFW.
Clik here to view.

Wiring up the TeensyLC

Above is a crude drawing of the pin-out used for this fight stick. The board is based on active low inputs, so we switch them to ground. I used all three grounds available as thru-hole. I had to create...

View Article

The Code

Now that we have defined the device and prepared responses for any queries from the PC, the only two things we have left to do is the code for our inputs and the code for our LED patterns. We use two...

View Article

Wrapping it all up!

We finally did it! We have created a custom USB device on the TeensyLC and allowed it to send the packets expected from a X360 controller. We even went as far as to allow it to receive LED commands...

View Article


Image may be NSFW.
Clik here to view.

Introduction to the Project

The idea for this project came up when discussing the release of Mortal Kombat X. The guys at Mechanical Squid Factory (our gaming group) decided they wanted to branch out into the competitive fighting...

View Article

Image may be NSFW.
Clik here to view.

Dinput VS Xinput

There is likely to be quite a few misconceptions and errors in this area of my understanding. I am not a game developer and actually do very minimal PC application development. Originally games used a...

View Article


Image may be NSFW.
Clik here to view.

Defining the Xinput USB Device

Teensyduino is set up to define USB devices through the usb_desc.h file. So we arae going to want to add the following code to this file:#elif defined(USB_XINPUT) #define DEVICE_CLASS 0xFF #define...

View Article

Image may be NSFW.
Clik here to view.

Adding Xinput to USB Menu

This was where the project took an evil turn. It took all of 15 minutes to load up the joystick example and fill it with my own code. The complications came when trying to create a device not...

View Article


Creating an Xinput Library for Teensyduino

Recently Jeremy Williams from Tested! has been working on his very own controller. This one emulated another classic arcade giant, the pinball machine. Running into the same issues I experienced...

View Article

Python script to edit serial numbers in hex files.

INTRODUCTIONScripting is something that helps engineers of all types (software/test/electrical/etc). It truly can be done in just about any language you are familiar with, but I do feel that some...

View Article
Browsing all 19 articles
Browse latest View live