Page 1 of 1

V1 configuration mod

Posted: Sat Sep 17, 2011 1:04 am
by dc740
Hello, I made some modifications to the v1 GIMX, I just wanted to use the teensy++ 2.0 without my PC turned on when I played some games, but the configuration options were not enough...

So I made this mod for the Teensy++ 2.0 board. You can add up to 7 different mouse+keyboard configurations and change them at runtime. You could even add more configurations if you want to just by adding more leds and changing a few lines of code.


Ok, now lets start with the mod:
Add three leds with their respective resistances to pins C5, C6 and C7.
(C5-> resistance -> + led - -> ground)
(C6-> resistance -> + led - -> ground)
(C7-> resistance -> + led - -> ground)

Add a push button to C4

Now open Gamecfg.c and add up to 7 different configurations, with different mouse sensitivity and all you may like. Copy the default config, change the name and add your new config to the config array like this: configurations[] = {default_config,config2,config3,config4};

Compile the code, and program it.

Just press the button to switch configurations at runtime :)


I hope someone else finds this useful.

Source code download:
http://www.multiupload.com/0U9GZ1NLAL
(no binaries attached. you have to compile it.)

Heres is a video showing how it works:

Re: V1 configuration mod

Posted: Sat Sep 17, 2011 3:20 am
by cldfusion
Nice mod! =)

Re: V1 configuration mod

Posted: Sat Sep 17, 2011 1:58 pm
by McKack
Coolio. But I'm a bit confused so let me throw these neatly ordered questions at you.

1) Cannot be done with Teensy 2.0? (non++)
2) It's for the DIY USB to PS3 adapter, or Teensy on its own?
3) It is a "PC-less" mod, or it was supposed to be?
4) If "PC-less", how is the mouse and keyboard connected?
5) Have any pictures of it?
6) Planning on making any schematics?

I can barely solder but I'm tempted to give it a go :)

Re: V1 configuration mod

Posted: Sat Sep 17, 2011 3:48 pm
by dc740
1) Cannot be done with Teensy 2.0? (non++)
It can be done with any teensy, I just used a teensy++ 2.0, and the led ports are configured to it. I really didn't thought about the teensy2.0 when I picked the ports, but of course! All you need to do is change C4 C5 C6 and C7 ports to something the Teensy 2.0 has. :) So the answer is yes, you can make it run on Teensy 2.0 very easily and no need to change to much code.

2) It's for the DIY USB to PS3 adapter, or Teensy on its own?
It's a Teensy PS2 Mouse+ PS2 Keyboard to USB tool. Most of the code is in the DIYPS3Controller google page. It's inside the ps2 folder

3) It is a "PC-less" mod, or it was supposed to be?
Yes, it IS a PC-less version, it's the GIMX V1 that Matlo released at the beggining, I was reading his blog since V1 :) and V2 switched directions, I like what he has done with GIMX V2, but I prefer to use the PC-less version (V1)

4) If "PC-less", how is the mouse and keyboard connected?
You have to use two PS/2 ports, more details on question (6). I know most keyboards and mouse use USB these days. But I really wanted to have the PC-less version.

5) Have any pictures of it?
No, but that's a great idea. I definitely should.

EDIT: I uploaded a video showing it working: http://www.youtube.com/watch?v=ZcynJIz9iMA

6) Planning on making any schematics?
The schematics are inside the source, I added a README detailing how to put the push buttons (to select the config when you are playing) and the leds

Re: V1 configuration mod

Posted: Sat Sep 17, 2011 7:27 pm
by McKack
Ah, yes, I noticed he had been working on something similar before but I didn't look much into it.
Very informative answers, thanks ;)

Re: V1 configuration mod

Posted: Mon Sep 19, 2011 6:48 am
by Matlo
Nice mod :)

I will add it in the GIMX svn repository asap.

Re: V1 configuration mod

Posted: Mon Sep 19, 2011 12:13 pm
by dc740
That's great! :D I would only change led.h before doing it, to make it work on Teensy 2.0 boards too. However, I don't have one to test it.

Re: V1 configuration mod

Posted: Tue Aug 14, 2012 1:44 am
by FirebirdTA01
The multiupload source download isnt working... Could you please re-up the source?

Re: V1 configuration mod

Posted: Mon Oct 22, 2012 11:24 pm
by dc740
I lost the source when my hard drive died, but Matlo said he was going to upload it to the svn ASAP, which means he must have it.

EDIT:

I found it! Here is a new download link
http://www.multiupload.nl/5ATPGHV95J

I sent a backup to my email a long time ago :D