-
Notifications
You must be signed in to change notification settings - Fork 144
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
67 changed files
with
401 additions
and
316 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,15 @@ | ||
; joypad buttons | ||
const_def | ||
const A_BUTTON_F ; 0 | ||
const B_BUTTON_F ; 1 | ||
const SELECT_F ; 2 | ||
const START_F ; 3 | ||
const D_RIGHT_F ; 4 | ||
const D_LEFT_F ; 5 | ||
const D_UP_F ; 6 | ||
const D_DOWN_F ; 7 | ||
shift_const A_BUTTON ; 0 | ||
shift_const B_BUTTON ; 1 | ||
shift_const SELECT ; 2 | ||
shift_const START ; 3 | ||
shift_const D_RIGHT ; 4 | ||
shift_const D_LEFT ; 5 | ||
shift_const D_UP ; 6 | ||
shift_const D_DOWN ; 7 | ||
|
||
DEF NO_INPUT EQU %00000000 | ||
DEF A_BUTTON EQU 1 << A_BUTTON_F | ||
DEF B_BUTTON EQU 1 << B_BUTTON_F | ||
DEF SELECT EQU 1 << SELECT_F | ||
DEF START EQU 1 << START_F | ||
DEF D_RIGHT EQU 1 << D_RIGHT_F | ||
DEF D_LEFT EQU 1 << D_LEFT_F | ||
DEF D_UP EQU 1 << D_UP_F | ||
DEF D_DOWN EQU 1 << D_DOWN_F | ||
DEF NO_INPUT EQU %00000000 | ||
|
||
DEF BUTTONS EQU A_BUTTON | B_BUTTON | SELECT | START | ||
DEF D_PAD EQU D_RIGHT | D_LEFT | D_UP | D_DOWN | ||
|
||
DEF R_DPAD EQU %00100000 | ||
DEF R_BUTTONS EQU %00010000 | ||
DEF BUTTONS EQU A_BUTTON | B_BUTTON | SELECT | START | ||
DEF D_PAD EQU D_RIGHT | D_LEFT | D_UP | D_DOWN |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.