Skip to content

Commit 78dcc94

Browse files
QuzarDCQuzarDC
authored andcommitted
Add controller type for Dreameye Camera
The Dreameye presents itself as a controller with its flash storage and video functionality as subdevices. The shutter button on the Dreameye is mapped to 'D'.
1 parent d3e111b commit 78dcc94

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

kernel/arch/dreamcast/include/dc/maple/controller.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -479,6 +479,10 @@ int __pure cont_has_capabilities(const struct maple_device *cont, uint32_t capab
479479
CONT_CAPABILITIES_TRIGGERS | \
480480
CONT_CAPABILITIES_DPAD | \
481481
CONT_CAPABILITIES_DUAL_ANALOG)
482+
483+
/** \brief Dreameye controller type */
484+
#define CONT_TYPE_DREAMEYE (CONT_CAPABILITY_D)
485+
482486
/** @} */
483487

484488
/** \brief Check for controller type

0 commit comments

Comments
 (0)