View this PageEdit this Page (locked)Uploads to this PageHistory of this PageHomeRecent ChangesSearchHelp Guide

Giz Notes


service pack A

mywince (4.2)


Registry Editor


NK Decrypter


Edgelib v3.30



BUTTON MAPPINGS
void ClassMain::OnButtonDown(unsigned long bnr, EBUTTONLIST blist)
bnr =

FastForward = 32
Rewind = 16
Play = 13
Stop = 17
Dpad Up = 38
Dpad Down = 40
Dpad Left = 37
Dpad Right = 39
Home = 112
Volume = 113
Brightness = 114
Triangle = not assigned
Power = 122
L = 9
R = 27

This method doesn't work (most likely because the integer mappings to DIAM_MENUUP and such are not correct)!
ecd.input->MappedTo(DIAM_MENUUP, bnr)



//Main Game Loop:
ERESULT ClassMain::OnNextFrame(ClassEDisplay display, unsigned long timedelta){}

//Fill the screen with a background color
display->buffer.FillRect(NULL, BGCOLOR);

  1. define BGCOLOR ECOLOR_NAVY //Use a dark shade of blue as background color


//Show general information on how to use this program
display-buffer.DrawFont(2, display-buffer.GetHeight() - display-fontinternal.GetFontHeight() 3 - 2, &display->fontinternal, "Arrows: Adjust gravity");
display->buffer.DrawFont(2, display->buffer.GetHeight() - display->fontinternal.GetFontHeight() 2 - 2, &display->fontinternal, "Confirm: Pause generator");
display->buffer.DrawFont(2, display->buffer.GetHeight() - display->fontinternal.GetFontHeight() - 2, &display->fontinternal, "Other keys/Stylus: Quit");

Link to this Page

  • Fall 08 Class last edited on 4 June 2008 at 3:45 pm by lawn-128-61-20-239.lawn.gatech.edu