comparison src/dsjoy.c @ 2:80a2761bd3a4

change DS keys (add alt. rotate)
author paulo@localhost
date Mon, 23 Mar 2009 01:19:12 -0700
parents c84446dfb3f5
children 17286938e22a
comparison
equal deleted inserted replaced
0:4c355179f3b6 1:8a212acf555f
32 if (hwKeys & (KEY_L | KEY_R)) { 32 if (hwKeys & (KEY_L | KEY_R)) {
33 out |= VKEY_HOLD; 33 out |= VKEY_HOLD;
34 } 34 }
35 35
36 #ifdef ARM9 36 #ifdef ARM9
37 if (hwKeys & KEY_X) { 37 // if (hwKeys & KEY_X) {
38 out |= VKEY_MACRO(3); 38 // out |= VKEY_MACRO(3);
39 } 39 // }
40 if (hwKeys & KEY_Y) { 40 if (hwKeys & KEY_Y) {
41 out |= VKEY_MACRO(2); 41 out |= VKEY_MACRO(0);//VKEY_MACRO(2);
42 } 42 }
43 #endif 43 #endif
44 44
45 // on the GBA and DS, we need to add the console buttons in 45 // on the GBA and DS, we need to add the console buttons in
46 out |= hwKeys << 16; 46 out |= hwKeys << 16;