XIM Community

Tut: Microcontrollers as a HID device(s) on XIM adapters.  (Read 62076 times)

Offline roads

  • MVP
  • *
  • Posts: 19727
    • View Profile
Re: Tut: Teensy 3.0 as a HID device on XIM3 and Edge (and PC)
« Reply #30 on: 04:28 AM - 01/22/13 »
btw on the Mac the Teensy should be usable with Controllermate, it is showing up there. Not that I have much use for it there but who knows what Apple might do in the future concerning Gaming.



Crusade atm: none

Offline W11cE

  • MVP
  • *
  • Posts: 1525
    • View Profile
Re: Tut: Teensy 3.0 as a HID device on XIM3 and Edge (and PC)
« Reply #31 on: 04:43 AM - 01/22/13 »
Ok, good. Just realized that many pc games support xbox 360 controllers, but not regular joystick controllers. So this needs directinput to xinput app. Do you have a good one in your mind ?

Offline roads

  • MVP
  • *
  • Posts: 19727
    • View Profile
Re: Tut: Teensy 3.0 as a HID device on XIM3 and Edge (and PC)
« Reply #32 on: 05:03 AM - 01/22/13 »
Cant it just mimic an Xbox controller as it mimics the Joystick?
Crusade atm: none

Offline W11cE

  • MVP
  • *
  • Posts: 1525
    • View Profile
Re: Tut: Teensy 3.0 as a HID device on XIM3 and Edge (and PC)
« Reply #33 on: 05:06 AM - 01/22/13 »
Dont think so. It has that extra chip for security, remember ?

Offline roads

  • MVP
  • *
  • Posts: 19727
    • View Profile
Re: Tut: Teensy 3.0 as a HID device on XIM3 and Edge (and PC)
« Reply #34 on: 05:18 AM - 01/22/13 »
hmm yeah right. So for PC my N52te mod stays the way to go? Unbelievable but the games do not support other joysticks at all..
Crusade atm: none

Offline W11cE

  • MVP
  • *
  • Posts: 1525
    • View Profile
Re: Tut: Teensy 3.0 as a HID device on XIM3 and Edge (and PC)
« Reply #35 on: 05:25 AM - 01/22/13 »
Found x360ce. It will make this step really easy. Dunno why games dont support Dinput. And 360 controller support is also barely there in some games. Just noticed that in borderlands 2 there are no settings menu for 360 controller, but it still works.

Offline roads

  • MVP
  • *
  • Posts: 19727
    • View Profile
Re: Tut: Teensy 3.0 as a HID device on XIM3 and Edge (and PC)
« Reply #36 on: 05:32 AM - 01/22/13 »
Maybe the next gen Controllers will talk Dinput on that Win8 surface.
Crusade atm: none

Offline W11cE

  • MVP
  • *
  • Posts: 1525
    • View Profile
Re: Tut: Teensy 3.0 as a HID device on XIM3 and Edge (and PC)
« Reply #37 on: 05:36 AM - 01/22/13 »
Lol no. Xinput was made for xbox 360 controllers. Dinput is old and not good for gamepads.

"While DirectInput forms a part of the DirectX library, it has not been significantly revised since DirectX 8 (20012002). Microsoft recommends that new applications make use of the Windows message loop for keyboard and mouse input instead of DirectInput (as indicated in the Meltdown 2005 slideshow[1]), and to use XInput instead of DirectInput for Xbox 360 controllers."

That was in wikipedia. So yeah, old...

Offline roads

  • MVP
  • *
  • Posts: 19727
    • View Profile
Re: Tut: Teensy 3.0 as a HID device on XIM3 and Edge (and PC)
« Reply #38 on: 05:42 AM - 01/22/13 »
Ah ok so why is the Teensy talking Xinput? Maybe a feature request for the Dev?
Crusade atm: none

Offline roads

  • MVP
  • *
  • Posts: 19727
    • View Profile
Re: Tut: Teensy 3.0 as a HID device on XIM3 and Edge (and PC)
« Reply #39 on: 02:16 PM - 01/24/13 »


Crusade atm: none

Offline roads

  • MVP
  • *
  • Posts: 19727
    • View Profile
Re: Tut: Teensy 3.0 as a HID device on XIM3 and Edge (and PC)
« Reply #40 on: 02:29 AM - 01/25/13 »
OK so with the Teensy, a Joystick and a USB Hub you can now just attach a Joystick to just any device you like for movement as WASD replacement. For Windows games you use X360ce to translate the commands.

W11ce we still need an easy DIY small internal USB hub or a small and cheap one we can strip and use? You have any solution for this?

Joystick only is this, 6 wires to solder 6y old can do. Flash the Teensy with the software, analog stick on XIM.

« Last Edit: 02:36 AM - 01/25/13 by roads »
Crusade atm: none

Offline THE-MARAVINGY

  • MVP
  • *
  • Posts: 763
    • View Profile
  • PSN ID: ApocalypticWesal
Re: Tut: Teensy 3.0 as a HID device on XIM3 and Edge (and PC)
« Reply #41 on: 06:39 AM - 01/26/13 »
Cool liking it guys.

Offline W11cE

  • MVP
  • *
  • Posts: 1525
    • View Profile
Re: Tut: Teensy 3.0 as a HID device on XIM3 and Edge (and PC)
« Reply #42 on: 07:12 AM - 01/26/13 »
Cool liking it guys.
Thanks. Have you ordered your teensy ?

Offline THE-MARAVINGY

  • MVP
  • *
  • Posts: 763
    • View Profile
  • PSN ID: ApocalypticWesal
Re: Tut: Teensy 3.0 as a HID device on XIM3 and Edge (and PC)
« Reply #43 on: 05:03 AM - 01/27/13 »
Cool liking it guys.
Thanks. Have you ordered your teensy ?

Note yet I am watching and reading your posts obviously you guys are way more intelligent than i am i have no programing skills what so ever I come from the era of computers that was the ZX81.
So right now just watching and trying to learn what you are doing.

Offline roads

  • MVP
  • *
  • Posts: 19727
    • View Profile
Re: Tut: Teensy 3.0 as a HID device on XIM3 and Edge (and PC)
« Reply #44 on: 07:48 AM - 01/27/13 »
Na Mara I cant program what W11ce does but building this is super easy. Its perfect for the XIM, you just buy a Teensy 3.0 an analoge Joystick, a small USB Hub you strip to the platina and you can remove the controller from my mod. Its perfect for XIM but not PC. PC you need that X360ce software that totally does not work for me, tried everything. It works for W11ce though. Also on PC you need to hope X360ce supports the game so its like on the XIM waiting for STs if you have bad luck. So for PC I sadly dont see this as replacement for my N52te mod. The Teensy would need to speak Xinput which it cant.
Crusade atm: none