pspsdk-1.0+beta2
Main Page
Modules
Data Structures
Files
File List
Globals
pspdebugkb.h
Go to the documentation of this file.
1
/*
2
* PSP Software Development Kit - http://www.pspdev.org
3
* -----------------------------------------------------------------------
4
* Licensed under the BSD license, see LICENSE in PSPSDK root for details.
5
*
6
* pspdebugkb.h - Simple screen debug keyboard
7
*
8
* Copyright (c) 2006 Mike Mallett <mike@nerdcore.net>
9
*
10
* $Id: pspdebugkb.h 2110 2006-12-19 14:50:27Z tyranid $
11
*/
12
13
#ifndef __PSPDEBUGKB_H
14
#define __PSPDEBUGKB_H
15
16
#ifdef __cplusplus
17
extern
"C"
{
18
#endif
19
20
enum
PspDebugKbSettings
{
22
PSP_DEBUG_KB_MAXLEN
= 40,
24
PSP_DEBUG_KB_BOX_X
= 6,
25
PSP_DEBUG_KB_BOX_Y
= 8,
27
PSP_DEBUG_KB_CHAR_COLOUR
= 0xffffffff,
28
PSP_DEBUG_KB_BACK_COLOUR
= 0xff000000,
30
PSP_DEBUG_KB_CHAR_HIGHLIGHT
= 0xff00ff00,
31
PSP_DEBUG_KB_BACK_HIGHLIGHT
= 0xff101010,
33
PSP_DEBUG_KB_OFFSET_X
= 6,
34
PSP_DEBUG_KB_OFFSET_Y
= 4,
36
PSP_DEBUG_KB_SPACING_X
= 3,
37
PSP_DEBUG_KB_SPACING_Y
= 2,
39
PSP_DEBUG_KB_NUM_CHARS
= 13,
40
PSP_DEBUG_KB_NUM_ROWS
= 4,
42
PSP_DEBUG_KB_BOX_WIDTH
= (
PSP_DEBUG_KB_NUM_CHARS
*
PSP_DEBUG_KB_SPACING_X
) + (2 *
PSP_DEBUG_KB_OFFSET_X
),
43
PSP_DEBUG_KB_BOX_HEIGHT
= ((
PSP_DEBUG_KB_NUM_ROWS
+ 1) *
PSP_DEBUG_KB_SPACING_Y
) +
PSP_DEBUG_KB_OFFSET_Y
,
45
PSP_DEBUG_KB_COMMAND_ROW
= 4,
47
PSP_DEBUG_KB_NUM_COMMANDS
= 5
48
};
49
55
void
pspDebugKbShift
(
int
*shiftState);
56
64
void
pspDebugKbDrawKey
(
int
row,
int
col,
int
highlight);
65
71
void
pspDebugKbDrawString
(
char
*str);
72
77
void
pspDebugKbClearBox
();
78
83
void
pspDebugKbDrawBox
();
84
90
void
pspDebugKbInit
(
char
*str);
91
92
#ifdef __cplusplus
93
}
94
#endif
95
96
#endif
src
debug
pspdebugkb.h
Generated on Sat Apr 9 2016 07:00:25 for pspsdk-1.0+beta2 by
1.8.1.2