How to enumerate NOTE key

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
odqpbo
Posts: 2
Joined: Sun Jan 13, 2008 1:46 pm

How to enumerate NOTE key

Post by odqpbo »

pspctrl.h says,
PSP_CTRL_NOTE, PSP_CTRL_SCREEN, PSP_CTRL_VOLUP,
PSP_CTRL_VOLDOWN, PSP_CTRL_DISC, PSP_CTRL_WLAN_UP,
PSP_CTRL_REMOTE, PSP_CTRL_MS can only be read in kernel mode


Does anyone show me some sample code? Thanks!!
Art
Posts: 642
Joined: Wed Nov 09, 2005 8:01 am

Post by Art »

Like any other button.

Code: Select all

			if (pad.Buttons & PSP_CTRL_NOTE) {
			saveScreen();
			} // note
If not actually, then potentially.
Post Reply