KallistiOS git master
Independent SDK for the Sega Dreamcast
Loading...
Searching...
No Matches
Function Codes

Values of maple "function" codes More...

Macros

#define MAPLE_FUNC_PURUPURU   0x00010000
 Jump pack.
 
#define MAPLE_FUNC_MOUSE   0x00020000
 Mouse.
 
#define MAPLE_FUNC_CAMERA   0x00080000
 Camera (Dreameye)
 
#define MAPLE_FUNC_CONTROLLER   0x01000000
 Controller.
 
#define MAPLE_FUNC_MEMCARD   0x02000000
 Memory card.
 
#define MAPLE_FUNC_LCD   0x04000000
 LCD screen.
 
#define MAPLE_FUNC_CLOCK   0x08000000
 Clock.
 
#define MAPLE_FUNC_MICROPHONE   0x10000000
 Microphone.
 
#define MAPLE_FUNC_ARGUN   0x20000000
 AR gun?
 
#define MAPLE_FUNC_KEYBOARD   0x40000000
 Keyboard.
 
#define MAPLE_FUNC_LIGHTGUN   0x80000000
 Lightgun.
 

Detailed Description

Values of maple "function" codes

This is the list of maple device types (function codes). Each device must have at least one function to actually do anything.

Macro Definition Documentation

◆ MAPLE_FUNC_ARGUN

#define MAPLE_FUNC_ARGUN   0x20000000

AR gun?

◆ MAPLE_FUNC_CAMERA

#define MAPLE_FUNC_CAMERA   0x00080000

Camera (Dreameye)

Referenced by main().

◆ MAPLE_FUNC_CLOCK

#define MAPLE_FUNC_CLOCK   0x08000000

Clock.

Referenced by main().

◆ MAPLE_FUNC_CONTROLLER

◆ MAPLE_FUNC_KEYBOARD

#define MAPLE_FUNC_KEYBOARD   0x40000000

Keyboard.

Referenced by kb_test(), kbd_readline(), and main().

◆ MAPLE_FUNC_LCD

#define MAPLE_FUNC_LCD   0x04000000

LCD screen.

Referenced by VmuManager::displayImage(), lcd_test(), and main().

◆ MAPLE_FUNC_LIGHTGUN

#define MAPLE_FUNC_LIGHTGUN   0x80000000

Lightgun.

Referenced by main().

◆ MAPLE_FUNC_MEMCARD

#define MAPLE_FUNC_MEMCARD   0x02000000

Memory card.

Referenced by vmu_read_test(), and write_game_entry().

◆ MAPLE_FUNC_MICROPHONE

#define MAPLE_FUNC_MICROPHONE   0x10000000

Microphone.

◆ MAPLE_FUNC_MOUSE

#define MAPLE_FUNC_MOUSE   0x00020000

Mouse.

Referenced by mouse_render(), and mouse_test().

◆ MAPLE_FUNC_PURUPURU

#define MAPLE_FUNC_PURUPURU   0x00010000

Jump pack.

Referenced by main(), and wait_for_dev_attach().