Open Side Menu Go to the Top
Register
Xbox 360 controller AHK / Xpadder - collected threads edition Xbox 360 controller AHK / Xpadder - collected threads edition

03-23-2009 , 11:42 PM
I didnt use an xbox controller and I didnt use any code from this thread. I bought a gamepad for the pc. Then I just ran joy2key and setup my betpot hotkeys accordingly. I cant be any more specific than that really, as it was 9 months ago at least.
Xbox 360 controller AHK / Xpadder - collected threads edition Quote
03-24-2009 , 12:27 AM
Quote:
Originally Posted by RedLobstah
Couple Q's I couldn't find answers to by searching:

1. what is the code to confirm a bet?
Code:
Raise(getid())
Quote:
2. What does gosub mean? Example:

Joy11::
Gosub, WheelDown
return
It means "go do the code labelled here, then come back" - in this example, it makes Joy11 button do whatever action(s) WheelDown is set to do.


Quote:
Originally Posted by NameOnTheCake
can you elaborate a bit Fozzy? I'm really not adept at this stuff. Do I just need to add the code that was listed above?
For limit play, you probably don't want the code above (no use for pot size derived actions). You probably want something like this in betpot_hotkeys:
Code:
Joy1::
Fold(getid())
return

Joy2::
Call(getid())
return

Joy3::
Raise(getid())
return
Remember betpot does not care about active or not tables, it will action on whatever table is beneath the cursor. you can change this to require the table to be active AND beneath the cursor, if misclicks are a problem.

Additionally, you may prefer actions to occur on release of the button - that way you can "undo" an action if you notice it is wrong but haven't let go the button yet, to do that you just put UP after the hotkey name e.g.
Code:
Joy2 UP::
This can also be preferable if the controller sends repeated events, like rapid-fire (some do, some don't - can't remember it being a problem with x360 or PS3 controllers myself).

If I were playing in a cascade, I'd probably have shoulder buttons L1 and R1 mapped to shuffle up/down through the tables too - I think that's be handy.
Xbox 360 controller AHK / Xpadder - collected threads edition Quote
03-24-2009 , 01:44 PM
nameonthecake ...... on tabeninja... under action hotkeys in the middle ... there is a place to set up the hot keys for limit only........ as for the other setups dave may be the one to ask... this is what works for me so i thought i would offer some help...... john
Xbox 360 controller AHK / Xpadder - collected threads edition Quote
03-25-2009 , 09:50 PM
Quote:
Originally Posted by _dave_
Code:
Raise(getid())
It means "go do the code labelled here, then come back" - in this example, it makes Joy11 button do whatever action(s) WheelDown is set to do.
Thanks. I changed the button assignment and am using it now!

Quote:
Originally Posted by _dave_
Additionally, you may prefer actions to occur on release of the button - that way you can "undo" an action if you notice it is wrong but haven't let go the button yet, to do that you just put UP after the hotkey name e.g.
Code:
Joy2 UP::
This can also be preferable if the controller sends repeated events, like rapid-fire (some do, some don't - can't remember it being a problem with x360 or PS3 controllers myself).
This didn't work for me. I tried the below code as well as changing the "0" to "1". When it was a zero, it behaved just like without the "UP" (filled in the bet box on the down push of button and required my confirmation). When set to 1 it auto bet without my confirm on the down push. Am I missing something?

Joy4 UP:: ; Yellow Y
Pot(getid(),"1 1 1 1", "smallblind", "ssnl", 0)
return

Thanks!
Xbox 360 controller AHK / Xpadder - collected threads edition Quote
03-26-2009 , 06:55 AM
Im also using a gampad (playstation like) with joy2key but Im also using 2 instances of joy2mouse
so I can controll the mouse with both analog sticks, left is slow and precise right is fast
Xbox 360 controller AHK / Xpadder - collected threads edition Quote
05-05-2009 , 04:51 AM
I can't seem to control the mouse cursor within XP (run as a bootcamp vm within Parallels).

Here's my XPadder setup



The dpad and keys can be assigned and work but I can't seem to move my mouse cursor with the 360 controller. Any suggestions?
Xbox 360 controller AHK / Xpadder - collected threads edition Quote
05-08-2009 , 04:27 PM
Question to you guys that use a gamepad to multi-table:

do you tile or cascade?

is gamepad useful if i have 16 tables tiled playing NL ?


I 16 table on 2 screens and my wrist is taking a beating....im looking for alternative ways to click buttons on my screen.

My concern with gamepad:

moving mouse around from one screen to the next will take some time ?
moving mouse around with thumbpad will kill my thumb pretty quickly?
Xbox 360 controller AHK / Xpadder - collected threads edition Quote
05-08-2009 , 04:28 PM
if you have a gamepad with 2 analog sticks you can make one a really fast mouse cursor (to move from one screen to another etc)
and the other one slow/precise..

fwiw I stack tables and think its far superior
Xbox 360 controller AHK / Xpadder - collected threads edition Quote
05-08-2009 , 04:57 PM
There are multiple urgent table scripts and app's that can move your cursor to the active table and highlight it. I tile and rarely move my mouse hand, unless I am multi-tasking.

Stars Urgent Table, Stars Assistant, Full Tilt Shortcuts, etc
Xbox 360 controller AHK / Xpadder - collected threads edition Quote
05-08-2009 , 05:20 PM
Quote:
Originally Posted by subandi
if you have a gamepad with 2 analog sticks you can make one a really fast mouse cursor (to move from one screen to another etc)
and the other one slow/precise..

fwiw I stack tables and think its far superior

I have a logitech rumblepad with 2 analog sticks and a bunch buttons etc.

I'm trying to use joy2key right now...but so far..its not even recognizing my gambpad...updating drivers atm.
Xbox 360 controller AHK / Xpadder - collected threads edition Quote
05-08-2009 , 09:30 PM
this page contains a great AHK script for mapping one of the analog sticks to mouse (an a couple buttons to left/right click too). It works with almost any pad, and is a good starting point. http://www.autohotkey.com/docs/scrip...stickMouse.htm Imo it is better than any joy2key app since it works easily and is extremely customizable.

this page has some other examples how to use a joystick in AHK http://www.autohotkey.com/docs/misc/RemapJoystick.htm

For Full Tilt Shortcust, BetPot, StarsHotkeys and other AHKs, all you need do usually is set Joy1 or Joy7 as the button names (once you figure out which button has which number).
Xbox 360 controller AHK / Xpadder - collected threads edition Quote
05-09-2009 , 02:07 AM
Quote:
Originally Posted by _dave_
this page contains a great AHK script for mapping one of the analog sticks to mouse (an a couple buttons to left/right click too). It works with almost any pad, and is a good starting point. http://www.autohotkey.com/docs/scrip...stickMouse.htm Imo it is better than any joy2key app since it works easily and is extremely customizable.

this page has some other examples how to use a joystick in AHK http://www.autohotkey.com/docs/misc/RemapJoystick.htm

For Full Tilt Shortcust, BetPot, StarsHotkeys and other AHKs, all you need do usually is set Joy1 or Joy7 as the button names (once you figure out which button has which number).
thanks man...that AHK script works great and is really simple. I tried joy2key and joystick 2 mouse...and it took too long to configure all the buttons n what not....AHK is really simple.


After using this controller, i feel it's not as precise as a mouse cursor...its very hard to click the X on the top right corner of the window...and takes several tries...before I can hit it dead center... Is there anyway to get this more precise?

Is there anyway I can use the directional pad to move mouse instead of the analog stick ?

I have a logitech wingman rumblepad - 2 analog sticks
Xbox 360 controller AHK / Xpadder - collected threads edition Quote
05-09-2009 , 05:10 AM
Quote:
Originally Posted by _dave_
this page contains a great AHK script for mapping one of the analog sticks to mouse (an a couple buttons to left/right click too). It works with almost any pad, and is a good starting point. http://www.autohotkey.com/docs/scrip...stickMouse.htm Imo it is better than any joy2key app since it works easily and is extremely customizable.

this page has some other examples how to use a joystick in AHK http://www.autohotkey.com/docs/misc/RemapJoystick.htm

For Full Tilt Shortcust, BetPot, StarsHotkeys and other AHKs, all you need do usually is set Joy1 or Joy7 as the button names (once you figure out which button has which number).
I use this too and I use a 2nd instance of it to make the 2nd analog stick a mouse too - there has to be an easier way,
making both ahks into one but I dont know anything about it,
Im already proud I managed to find out how to access the 2nd analog stick (Z and R instead of X and Y I believe)
Xbox 360 controller AHK / Xpadder - collected threads edition Quote
05-21-2009 , 02:25 PM
I need some major help installing my 360 controller to xpadder. I cannot find any sort of adapter that will connect my controller to the computer.
Xbox 360 controller AHK / Xpadder - collected threads edition Quote
05-21-2009 , 04:48 PM
Quote:
Originally Posted by jfrizzle
once you have downloaded xpadder.. assign each button a letter on the keyboard.. example on the 360 controller assign the x button the letter X or the right trigger the letter R... then down load tableninja.. from tableninja.com ... then assign each action a letter corresponding to the letters on you controller... ie.. the letter R you assinged to the trigger.. if you want the right trigger to preform the fold action. assign the letter R to fold.. then when you click the trigger you hand will fold.... after you assign the actions in table ninja click save... you will be ready to roll... good luck.... john
another question, is there something similar to tableninja out there for those of us on ftp?
Xbox 360 controller AHK / Xpadder - collected threads edition Quote
05-21-2009 , 05:10 PM
Quote:
Originally Posted by clemensol
I need some major help installing my 360 controller to xpadder. I cannot find any sort of adapter that will connect my controller to the computer.
You can buy a "microsoft USB wireless adapter" most places that sell xbox accessories. I think wired contollers just plug in to USB, but I've never had one s not sure.

Quote:
Originally Posted by clemensol
another question, is there something similar to tableninja out there for those of us on ftp?
Full Tilt Shortcuts or Poker Shortcuts most similar to Table Ninja, or myriad AHK scripts are available.
Xbox 360 controller AHK / Xpadder - collected threads edition Quote
05-21-2009 , 05:45 PM
If you are playing on Stars I would suggest you use _dave_'s Stars Urgent Table v0.3 from the attachments page. It will highlight the active table and the table under the mouse. It can also move the mouse from table to table, so all you have to do is hit buttons/keys once you get the script dialed in.
Xbox 360 controller AHK / Xpadder - collected threads edition Quote
05-26-2009 , 10:26 PM
what´s the best solution if you play different sites simultanously?

i like tableninja (though i never tried another program), but it only works for pokerstars afaik. mainly play pokerstars and fulltilt.
Xbox 360 controller AHK / Xpadder - collected threads edition Quote
05-26-2009 , 10:54 PM
I would suggest you try out the beta trial of Poker ShortCuts by Nanochip. It is designed to work with PokerStars and FTP.
Xbox 360 controller AHK / Xpadder - collected threads edition Quote
06-05-2009 , 05:12 AM
I finally got mine working last night.

No need for xpadder or the joy2stick script. I went to Control Panel-Gaming Controllers, click on the 360 controller and then in the Test tab I was able to figure out what the names of each button were. Using that, I modified betpot using a snippet of code posted by someone else in the betpot thread.

Question though, in the Test tab I wasn't able to see what directional pad was assigned to. Right now I only have the following assigned to betpot:
X, Y, B, A, select, start, Left, Right.

I was hoping to use the directional and maybe even bottom triggers also. Or even the POV sticks to scroll up/down. Any suggestions?
Xbox 360 controller AHK / Xpadder - collected threads edition Quote
06-05-2009 , 05:46 AM
this should help, if you press any button on your controller it will tell you its "name"


Code:
; Joystick Test Script
; http://www.autohotkey.com
; This script helps determine the button numbers and other attributes
; of your joystick. It might also reveal if your joystick is in need
; of calibration; that is, whether the range of motion of each of its
; axes is from 0 to 100 percent as it should be. If calibration is
; needed, use the operating system's control panel or the software
; that came with your joystick.

; July 6, 2005: Added auto-detection of joystick number.
; May 8, 2005 : Fixed: JoyAxes is no longer queried as a means of
; detecting whether the joystick is connected.  Some joysticks are
; gamepads and don't have even a single axis.

; If you want to unconditionally use a specific joystick number, change
; the following value from 0 to the number of the joystick (1-32).
; A value of 0 causes the joystick number to be auto-detected:
JoystickNumber = 0

; END OF CONFIG SECTION. Do not make changes below this point unless
; you wish to alter the basic functionality of the script.

; Auto-detect the joystick number if called for:
if JoystickNumber <= 0
{
	Loop 32  ; Query each joystick number to find out which ones exist.
	{
		GetKeyState, JoyName, %A_Index%JoyName
		if JoyName <>
		{
			JoystickNumber = %A_Index%
			break
		}
	}
	if JoystickNumber <= 0
	{
		MsgBox The system does not appear to have any joysticks.
		ExitApp
	}
}

#SingleInstance
SetFormat, float, 03  ; Omit decimal point from axis position percentages.
GetKeyState, joy_buttons, %JoystickNumber%JoyButtons
GetKeyState, joy_name, %JoystickNumber%JoyName
GetKeyState, joy_info, %JoystickNumber%JoyInfo
Loop
{
	buttons_down =
	Loop, %joy_buttons%
	{
		GetKeyState, joy%a_index%, %JoystickNumber%joy%a_index%
		if joy%a_index% = D
			buttons_down = %buttons_down%%a_space%%a_index%
	}
	GetKeyState, joyx, %JoystickNumber%JoyX
	axis_info = X%joyx%
	GetKeyState, joyy, %JoystickNumber%JoyY
	axis_info = %axis_info%%a_space%%a_space%Y%joyy%
	IfInString, joy_info, Z
	{
		GetKeyState, joyz, %JoystickNumber%JoyZ
		axis_info = %axis_info%%a_space%%a_space%Z%joyz%
	}
	IfInString, joy_info, R
	{
		GetKeyState, joyr, %JoystickNumber%JoyR
		axis_info = %axis_info%%a_space%%a_space%R%joyr%
	}
	IfInString, joy_info, U
	{
		GetKeyState, joyu, %JoystickNumber%JoyU
		axis_info = %axis_info%%a_space%%a_space%U%joyu%
	}
	IfInString, joy_info, V
	{
		GetKeyState, joyv, %JoystickNumber%JoyV
		axis_info = %axis_info%%a_space%%a_space%V%joyv%
	}
	IfInString, joy_info, P
	{
		GetKeyState, joyp, %JoystickNumber%JoyPOV
		axis_info = %axis_info%%a_space%%a_space%POV%joyp%
	}
	ToolTip, %joy_name% (#%JoystickNumber%):`n%axis_info%`nButtons Down: %buttons_down%`n`n(right-click the tray icon to exit)
	Sleep, 100
}
return
Xbox 360 controller AHK / Xpadder - collected threads edition Quote
07-14-2009 , 12:15 AM
I've had an xbox for a while but just decided to try it on the computer. I'm using it in conjunction with the stars hotkey program and I'm really impressed. Makes it so much more comfortable and easy to play.

Anyways, I was wondering what hotkeys you guys use. Right now I have :

Left trigger: fold
Right trigger: Check/call
Right thumbstick: Raise/lower bet amount
A button: Bet

Obviously this is a pretty basic configuration so I'm looking for some tricks to make my life easier. One thing I would want to do is move the active table to a corner of my screen so I can monitor the outcome of a hand. I'm not sure if I can do this with Stars hotkeys, but I'm too cheap to pay for table ninja so oh well.
Xbox 360 controller AHK / Xpadder - collected threads edition Quote
07-22-2009 , 04:43 PM
I am trying to get the xbox live keypad that attaches to the Xbox360 controller to work with xpadder but can't really figure it out.

Has anyone done this yet or know how to do it?

Thx
Matix
Xbox 360 controller AHK / Xpadder - collected threads edition Quote
08-04-2009 , 02:22 AM
Anyone know?
Xbox 360 controller AHK / Xpadder - collected threads edition Quote
08-04-2009 , 09:18 PM
is there a way to set up my xbox 360 controller to act as a mouse/poker tool?

i would like the two toggles to be a mouse and to be like a mouse scroll up. and then obviously some buttons to be bet and fold call etc.
Xbox 360 controller AHK / Xpadder - collected threads edition Quote

      
m