|
||||||||||||||||||
Add Forum to Favorites | Send Topic To a Friend | View Forum FAQ | Track this topic |
Last Thread Next Thread ![]() |
| GBA Development From the Ground Up, Volume 3 |
|
![]() Anonymous Poster |
||||
|
||||
| Thanks for the GREAT tutorials! Cant wait to read the next articles. |
||||
|
||||
![]() Anonymous Poster |
||||
|
||||
| I managed to download some sample programs, compile them and run them with Visual Boy Advance. I've been playing around with the code, but can't figure out how to check for 2 or more buttons being pressed simultaneously. I like the keypad.h but is there not a way to check for this? you know A + B, up + A, etc. |
||||
|
||||
![]() Anonymous Poster |
||||
|
||||
| Nevermind about that keypad.h, you just add the numbers up i.e. #define KEY_AB KEY_A + KEY_B or #define KEY_AB 3 |
||||
|
||||
![]() siaspete Member since: 10/10/2001 From: Edinburgh, United Kingdom |
||||
|
|
||||
| Doesn't anyone register any more? ;-) You can add, but it makes more sense to "or" them together. Also, ALWAYS put brackets round your defines. Don't: #define KEY_AB KEY_A | KEY_B Do: #define KEY_AB (KEY_A | KEY_B) [edited by - siaspete on March 15, 2002 8:22:49 PM] |
||||
|
||||
![]() Link Member since: 1/9/2003 |
||||
|
|
||||
| when will arrive next articles? |
||||
|
||||
All times are ET (US)![]() |
Last Thread Next Thread ![]() |
|