V1 configuration mod

Talk about anything concerning the source code.
Post Reply
dc740
Posts: 4
Joined: Sat Sep 17, 2011 12:50 am

V1 configuration mod

Post 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:
Last edited by dc740 on Sat Sep 17, 2011 5:05 pm, edited 2 times in total.
cldfusion
Posts: 68
Joined: Fri Jul 08, 2011 4:02 pm

Re: V1 configuration mod

Post by cldfusion »

Nice mod! =)
User avatar
McKack
Posts: 359
Joined: Thu Jul 07, 2011 7:01 pm
Location: Norway
Contact:

Re: V1 configuration mod

Post 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 :)
My Config Repository | PSN: McKack - Steam: McKack - XBL: Ozukaki | Config Post Template
dc740
Posts: 4
Joined: Sat Sep 17, 2011 12:50 am

Re: V1 configuration mod

Post 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
User avatar
McKack
Posts: 359
Joined: Thu Jul 07, 2011 7:01 pm
Location: Norway
Contact:

Re: V1 configuration mod

Post 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 ;)
My Config Repository | PSN: McKack - Steam: McKack - XBL: Ozukaki | Config Post Template
User avatar
Matlo
Posts: 5768
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: V1 configuration mod

Post by Matlo »

Nice mod :)

I will add it in the GIMX svn repository asap.
GIMX creator
dc740
Posts: 4
Joined: Sat Sep 17, 2011 12:50 am

Re: V1 configuration mod

Post 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.
FirebirdTA01
Posts: 1
Joined: Tue Aug 14, 2012 1:42 am

Re: V1 configuration mod

Post by FirebirdTA01 »

The multiupload source download isnt working... Could you please re-up the source?
dc740
Posts: 4
Joined: Sat Sep 17, 2011 12:50 am

Re: V1 configuration mod

Post 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
Post Reply