Skip to content

Commit

Permalink
[pce] Fix #335 (#338)
Browse files Browse the repository at this point in the history
  • Loading branch information
asiekierka committed Jun 16, 2024
1 parent 0278320 commit c5ff345
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions mos-platform/pce-common/libpce/include/pce/joypad.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@ extern "C" {
* Functionality related to the joypad.
*/

#define KEY_LEFT 0x80
#define KEY_RIGHT 0x40
#define KEY_DOWN 0x20
#define KEY_UP 0x10
#define KEY_RUN 0x08
#define KEY_LEFT 0x80
#define KEY_DOWN 0x40
#define KEY_RIGHT 0x20
#define KEY_UP 0x10
#define KEY_RUN 0x08
#define KEY_SELECT 0x04
#define KEY_2 0x02
#define KEY_1 0x01
#define KEY_2 0x02
#define KEY_1 0x01

/**
* @brief Write a value to the joypad I/O port, then read the result.
Expand Down

0 comments on commit c5ff345

Please sign in to comment.