mirror of
https://github.com/spice2x/spice2x.github.io.git
synced 2026-08-02 06:40:42 -07:00
Auto PIN entry (#272)
## Link to GitHub Issue, if one exists Fixes https://github.com/spice2x/spice2x.github.io/issues/193 ## Description of change Merges guardianblue's changes plus some code review feedback. Adds the ability to automatically type out the digits of a PIN when an overlay shortcut is pressed. ## Compiling 💯 ## Testing Tested: * 32 bit popn * TDJ, 1p/2p * KFC, UFC
This commit is contained in:
@@ -113,6 +113,26 @@ static const std::vector<OptionDefinition> OPTION_DEFINITIONS = {
|
||||
.category = "Network",
|
||||
.sensitive = true,
|
||||
},
|
||||
{
|
||||
// Player1PinMacro
|
||||
.title = "Player 1 PIN Macro",
|
||||
.name = "pinmacro0",
|
||||
.desc = "Set a PIN for Player 1 that will cause the PIN to be automatically typed when Player 1 PIN Macro overlay key is pressed",
|
||||
.type = OptionType::Text,
|
||||
.setting_name = "1234",
|
||||
.category = "Network (Advanced)",
|
||||
.sensitive = true,
|
||||
},
|
||||
{
|
||||
// Player2PinMacro
|
||||
.title = "Player 2 PIN Macro",
|
||||
.name = "pinmacro1",
|
||||
.desc = "Set a PIN for Player 2 that will cause the PIN to be automatically typed when Player 2 PIN Macro overlay key is pressed",
|
||||
.type = OptionType::Text,
|
||||
.setting_name = "5678",
|
||||
.category = "Network (Advanced)",
|
||||
.sensitive = true,
|
||||
},
|
||||
{
|
||||
.title = "Windowed Mode",
|
||||
.name = "w",
|
||||
|
||||
Reference in New Issue
Block a user