Two Plus Two Publishing LLC Two Plus Two Publishing LLC
 

Go Back   Two Plus Two Poker Forums > Internet Poker > Software

Notices

Software Discussions about gambling-related and poker software.

Reply
 
Thread Tools Display Modes
Old 03-22-2009, 06:21 PM   #16
Carpal \'Tunnel
 
NameOnTheCake's Avatar
 
Join Date: Jul 2004
Location: we're not enemies, we just disagree
Posts: 19,596
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
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
Carpal \'Tunnel
 
NameOnTheCake's Avatar
 
Join Date: Jul 2004
Location: we're not enemies, we just disagree
Posts: 19,596
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
grinder
 
Join Date: Aug 2008
Posts: 604
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
_Pooh_Bah_
 
Join Date: Feb 2005
Location: UK
Posts: 9,148
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 offline   Reply With Quote
Old 03-23-2009, 06:21 PM   #21
Carpal \'Tunnel
 
fozzy71's Avatar
 
Join Date: Mar 2007
Posts: 31,412
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 offline   Reply With Quote
Old 03-23-2009, 07:46 PM   #22
Carpal \'Tunnel
 
NameOnTheCake's Avatar
 
Join Date: Jul 2004
Location: we're not enemies, we just disagree
Posts: 19,596
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
Carpal \'Tunnel
 
fozzy71's Avatar
 
Join Date: Mar 2007
Posts: 31,412
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 offline   Reply With Quote
Old 03-23-2009, 10:12 PM   #24
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
Carpal \'Tunnel
 
NameOnTheCake's Avatar
 
Join Date: Jul 2004
Location: we're not enemies, we just disagree
Posts: 19,596
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
Old 03-23-2009, 11:42 PM   #26
Carpal \'Tunnel
 
fozzy71's Avatar
 
Join Date: Mar 2007
Posts: 31,412
Re: Xbox 360 controller as a mouse with AHK?

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.
fozzy71 is offline   Reply With Quote
Old 03-24-2009, 12:27 AM   #27
_Pooh_Bah_
 
Join Date: Feb 2005
Location: UK
Posts: 9,148
Re: Xbox 360 controller as a mouse with AHK?

Quote:
Originally Posted by RedLobstah View Post
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 View Post
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.
_dave_ is offline   Reply With Quote
Old 03-24-2009, 01:44 PM   #28
stranger
 
Join Date: Jun 2008
Posts: 3
Re: Xbox 360 controller as a mouse with AHK?

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
jfrizzle is offline   Reply With Quote
Old 03-25-2009, 09:50 PM   #29
centurion
 
Join Date: Dec 2007
Posts: 104
Re: Xbox 360 controller as a mouse with AHK?

Quote:
Originally Posted by _dave_ View Post
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_ View Post
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!
RedLobstah is offline   Reply With Quote
Old 03-26-2009, 06:55 AM   #30
Carpal \'Tunnel
 
subandi's Avatar
 
Join Date: Jun 2007
Location: working
Posts: 7,054
Re: Xbox 360 controller as a mouse with AHK?

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
subandi 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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -4. The time now is 04:09 AM.


Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.6.0 ©2011, Crawlability, Inc.
Copyright © 2008-2010, Two Plus Two Interactive