mirror of
https://github.com/libretro/opera-libretro.git
synced 2026-11-07 04:25:58 -10:00
All the memory stuff is connected so when fixing the save states it made sense to prepare for fixing up and enhancing the memory code. Particularly for allowing for configurable amounts of memory for homebrew.
21 lines
622 B
C
21 lines
622 B
C
#ifndef LIBRETRO_LR_INPUT_H_INCLUDED
|
|
#define LIBRETRO_LR_INPUT_H_INCLUDED
|
|
|
|
#include "libretro.h"
|
|
|
|
#include <stdint.h>
|
|
|
|
#define LR_INPUT_MAX_DEVICES 8
|
|
|
|
#define RETRO_DEVICE_FLIGHTSTICK RETRO_DEVICE_SUBCLASS(RETRO_DEVICE_JOYPAD,0)
|
|
#define RETRO_DEVICE_ARCADE_LIGHTGUN RETRO_DEVICE_SUBCLASS(RETRO_DEVICE_LIGHTGUN,0)
|
|
#define RETRO_DEVICE_ORBATAK_TRACKBALL RETRO_DEVICE_SUBCLASS(RETRO_DEVICE_JOYPAD,1)
|
|
|
|
void lr_input_device_set(const uint32_t port_,
|
|
const uint32_t device_);
|
|
uint32_t lr_input_device_get(const uint32_t port_);
|
|
|
|
void lr_input_update(const uint32_t active_devices_);
|
|
|
|
#endif
|