I have ported my old project “pNesX” game console emulator to the nucleo.

Dependencies:   SDFileSystem mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers pspad.h Source File

pspad.h

00001 /*===================================================================*/
00002 /*                                                                   */
00003 /*  pspad.h : PS Pad function header file                            */
00004 /*                                                                   */
00005 /*  2016/1/20  Racoon                                                */
00006 /*                                                                   */
00007 /*===================================================================*/
00008 #ifndef PSPAD_H
00009 #define PSPAD_H
00010 
00011 // Initialize interface
00012 void pspad_init();
00013 
00014 // Read PS Pad state
00015 // SE -- -- ST U R D L L2 R2 L1 R1 TR O X SQ
00016 void pspad_read(unsigned short *pad1, unsigned short *pad2);
00017 
00018 #endif
00019