Commit df47b26
committed
allow for gamepad triggers to be used as buttons
Allots special buttons for use by gamepad triggers. This allows triggers to be
usable as an axis or a button depending on the control type.
NOTE: This is implemented in a way that shouldn't break compatiblity with
other builds using the same cc profile. It does not use the control config code
that appears to allow for axis buttons due to it not being fully implemented
and needing too much work for sort out. Should that ever happen this feature
should be revisited so that it can be implemented properly.1 parent 97f8e91 commit df47b26
File tree
3 files changed
+88
-12
lines changed- code
- controlconfig
- io
3 files changed
+88
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2589 | 2589 | | |
2590 | 2590 | | |
2591 | 2591 | | |
| 2592 | + | |
| 2593 | + | |
| 2594 | + | |
| 2595 | + | |
| 2596 | + | |
| 2597 | + | |
| 2598 | + | |
| 2599 | + | |
| 2600 | + | |
| 2601 | + | |
| 2602 | + | |
| 2603 | + | |
| 2604 | + | |
| 2605 | + | |
| 2606 | + | |
| 2607 | + | |
| 2608 | + | |
| 2609 | + | |
| 2610 | + | |
| 2611 | + | |
| 2612 | + | |
| 2613 | + | |
| 2614 | + | |
2592 | 2615 | | |
| 2616 | + | |
| 2617 | + | |
| 2618 | + | |
2593 | 2619 | | |
2594 | | - | |
| 2620 | + | |
2595 | 2621 | | |
2596 | 2622 | | |
2597 | 2623 | | |
2598 | 2624 | | |
2599 | 2625 | | |
2600 | | - | |
| 2626 | + | |
2601 | 2627 | | |
2602 | 2628 | | |
2603 | 2629 | | |
2604 | 2630 | | |
2605 | | - | |
| 2631 | + | |
2606 | 2632 | | |
2607 | 2633 | | |
2608 | 2634 | | |
2609 | 2635 | | |
2610 | | - | |
| 2636 | + | |
2611 | 2637 | | |
2612 | 2638 | | |
2613 | 2639 | | |
| |||
2619 | 2645 | | |
2620 | 2646 | | |
2621 | 2647 | | |
2622 | | - | |
| 2648 | + | |
2623 | 2649 | | |
2624 | 2650 | | |
2625 | 2651 | | |
| |||
2710 | 2736 | | |
2711 | 2737 | | |
2712 | 2738 | | |
2713 | | - | |
2714 | | - | |
2715 | | - | |
| 2739 | + | |
| 2740 | + | |
| 2741 | + | |
| 2742 | + | |
| 2743 | + | |
| 2744 | + | |
| 2745 | + | |
| 2746 | + | |
| 2747 | + | |
| 2748 | + | |
| 2749 | + | |
2716 | 2750 | | |
| 2751 | + | |
2717 | 2752 | | |
2718 | 2753 | | |
2719 | 2754 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
844 | 844 | | |
845 | 845 | | |
846 | 846 | | |
847 | | - | |
| 847 | + | |
| 848 | + | |
848 | 849 | | |
849 | 850 | | |
850 | 851 | | |
| |||
977 | 978 | | |
978 | 979 | | |
979 | 980 | | |
980 | | - | |
981 | | - | |
982 | | - | |
983 | 981 | | |
| 982 | + | |
| 983 | + | |
| 984 | + | |
984 | 985 | | |
985 | 986 | | |
986 | 987 | | |
987 | 988 | | |
988 | 989 | | |
| 990 | + | |
| 991 | + | |
| 992 | + | |
| 993 | + | |
| 994 | + | |
| 995 | + | |
| 996 | + | |
| 997 | + | |
| 998 | + | |
| 999 | + | |
| 1000 | + | |
| 1001 | + | |
| 1002 | + | |
| 1003 | + | |
| 1004 | + | |
989 | 1005 | | |
990 | 1006 | | |
991 | 1007 | | |
| |||
1434 | 1450 | | |
1435 | 1451 | | |
1436 | 1452 | | |
| 1453 | + | |
| 1454 | + | |
| 1455 | + | |
| 1456 | + | |
| 1457 | + | |
| 1458 | + | |
| 1459 | + | |
| 1460 | + | |
| 1461 | + | |
| 1462 | + | |
| 1463 | + | |
| 1464 | + | |
| 1465 | + | |
| 1466 | + | |
| 1467 | + | |
| 1468 | + | |
| 1469 | + | |
| 1470 | + | |
| 1471 | + | |
| 1472 | + | |
| 1473 | + | |
| 1474 | + | |
| 1475 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
383 | 383 | | |
384 | 384 | | |
385 | 385 | | |
| 386 | + | |
| 387 | + | |
386 | 388 | | |
387 | 389 | | |
388 | 390 | | |
| |||
0 commit comments