#115741 - NeX - Thu Jan 18, 2007 9:53 pm
What do these do? I've tried pumping them with incrementing values, but nothing happens... hardware or emulator. Dualis crashed once, though, and the bottom screen's brightness changed rapidly.
Code: |
#define BRIGHT_OFF (0<<14)
#define BRIGHT_UP (1<<14) #define BRIGHT_DOWN (2<<14) int brightness = 6; // a value from 0 to 16 BRIGHTNESS = brightness & BRIGHT_UP; // lighten SUB_BRIGHTNESSS = brightness & BRIGHT_DOWN; // darken BRIGHTNESS = BRIGHT_OFF; // disable brightness adjustments |