KallistiOS git master
Independent SDK for the Sega Dreamcast
Loading...
Searching...
No Matches
maple.c File Reference
#include <stdint.h>
#include <stdio.h>
#include <stdbool.h>
#include <stdlib.h>
#include <kos.h>

Functions

static void on_maple_attach (maple_device_t *dev, void *user_data)
 
static void on_maple_detach (maple_device_t *dev, void *user_data)
 
static void on_press_start (uint8_t address, uint32_t buttons)
 
int main (int argc, char *argv[])
 

Variables

static volatile bool quit = false
 

Function Documentation

◆ main()

◆ on_maple_attach()

◆ on_maple_detach()

static void on_maple_detach ( maple_device_t * dev,
void * user_data )
static

◆ on_press_start()

static void on_press_start ( uint8_t address,
uint32_t buttons )
static

References quit.

Referenced by main().

Variable Documentation

◆ quit

volatile bool quit = false
static

Referenced by main(), and on_press_start().