git.openpandora.org
/
pandora-libraries.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
new pnd_make.sh with many changes (but still compatible when usign the
[pandora-libraries.git]
/
include
/
pnd_io_gpio.h
diff --git
a/include/pnd_io_gpio.h
b/include/pnd_io_gpio.h
index
79bdfea
..
c3ffc13
100755
(executable)
--- a/
include/pnd_io_gpio.h
+++ b/
include/pnd_io_gpio.h
@@
-1,18
+1,19
@@
#ifndef GLES2D_EVENT_H
#define GLES2D_EVENT_H
#ifndef GLES2D_EVENT_H
#define GLES2D_EVENT_H
+// I really want to convert this to be a bitmask, but another day
typedef enum {
typedef enum {
- pke_pad_up =
1<<
0,
- pke_pad_down =
1<<
1,
- pke_pad_left =
1<<
2,
- pke_pad_right =
1<<
3,
- pke_pad_menu =
1<<
4,
- pke_pad_x =
1<<
5,
- pke_pad_y =
1<<
6,
- pke_pad_a =
1<<
7,
- pke_pad_b =
1<<
8,
- pke_pad_l =
1<<
9,
- pke_pad_r =
1<<
10,
+ pke_pad_up =
0,
+ pke_pad_down =
1,
+ pke_pad_left =
2,
+ pke_pad_right = 3,
+ pke_pad_menu =
4,
+ pke_pad_x =
5,
+ pke_pad_y =
6,
+ pke_pad_a =
7,
+ pke_pad_b =
8,
+ pke_pad_l =
9,
+ pke_pad_r =
10,
pke_pad_max
} pnd_keytype_e;
pke_pad_max
} pnd_keytype_e;