From 7508c43119a99f9a24ae588384c5a2ff84defb88 Mon Sep 17 00:00:00 2001 From: icex2 Date: Wed, 16 Dec 2020 22:43:37 +0100 Subject: [PATCH] bt5 api/iidxio: Add missing enum to easily identify top lamp order --- src/main/bemanitools/iidxio.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/main/bemanitools/iidxio.h b/src/main/bemanitools/iidxio.h index 95d42b6..30bcdd0 100644 --- a/src/main/bemanitools/iidxio.h +++ b/src/main/bemanitools/iidxio.h @@ -70,6 +70,19 @@ enum iidx_io_panel_light { IIDX_IO_PANEL_LIGHT_EFFECT = 3, }; +/* Bit mapping for the top lamps from left to right when facing cabinet screen */ + +enum iidx_io_top_lamp { + IIDX_IO_TOP_LAMP_LEFT_BLUE = 0, + IIDX_IO_TOP_LAMP_LEFT_GREEN = 1, + IIDX_IO_TOP_LAMP_LEFT_YELLOW = 2, + IIDX_IO_TOP_LAMP_LEFT_RED = 3, + IIDX_IO_TOP_LAMP_RIGHT_BLUE = 4, + IIDX_IO_TOP_LAMP_RIGHT_GREEN = 5, + IIDX_IO_TOP_LAMP_RIGHT_YELLOW = 6, + IIDX_IO_TOP_LAMP_RIGHT_RED = 7, +}; + /* The first function that will be called on your DLL. You will be supplied with four function pointers that may be used to log messages to the game's log file. See comments in glue.h for further information. */