構造体 Keyboard

describes a keyboard [詳細]

#include <keyboard.h>

すべてのメンバ一覧

Public 変数

int background
int keyboardOnSub
int offset_x
int offset_y
int grid_width
int grid_height
KeyboardState state
int shifted
int visible
KeyMapmappings [4]
const u16 * tiles
u32 tileLen
const u16 * palette
u32 paletteLen
int mapBase
int tileBase
int tileOffset
u32 scrollSpeed
KeyChangeCallback OnKeyPressed
KeyChangeCallback OnKeyReleased

説明

describes a keyboard

例:

input/keyboard/keyboard_stdin/source/keymain.c.


変数

Background number to use, after init() this contains the background ID >

the grid height, this size will be used to translate y coordinate of touch to y coordinate in keymap >

the grid width, this size will be used to translate x coordinate of touch to x coordinate in keymap >

boolean to determine if keyboard is on sub screen or main >

map base to be used by the keyboard>

x offset of the map, can be used to center a custom keyboard >

y offset of the map, can be used to center a custom keyboard >

will be called on key press>

例:
input/keyboard/keyboard_stdin/source/keymain.c.

will be called on key release >

const u16* Keyboard::palette

pointer to the palette>

length in bytes of the palette data>

keyboard scroll speed on hide and show in pixels per frame (must be positive and 0 == instant on)

true if shifted>

the state of the keyboard>

tile base to be used by keyboard graphics>

length in bytes of graphics data>

tile offset (in bytes) to load graphics (map must be preadjusted) >

const u16* Keyboard::tiles

pointer to graphics tiles, cannot exceed 44KB with default base>

true if visible>


この構造体の説明は次のファイルから生成されました:
 全て クラス ファイル 関数 変数 型定義 列挙型 列挙型の値 マクロ定義
libndsに対してMon Apr 26 23:39:50 2010に生成されました。  doxygen 1.6.3