I’m trying to get GlovePIE working with some analog joysticks on a gamepad.
How can I get the value to return to 63 after I move the joystick?
i.e. How can I get the knob to return to the middle position after I have moved it?
Some progress. If anybody cares. The knobs will now go to their max/min, but I can’t get them to return just quite to center. I think it’s because midi has 127 notes. Anyone know how to use a fraction in GlovePIE? If I add 63.5, the knobs all screwy. At 64 it’s off to the right just a little (0.09)
Just so you know, we do care, just sometimes people don’t have answers. If anything keep chronicling your progress and you might get to a point where someone does have an idea. And it’ll keep it toward the top for people who do know to help.
Sorry if I can off jerkish. I figure there are other broke DJ’s like me looking to mod controllers on the cheap. So I will keep posting my stuff. I know I make mere toys to some of the work that goes on here.
Here is a GlovePIE script for a 12 button gamepad. I used a Logitech Duel Action. The analog joysticks are quite good for controlling more than one FX at a time. The rest work best as buttons. Map them to your program as you see fit. I plan on modding two gamepads to make one big custom FX controller.
I am pretty good at some GP scripts. I have made 2 controllers on the cheap, so I know what you are going through. I have never did anything with analog joysticks but I am almost sure all it is just 2 potentiometers. Put together. Are there 6 pins?
Let me look at your script and I’ll try and come up with something.
The script was attached to my last post. I’m pretty sure that’s about as good as I can make it. I think I was having an error because I was writing the code in notepad then changing to CUE file. When I wrote the script in GlovePIE, it seemed to take. I think the knobs ending up off center is a Traktor thing, because when I used my BCD3000 I noticed the same behavior. Please take a look and give me any pointers. Yes, each joystick had two sets of 3 soldered connections.
Do you think I need to solder out these joysticks, OR can I just connect potentiometers to the proper spots, thereby closing that circuit? I would then hide the controller board with the joysticks still attached inside my enclosure. Then I wouldn’t have to use my poor desoldering skills, because these things look like a bitch to get out. There is also a switch underneath the joystick, but I’m sure I can close that with a new button easily. I like the joysticks, but think at the end of the day I prefer knobs.
Hm, what bento said might work for the centering issue. You may want to go on traktor and right click the knobs you are having issues with and select fine, I think that might help. One of my controllers can’t get exactly 50% either. Just 49 and 51 .
On you script it seems like you need to use maprange. Let me pull up glovepie first before I give you a definite answer.
I tried using maprange before, but it never worked just right. Trial and error gave the results I am using.
Bento: I think Moldover uses like a flight joystick no? I’m just playing around with PS3 type controllers with two analog joysticks. It is interesting using them on FX, but I think at the end of the day I prefer the control knobs have.
Any ideas about adding in a potentiometer w/o soldering out the joystick? Or will this just chain them together?
hi guys, do any of you have cheft’s ZIP archive with the .PIE config for the joystick, i made a JOYSTICK2MIDI controller and i’m having issues in Windows 7 … wanted to confrunt the GP codes … thanks
what this does in WIN7 x64 is … plays a piano sound when pressing diferent buttons on the “controller” … also .. trktor for example does not detect as midi input wher learn function is on … ableton also … in XP worked OK … any advices ? pointers ?
try changing the midi.channel1 to midi2.channel1, midi3.channel1, … ect
I have win7 64 also and it seems in the gui tab i select midi device but code is always just midi. If in the pull down tab your midi device is 3rd down then try midi3.channel1. Problem is I can not find how to set default midi device in windows.
search with Google for - “Vista Default Midi” - the option to chose default midi was removed when Vista appeared - someone created a lil’ app to let you chose default midi .
SAME thing extraclassic … … so this only means that the code does the same thing but writen in another way … and implicitly i think overal the code works … picks-up de signal sent by the joystick and converts it to MIDI signal … the weird thing is that in Windows XP when pressing the joystick/“controller” - there was NO sound in a desktop environment and while in Traktor OR Ableton midi “lights” were signaling MIDI input … also when assigning a button to a MIDI signal everything went perfect …
NOW in Windows 7 … i hear the classic piano sound - on notes even - everyjoystick/“controller” button is a piano note … the thing is thow that no MIDI software can pick-up MIDI signal … nothing … absolutelly nothing … piano sound everytime - BUT NO MIDI signal in midi apps.
hope i gave a better description this time and hopefully at least one person encountered the same issue with Windows 7 → and has a solution .