@@ -452,9 +452,11 @@ struct $modify(UILayer) {
452
452
{
453
453
Keybind::create (KEY_Space),
454
454
Keybind::create (KEY_W),
455
+ Keybind::create (KEY_Up),
455
456
ControllerBind::create (CONTROLLER_A),
456
457
ControllerBind::create (CONTROLLER_Up),
457
- ControllerBind::create (CONTROLLER_RB)
458
+ ControllerBind::create (CONTROLLER_RB),
459
+ ControllerBind::create (CONTROLLER_LB)
458
460
},
459
461
Category::PLAY_1P_PLATFORMER,
460
462
false
@@ -466,11 +468,9 @@ struct $modify(UILayer) {
466
468
{
467
469
Keybind::create (KEY_Space),
468
470
Keybind::create (KEY_W),
469
- Keybind::create (KEY_Up),
470
471
ControllerBind::create (CONTROLLER_A),
471
472
ControllerBind::create (CONTROLLER_Up),
472
- ControllerBind::create (CONTROLLER_RB),
473
- ControllerBind::create (CONTROLLER_LB)
473
+ ControllerBind::create (CONTROLLER_RB)
474
474
},
475
475
Category::PLAY_2P_PLATFORMER,
476
476
false
@@ -487,47 +487,73 @@ struct $modify(UILayer) {
487
487
" robtop.geometry-dash/move-left" ,
488
488
" Move left" ,
489
489
" Move left in 1P platformer levels" ,
490
- { Keybind::create (cocos2d::KEY_A), ControllerBind::create (CONTROLLER_Left), ControllerBind::create (CONTROLLER_LTHUMBSTICK_LEFT) },
490
+ {
491
+ Keybind::create (cocos2d::KEY_A),
492
+ ControllerBind::create (CONTROLLER_Left),
493
+ ControllerBind::create (CONTROLLER_LTHUMBSTICK_LEFT),
494
+ Keybind::create (KEY_Left),
495
+ ControllerBind::create (CONTROLLER_RTHUMBSTICK_LEFT)
496
+ },
491
497
Category::PLAY_1P_PLATFORMER,
492
498
false
493
499
});
494
500
BindManager::get ()->registerBindable ({
495
501
" robtop.geometry-dash/move-right" ,
496
502
" Move right" ,
497
503
" Move right in 1P platformer levels" ,
498
- { Keybind::create (cocos2d::KEY_D), ControllerBind::create (CONTROLLER_Right), ControllerBind::create (CONTROLLER_LTHUMBSTICK_RIGHT) },
504
+ {
505
+ Keybind::create (cocos2d::KEY_D),
506
+ ControllerBind::create (CONTROLLER_Right),
507
+ ControllerBind::create (CONTROLLER_LTHUMBSTICK_RIGHT),
508
+ Keybind::create (KEY_Right),
509
+ ControllerBind::create (CONTROLLER_RTHUMBSTICK_RIGHT)
510
+ },
499
511
Category::PLAY_1P_PLATFORMER,
500
512
false
501
513
});
502
514
BindManager::get ()->registerBindable ({
503
515
" robtop.geometry-dash/move-left-p1" ,
504
516
" Move left P1" ,
505
517
" Player 1 move left in 2P platformer levels" ,
506
- { Keybind::create (cocos2d::KEY_A), ControllerBind::create (CONTROLLER_Left), ControllerBind::create (CONTROLLER_LTHUMBSTICK_LEFT) },
518
+ {
519
+ Keybind::create (cocos2d::KEY_A),
520
+ ControllerBind::create (CONTROLLER_Left),
521
+ ControllerBind::create (CONTROLLER_LTHUMBSTICK_LEFT)
522
+ },
507
523
Category::PLAY_2P_PLATFORMER,
508
524
false
509
525
});
510
526
BindManager::get ()->registerBindable ({
511
527
" robtop.geometry-dash/move-right-p1" ,
512
528
" Move right P1" ,
513
529
" Player 1 move right in 2P platformer levels" ,
514
- { Keybind::create (cocos2d::KEY_D), ControllerBind::create (CONTROLLER_Right), ControllerBind::create (CONTROLLER_LTHUMBSTICK_RIGHT) },
530
+ {
531
+ Keybind::create (cocos2d::KEY_D),
532
+ ControllerBind::create (CONTROLLER_Right),
533
+ ControllerBind::create (CONTROLLER_LTHUMBSTICK_RIGHT)
534
+ },
515
535
Category::PLAY_2P_PLATFORMER,
516
536
false
517
537
});
518
538
BindManager::get ()->registerBindable ({
519
539
" robtop.geometry-dash/move-left-p2" ,
520
540
" Move left P2" ,
521
541
" Player 2 move left in 2P platformer levels" ,
522
- { Keybind::create (KEY_Left), ControllerBind::create (CONTROLLER_RTHUMBSTICK_LEFT) },
542
+ {
543
+ Keybind::create (KEY_Left),
544
+ ControllerBind::create (CONTROLLER_RTHUMBSTICK_LEFT)
545
+ },
523
546
Category::PLAY_2P_PLATFORMER,
524
547
false
525
548
});
526
549
BindManager::get ()->registerBindable ({
527
550
" robtop.geometry-dash/move-right-p2" ,
528
551
" Move right P2" ,
529
552
" Player 2 move right in 2P platformer levels" ,
530
- { Keybind::create (KEY_Right), ControllerBind::create (CONTROLLER_RTHUMBSTICK_RIGHT) },
553
+ {
554
+ Keybind::create (KEY_Right),
555
+ ControllerBind::create (CONTROLLER_RTHUMBSTICK_RIGHT)
556
+ },
531
557
Category::PLAY_2P_PLATFORMER,
532
558
false
533
559
});
0 commit comments