File tree Expand file tree Collapse file tree 5 files changed +7
-7
lines changed
Expand file tree Collapse file tree 5 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ fn setup(mut commands: Commands) {
3939 commands. add (
4040 KeySequence :: new (
4141 action:: send_event ( MyEvent ( Direction :: CounterClockwise ) ) ,
42- keyseq ! ( W A S D ) ,
42+ keyseq ! { W A S D } ,
4343 )
4444 . time_limit ( Duration :: from_secs ( 1 ) ) ,
4545 ) ;
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ fn setup(mut commands: Commands) {
1818 commands. add (
1919 KeySequence :: new (
2020 action:: send_event ( MyEvent ) ,
21- keyseq ! ( Ctrl -W Ctrl -D Ctrl -S Ctrl -A ) ,
21+ keyseq ! { Ctrl -W Ctrl -D Ctrl -S Ctrl -A } ,
2222 )
2323 . time_limit ( Duration :: from_secs ( 1 ) ) ,
2424 ) ;
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ fn main() {
1717
1818fn setup ( mut commands : Commands ) {
1919 commands. add (
20- KeySequence :: new ( action:: send_event ( MyEvent ( 1 , None ) ) , keyseq ! ( W D S A ) )
20+ KeySequence :: new ( action:: send_event ( MyEvent ( 1 , None ) ) , keyseq ! { W D S A } )
2121 . time_limit ( Duration :: from_secs ( 5 ) ) ,
2222 ) ;
2323
@@ -35,7 +35,7 @@ fn setup(mut commands: Commands) {
3535 ) ;
3636
3737 commands. add (
38- KeySequence :: new ( action:: send_event ( MyEvent ( 3 , None ) ) , keyseq ! ( W A S D ) )
38+ KeySequence :: new ( action:: send_event ( MyEvent ( 3 , None ) ) , keyseq ! { W A S D } )
3939 . time_limit ( Duration :: from_secs ( 5 ) ) ,
4040 ) ;
4141
Original file line number Diff line number Diff line change @@ -30,12 +30,12 @@ fn main() {
3030fn setup ( mut commands : Commands ) {
3131 commands. add ( KeySequence :: new (
3232 action:: send_event ( GlobalEvent ) ,
33- keyseq ! ( Escape ) ,
33+ keyseq ! { Escape } ,
3434 ) ) ;
3535 commands. add (
3636 KeySequence :: new (
3737 action:: send_event ( MyEvent ) . only_if ( in_state ( AppState :: Game ) ) ,
38- keyseq ! ( Space ) ,
38+ keyseq ! { Space } ,
3939 )
4040 . time_limit ( Duration :: from_secs ( 1 ) ) ,
4141 ) ;
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ fn setup(mut commands: Commands) {
3131 commands. add (
3232 KeySequence :: new (
3333 action:: send_event ( MyEvent ) . only_if ( in_state ( AppState :: Game ) ) ,
34- keyseq ! ( Space ) ,
34+ keyseq ! { Space } ,
3535 )
3636 . time_limit ( Duration :: from_secs ( 1 ) ) ,
3737 ) ;
You can’t perform that action at this time.
0 commit comments