KallistiOS git master
Independent SDK for the Sega Dreamcast
Loading...
Searching...
No Matches
lightgun.h
Go to the documentation of this file.
1/* KallistiOS ##version##
2
3 dc/maple/lightgun.h
4 Copyright (C) 2015 Lawrence Sebald
5
6*/
7
8/** \file dc/maple/lightgun.h
9 \brief Definitions for using the light gun.
10 \ingroup peripherals_lightgun
11
12 This file contains the definitions needed to access maple light gun devices.
13 There's really no user-serviceable parts in here, as there's very little to
14 this driver.
15
16 \author Lawrence Sebald
17*/
18
19#ifndef __DC_MAPLE_LIGHTGUN_H
20#define __DC_MAPLE_LIGHTGUN_H
21
22#include <sys/cdefs.h>
23__BEGIN_DECLS
24
25/** \defgroup peripherals_lightgun Lightgun
26 \brief Maple driver for the lightgun accessory
27 \ingroup peripherals
28
29 @{
30*/
31
32/* \cond */
33/* Init / Shutdown */
34void lightgun_init(void);
35void lightgun_shutdown(void);
36/* \endcond */
37
38/** @} */
39
40__END_DECLS
41
42#endif /* __DC_MAPLE_LIGHTGUN_H */