Two Plus Two Publishing LLC Two Plus Two Publishing LLC
 

Go Back   Two Plus Two Poker Forums > >

Notices

Software Discussions about gambling-related and poker software.

Reply
 
Thread Tools Display Modes
Old 01-07-2009, 06:14 PM   #1
wateronrock
grinder
 
wateronrock's Avatar
 
Join Date: Mar 2004
Location: Even when I lose...I win.
Posts: 514
Xbox 360 controller AHK / Xpadder - collected threads edition

I'm going absolutely crazy trying to figure out how to get my xbox 360 wireless controller to work like a mouse.

I figured out how to use my keyboard with the AHK scripts but it seems to be much more complicated to input joystick values?

Most of the scripts I downloaded (stars planner) would just show up in my task bar as the green H and be functional...but the "using a joystick as a mouse" script just gives me the actual code? Do I have to copy and paste this script somewhere to get rolling?

24 tabling has taken it's toll physically and I'm starting to feel numbness in my fingers, it's to the point where I simply can't ignore it anymore. I'm hoping by switching periodically from mouse to joystick I can take some of the repetitive stress away.

If anyone can point me in the right direction or link me to any info I would really appreciate it?
wateronrock is offline   Reply With Quote
Old 01-07-2009, 06:32 PM   #2
Amerzel
adept
 
Amerzel's Avatar
 
Join Date: Apr 2005
Location: Oregon
Posts: 731
Re: Xbox 360 controller as a mouse with AHK?

I assume you have the xbox 360 wireless control working with your computer already? If not there's a wireless receiver you need to buy in order to use a 360 controller with your computer. In order to use a Joystick with AHK you need to specific what buttons you want to do what. I don't use stars planner so I don't know how they do it but the list of joystick buttons for AHK can be found here. You type in Joy1, Joy2, Joy3, etc for what button you want to correspond to what action, that's how Stars Hotkeys works at least.
Amerzel is offline   Reply With Quote
Old 01-07-2009, 10:56 PM   #3
New York Jet
adept
 
New York Jet's Avatar
 
Join Date: Aug 2004
Location: ICM = I Collect Money
Posts: 759
Re: Xbox 360 controller as a mouse with AHK?

Download BetPot at http://www.overcards.com/wiki/moin.cgi/BetPot

Add the following code to "betpot_default_hotkeys.ahk"
Code:
;XBox360

Joy1:: ; Green A
Pot(getid(),"999 999 999 999", "smallblind", 0, 0)
return

Joy2:: ; Red B
Raise(getid())
return

Joy3:: ; Blue X
Fold(getid())
return

Joy4:: ; Yellow Y
Call(getid())
return

Joy5::
Pot(getid(),"0.857 0.5 0.5 0.5", "smallblind", 0, 0)
return

Joy6::
Pot(getid(),"1 1 1 1", "smallblind", 0, 0)
return

Joy11::
Gosub, WheelDown
return

Joy12::
Gosub, WheelUp
return
Profit
New York Jet is offline   Reply With Quote
Old 01-07-2009, 11:41 PM   #4
jaminbird
adept
 
jaminbird's Avatar
 
Join Date: Jan 2005
Location: The other side of the tubes
Posts: 1,074
Re: Xbox 360 controller as a mouse with AHK?

Download xpadder and use with whatever betpot script you prefer.
jaminbird is offline   Reply With Quote
Old 01-08-2009, 03:49 AM   #5
mrdurdenptp
veteran
 
Join Date: Oct 2008
Location: $100-$100k-#SNE
Posts: 2,821
Re: Xbox 360 controller as a mouse with AHK?

+1 to xpadder. been doing this for months. use the left joy as mouse start as left click. and when i play no limit RB as bet pot
mrdurdenptp is offline   Reply With Quote
Old 01-18-2009, 06:28 AM   #6
jogden139
banned
 
jogden139's Avatar
 
Join Date: Mar 2008
Location: doesnt have aim.
Posts: 1,995
Re: Xbox 360 controller as a mouse with AHK?

please please please please please please let this work for me 1st try.
jogden139 is offline   Reply With Quote
Old 01-18-2009, 02:07 PM   #7
Amerzel
adept
 
Amerzel's Avatar
 
Join Date: Apr 2005
Location: Oregon
Posts: 731
Re: Xbox 360 controller as a mouse with AHK?

I just got it working with a 360 controller for my roommate Jog so if you have problems just IM me.
Amerzel is offline   Reply With Quote
Old 02-17-2009, 03:52 PM   #8
wateronrock
grinder
 
wateronrock's Avatar
 
Join Date: Mar 2004
Location: Even when I lose...I win.
Posts: 514
Re: Xbox 360 controller as a mouse with AHK?

Thanks for the response guys, I didn't check back and actually got things set up myself with some help from the SSNL forum.

I used xpadder and AHK and it works really well. I have the wireless 360 game pad and initially was told that it would not work....but it does.

I would recommend this as an alternative to anyone who is having issues with repetitive stress from multi tabling.
wateronrock is offline   Reply With Quote
Old 02-17-2009, 05:12 PM   #9
wheels83
stranger
 
Join Date: Feb 2009
Posts: 8
Re: Xbox 360 controller as a mouse with AHK?

i like to use tableninja and joy2key. works great !
wheels83 is offline   Reply With Quote
Old 02-17-2009, 06:06 PM   #10
plopro7
journeyman
 
Join Date: Mar 2008
Posts: 254
Re: Xbox 360 controller as a mouse with AHK?

Do you have to buy the controller specifically for windows, you can't just use a standard 360 wireless controller?
plopro7 is offline   Reply With Quote
Old 03-21-2009, 10:57 PM   #11
NameOnTheCake
Carpal \'Tunnel
 
NameOnTheCake's Avatar
 
Join Date: Jul 2004
Location: we're not enemies, we just disagree
Posts: 19,601
Re: Xbox 360 controller as a mouse with AHK?

Is the free version of xpadder adequate or do you need the pay version?

also, is it possible for it to be configured to allow your conventional mouse to work simultaneously? or is it and either or situation
NameOnTheCake is offline   Reply With Quote
Old 03-22-2009, 10:42 AM   #12
NameOnTheCake
Carpal \'Tunnel
 
NameOnTheCake's Avatar
 
Join Date: Jul 2004
Location: we're not enemies, we just disagree
Posts: 19,601
Re: Xbox 360 controller as a mouse with AHK?

bump
NameOnTheCake is offline   Reply With Quote
Old 03-22-2009, 04:23 PM   #13
malloc
grinder
 
Join Date: Aug 2008
Posts: 629
Re: Xbox 360 controller as a mouse with AHK?

Quote:
Originally Posted by NameOnTheCake View Post
Is the free version of xpadder adequate or do you need the pay version?

also, is it possible for it to be configured to allow your conventional mouse to work simultaneously? or is it and either or situation
Free version works fine for me and the mouse is not affected at all so I can control the poker hands by XBOX controller, keyboard or mouse all at the same time.
malloc is offline   Reply With Quote
Old 03-22-2009, 05:10 PM   #14
NameOnTheCake
Carpal \'Tunnel
 
NameOnTheCake's Avatar
 
Join Date: Jul 2004
Location: we're not enemies, we just disagree
Posts: 19,601
Re: Xbox 360 controller as a mouse with AHK?

Quote:
Originally Posted by malloc View Post
Free version works fine for me and the mouse is not affected at all so I can control the poker hands by XBOX controller, keyboard or mouse all at the same time.
awesome, thanks
NameOnTheCake is offline   Reply With Quote
Old 03-22-2009, 06:00 PM   #15
LoveisHell
old hand
 
LoveisHell's Avatar
 
Join Date: Aug 2008
Location: Finland
Posts: 1,725
Re: Xbox 360 controller as a mouse with AHK?

Is this any good in practise BTW? Sounds good but I don't know.
LoveisHell is offline   Reply With Quote
Old 03-22-2009, 06:21 PM   #16
NameOnTheCake
Carpal \'Tunnel
 
NameOnTheCake's Avatar
 
Join Date: Jul 2004
Location: we're not enemies, we just disagree
Posts: 19,601
Re: Xbox 360 controller as a mouse with AHK?

Quote:
Originally Posted by NameOnTheCake View Post
awesome, thanks
I've purchased the controller, and it's recognized by xpadder, and I can use it to navigate w/the mouse and left/right click. Would someone mind walking me through how to add an AHK script to the mix? Preferably one that is able to move the mouse to the active table in a cascade. Also, I'm playing limit poker, I don't know if that is a consideration or not. I would much appreciate any insight
NameOnTheCake is offline   Reply With Quote
Old 03-23-2009, 02:18 AM   #17
jfrizzle
stranger
 
Join Date: Jun 2008
Posts: 3
Re: Xbox 360 controller as a mouse with AHK?

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
jfrizzle is offline   Reply With Quote
Old 03-23-2009, 12:45 PM   #18
NameOnTheCake
Carpal \'Tunnel
 
NameOnTheCake's Avatar
 
Join Date: Jul 2004
Location: we're not enemies, we just disagree
Posts: 19,601
Re: Xbox 360 controller as a mouse with AHK?

Quote:
Originally Posted by jfrizzle View Post
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
thanks a lot, looking forward to trying this after work
NameOnTheCake is offline   Reply With Quote
Old 03-23-2009, 05:10 PM   #19
malloc
grinder
 
Join Date: Aug 2008
Posts: 629
Re: Xbox 360 controller as a mouse with AHK?

Absolutely agree with jfrizzle that xpadder and tableninja is the way to go.
malloc is offline   Reply With Quote
Old 03-23-2009, 05:25 PM   #20
_dave_
_Pooh_Bah_
 
Join Date: Feb 2005
Location: UK (or what remains of it)
Posts: 12,101
Re: Xbox 360 controller as a mouse with AHK?

Meh I disagree, but to each their own. Two more closed source EXEs I don't need on my poker system, no thanks.

Wireless Xbox 360 controller, no additional software - just using Joy1-16 etc. as hotkeys in AHK scripts does the job extremely well imo.
_dave_ is online now   Reply With Quote
Old 03-23-2009, 06:21 PM   #21
fozzy71
Carpal \'Tunnel
 
fozzy71's Avatar
 
Join Date: Mar 2007
Location: 8 Mile + 2.5
Posts: 36,811
Re: Xbox 360 controller as a mouse with AHK?

All I used when I used a gamepad for a few weeks was Joy2Key, BetPot and UrgentTable-v0.3 to keep track of the active table and move my mouse there.
fozzy71 is online now   Reply With Quote
Old 03-23-2009, 07:46 PM   #22
NameOnTheCake
Carpal \'Tunnel
 
NameOnTheCake's Avatar
 
Join Date: Jul 2004
Location: we're not enemies, we just disagree
Posts: 19,601
Re: Xbox 360 controller as a mouse with AHK?

Quote:
Originally Posted by _dave_ View Post
Meh I disagree, but to each their own. Two more closed source EXEs I don't need on my poker system, no thanks.

Wireless Xbox 360 controller, no additional software - just using Joy1-16 etc. as hotkeys in AHK scripts does the job extremely well imo.
I'm having trouble configuring this to work on limit tables. Betpot and Table Ninja only work for nl/pl, or am I wrong? Would just using AHK work for limit?
NameOnTheCake is offline   Reply With Quote
Old 03-23-2009, 08:25 PM   #23
fozzy71
Carpal \'Tunnel
 
fozzy71's Avatar
 
Join Date: Mar 2007
Location: 8 Mile + 2.5
Posts: 36,811
Re: Xbox 360 controller as a mouse with AHK?

Quote:
Originally Posted by NameOnTheCake View Post
I'm having trouble configuring this to work on limit tables. Betpot and Table Ninja only work for nl/pl, or am I wrong? Would just using AHK work for limit?
Quote:
Originally Posted by fozzy71 View Post
All I used when I used a gamepad for a few weeks was Joy2Key, BetPot and UrgentTable-v0.3 to keep track of the active table and move my mouse there.
I only played limit when I used a gamepad. Betpot works fine.
fozzy71 is online now   Reply With Quote
Old 03-23-2009, 10:12 PM   #24
RedLobstah
centurion
 
Join Date: Dec 2007
Posts: 104
Re: Xbox 360 controller as a mouse with AHK?

Got a xb360 controller and have it set up thanks to these forums. You guys rock.

Couple Q's I couldn't find answers to by searching:

1. what is the code to confirm a bet? For example, I bet the pot with code like this:

Joy6::
Pot(getid(),"1 1 1 1", "smallblind", 0, 0)
return

I know I can change the last "0" to "1" to autobet but would rather confirm with a click.

2. What does gosub mean? Example:

Joy11::
Gosub, WheelDown
return

Thanks!
RedLobstah is offline   Reply With Quote
Old 03-23-2009, 11:35 PM   #25
NameOnTheCake
Carpal \'Tunnel
 
NameOnTheCake's Avatar
 
Join Date: Jul 2004
Location: we're not enemies, we just disagree
Posts: 19,601
Re: Xbox 360 controller as a mouse with AHK?

Quote:
Originally Posted by fozzy71 View Post
I only played limit when I used a gamepad. Betpot works fine.
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?
NameOnTheCake is offline   Reply With Quote

Reply
      

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Forum Jump


All times are GMT -4. The time now is 04:56 PM.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Search Engine Optimisation provided by DragonByte SEO v2.0.33 (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
Copyright ę 2008-2010, Two Plus Two Interactive
 
Poker Players - Streaming Live Online