drop .[] chars as they dont work on linux and macos for me out of the box

master
bel 2023-03-24 15:28:17 -06:00
parent b4e4de82ae
commit edcea37148
9 changed files with 64 additions and 68 deletions

2
.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
/mayhem-party
**/*.sw*

View File

@ -15,7 +15,7 @@
Each client needs 1 executable and 1 env file with a unique set of buttons
> 10 buttons per player
> `go doc key Undef | grep Key | grep -v Undef | wc -l` total (54)
> `go doc key Undef | grep Key | grep -v Undef | wc -l` total (51)
The server cannot be a client because math. Maybe a VM on the client as a server would work tho.

View File

@ -29,7 +29,7 @@
'h': 'n'
'j': 'm'
'k': ','
'l': '.'
'l': '-'
';': '/'
# player 4 controls 5
'z': '!'
@ -40,7 +40,7 @@
'n': '^'
'm': '&'
',': '*'
'.': '('
'-': '('
'/': ')'
# player 5 controls 1
'!': '1'

View File

@ -18,7 +18,7 @@
'y': 'n'
'u': 'm'
'i': ','
'o': '.'
'o': '-'
'p': '/'
# player 3 controls 5
'a': '!'
@ -40,7 +40,7 @@
'n': '6'
'm': '7'
',': '8'
'.': '9'
'-': '9'
'/': '0'
# player 5 controls 2
'!': 'q'

View File

@ -7,7 +7,7 @@
'6': 'n'
'7': 'm'
'8': ','
'9': '.'
'9': '-'
'0': '/'
# player 2 controls 5
'q': '!'
@ -40,7 +40,7 @@
'n': 'y'
'm': 'u'
',': 'i'
'.': 'o'
'-': 'o'
'/': 'p'
# player 5 controls 3
'!': 'a'

View File

@ -40,7 +40,7 @@
'n': 'h'
'm': 'j'
',': 'k'
'.': 'l'
'-': 'l'
'/': ';'
# player 5 controls 4
'!': 'z'
@ -51,5 +51,5 @@
'^': 'n'
'&': 'm'
'*': ','
'(': '.'
'(': '-'
')': '/'

View File

@ -14,7 +14,7 @@ streams:
r: 'n'
a: 'm'
b: ','
x: '.'
x: '-'
y: '/'
output:
engine:

View File

@ -49,11 +49,8 @@ var (
'(': F9,
')': F10,
',': PComma,
'.': PPeriod,
'/': PFSlash,
';': PSemicolon,
'[': POpenBracket,
']': PCloseBracket,
'-': PMinus,
'=': PEqual,
}

View File

@ -53,11 +53,8 @@ const (
F9 = Key(keybd_event.VK_F9)
F10 = Key(keybd_event.VK_F10)
PComma = Key(keybd_event.VK_COMMA)
PPeriod = Key(keybd_event.VK_Period)
PFSlash = Key(keybd_event.VK_BACKSLASH)
PSemicolon = Key(keybd_event.VK_SEMICOLON)
POpenBracket = Key(keybd_event.VK_LeftBracket)
PCloseBracket = Key(keybd_event.VK_RightBracket)
PMinus = Key(keybd_event.VK_MINUS)
PEqual = Key(keybd_event.VK_EQUAL)
)