Jump to content

Sky Slate Blueberry Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate
Photo

Problems with Joypad


  • Please log in to reply
7 replies to this topic
JaySicks
  • Members
  • 10 posts
  • Last active: Jan 11 2007 11:51 AM
  • Joined: 06 Jan 2007
I have a really annoying proplem, when i try to assign my joy to a key.
So.. for example:
I'm playing a game. In this game i jump with SHIFT or JOY1, and shoot with SPACE or JOY2.
I want to shoot with JOY1 (and jump with JOY2).
I tried this script:
Joy1::
   Send {Space down}
   KeyWait Joy2
   Send {Space up}
   return
The result: I shoot, and jump at the same time.
Pease help me with this...

jonny
  • Members
  • 2951 posts
  • Last active: Feb 24 2008 04:22 AM
  • Joined: 13 Nov 2004
You can't send a joystick button, but if Space also shoots, this should work:

SendMode,Input
return

~Shift::
~Joy1::
Send {Space}
return


JaySicks
  • Members
  • 10 posts
  • Last active: Jan 11 2007 11:51 AM
  • Joined: 06 Jan 2007
Um.. No... I think you misunderstand me.
So I DON'T WANT to shoot and jump at the same time, I want to avoid this.
But after i remapped the JOY1 to SPACE, when i press the JOY1, it jumps becouse of the JOY1, and shoots becouse of the SPACE.
So when I press JOY1, it still sends the JOY1 button.
Anyway I figured that I can't disable joy buttons.

polyethene
  • Administrators
  • 5517 posts
  • Last active: Nov 15 2014 07:55 AM
  • Joined: 26 Oct 2012
Have you tried basic remapping?
Joy1::Send, {Joy2}

Joy2::Send, {Joy1}


JaySicks
  • Members
  • 10 posts
  • Last active: Jan 11 2007 11:51 AM
  • Joined: 06 Jan 2007

Have you tried basic remapping?

Joy1::Send, {Joy2}
Joy2::Send, {Joy1}


I wish it would be that easy XD
Yes I tried

polyethene
  • Administrators
  • 5517 posts
  • Last active: Nov 15 2014 07:55 AM
  • Joined: 26 Oct 2012
What was the result? Same thing?
If you haven't already, take a look at Remapping a Joystick to Keyboard or Mouse.

JaySicks
  • Members
  • 10 posts
  • Last active: Jan 11 2007 11:51 AM
  • Joined: 06 Jan 2007

What was the result? Same thing?
If you haven't already, take a look at Remapping a Joystick to Keyboard or Mouse.

The result: No result...nothing happened.
Anyway this code:
Joy1:: 
   Send {Space down} 
   KeyWait Joy2 
   Send {Space up} 
   return
is from the documentation...
And it doesn't work becouse the game supports the joypad.

JaySicks
  • Members
  • 10 posts
  • Last active: Jan 11 2007 11:51 AM
  • Joined: 06 Jan 2007
I made a little demo, to show you what my problem is, becouse you could understand better when you see.
You can download from here
http://free.x3.hu/ja.../JoyPadTest.zip