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?
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.
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.