Quick controller poll

Miscellaneous Forums/General Discussion/Quick controller poll

Just a quick poll to see how many have controllers for PC. I'd like to make a game that uses both sticks, but I want to see how many would be able to use it.

Please add your numbers in and repost the list so the latest post will always have the correct count. (If you have more than one controller, just place add 1 in the correct category, not 1 for every controller)

-No controller 0
-single stick controller 0
-Dual stick controller 1

thanks

-No controller 0
-single stick controller 0
-Dual stick controller 2

I have multiple sticks and a wheel, but only 1 port...

-No controller 0
-single stick controller 1
-Dual stick controller 2

one stick, hardly used it since Xwing and Tie Figher, only used on uh MAME and WinUAE and C64 games now.

-No controller 0
-single stick controller 2
-Dual stick controller 2

P.S. I'd never buy a game pad for PC, I play console games on my console.

-No controller 1
-single stick controller 0
-Dual stick controller 0

i have xbox and x360 gamepads on the pc.

-No controller 0
-single stick controller 2
-Dual stick controller 2

-No controller 0
-single stick controller 0
-Dual stick controller 1

PlayStation 2 controller.

This is getting confusing...

Anyway, I have a single stick controller but hardly ever play games on the PC. It's covered in dust.

Yeah I think people messed up the pole, I thought successive posts were Updating the main stat with a copy/paste. For example I only have a single stick, not 2 sticks and 2 double sticks. Oh well.

I have both a flight yoke type joystick, and two console type gamepads (one is dual, one isn't). My personal score is then:

- Single Stick 2
- Dual Stick 1

You'll have to add the numbers yourself, I got lost somewhere between posts #4 and 5 Sorry.

I knew it was doomed to failure the moment the original poster put down "instructions" for us to follow... ;)

my bad,... thought it would work. I figured it would be easier than reading through everything and adding up manually.

Anyways,... looks like a bunch of people do not have a dual controller, which is what I wanted to find out.

yeah basically forget it, you'll totally limit market. Of course for max market it should be mouse control with no keys!

I have a dual stick controller, but only use it for N64 emulator games. I'd like to see more games that use it. Perhaps you can have it optional, and use keyboard controls if they don't have it.

-No controller 1
-single stick controller 0
-Dual stick controller 0

I do actually have a dual stick controller but it's rarely connected, and this is the best way I can find to be accurate.

PS2 rumblepad.

I have xbox 360 controllers that work with my pc. Dual joystick.

ok, I got enough responses I think.

Not everyone has one, but this next game is going to need one. I will try to mess with some keyboard or mouse stuff, but to really play it the way it should be will require a dual stick.

Game is a freebie for my own amusement, so I'm not too concerned about the market.

If anyone is still reading this,... Does blitz recognize the second stick as JoyPitch() and JoyYaw()for you, or something else?

Does this code give correct -1 to 1 values for both sticks? That is what I get here using the XBOX 360 controller.

;input test for dual joystick
While Not KeyHit(1)
	Cls
	Text 50,50,"Joy1 X :" +JoyX()
	Text 50,70,"Joy1 Y :" +JoyY()
	Text 50,90,"Joy2 X :" +JoyPitch()/180
	Text 50,110,"Joy2 Y :" +JoyYaw()/180
Wend
End


4 PC gamepads (2 thumbsticks, d-pad 10?12 buttons, 2 Xbox gamepads (old style)

The code you gave above for joypitch/joyyaw I find only works when I press 'analog' on the controller (or 'digital' - whichever one causes the little red light to come on - I don't know what the default setting is) otherwise it stores the vertical movement of the 2nd thumbstick as a button press.

I intend to buy a 360 controller for PC within the next few months.

Other than that, no controller.

Pongo,

I use a Ps2 joypad and the second stick isn't recognised using the joypitch / Joyyaw vars. It recognises Joyroll and joyz though so you're probably looking at quite a few joypad configurations.

I can't understand why everyone doesn't have some form of dual analogue controller but I guess that's a matter of preference.

@Pongo- just got a new joystick by any chance? When I got mine first thing I wanted to do was make a game that used it.

working on a geometry wars kinda thing,... it's looking pretty cool right now, but I'm just getting started with it.

I'd like to post it up, but I'm worried that with all of these configurations that not many would be able to play it. I've got some basic keyboard stuff (WASD and arrow keys) but it falls way short of using the sticks.

For right now I'll say it will work on a 360 controller and not worry about the others. I'll post the code up, so if anyone needs to they can change the appropriate section to their own settings.

Nice one. Will have a go tomorrow Troy.

1x Saitek Controler
1x Saitek x45 Stick with separate throttle
Various pens and magical devices in various states of developement lying on the floor :)

Cheers
Garion

I have the Xbox360 controller working in my game (which is ANOTHER Geometry Wars thing!).

I found some BlitzMax code to test the joystick but I cant remember where I got it from. But here it is anyway:

' testjoy.bmx

Import Pub.FreeJoy

Strict

If Not JoyCount() RuntimeError "No joystick found!"

Graphics 640,480

Function drawprop(n$,p#,y)
	Local	w
	DrawText n$,0,y
	w=Abs(p)*256
	If p<0
		DrawRect 320-w,y,w,16
	Else
		DrawRect 320,y,w,16
	EndIf
End Function		

Local t=0

While Not KeyHit(KEY_ESCAPE)
	Cls
	
	SetColor 255,255,255
	Local n=JoyCount()
	DrawText "joycount="+n,0,0
	DrawText "JoyName(0)="+JoyName(0),0,20
	DrawText "JoyButtonCaps(0)="+Bin$(JoyButtonCaps(0)),0,40
	DrawText "JoyAxisCaps(0)="+Bin$(JoyAxisCaps(0)),0,60

	For Local i=0 To 31
		SetColor 255,255,255
		If JoyDown(i) SetColor 255,0,0
		DrawOval i*16,80,14,14
	Next
	
	SetColor 255,255,0
	drawprop "JoyX=",JoyX(0),100
	drawprop "JoyY:",JoyY(0),120
	drawprop "JoyZ:",JoyZ(0),140
	drawprop "JoyR:",JoyR(0),160
	drawprop "JoyU:",JoyU(0),180
	drawprop "JoyV:",JoyV(0),200
	drawprop "JoyHat:",JoyHat(0),220
	drawprop "JoyWheel:",JoyWheel(0),240
	
	DrawRect 0,280,t,10
	t=(t+1)&511
	
	Flip	
Wend

End


It would be interesting to know what values the other types of joystick drive, like the PS2 one mentioned above.

Cant get the joystick to work on the Mac yet. I'm guessing it needs some drivers like the PC.