path: root/src/emu/render.h
diff options
author hap <>2019-03-23 11:50:36 +0100
committer hap <>2019-03-23 11:50:54 +0100
commit57cb0af3f0d51263a6c67859cf9961eb4d113a75 (patch)
tree91fa86534f374074be63400ee644f82b57bd73c9 /src/emu/render.h
parent842aa09d6af73796a9f52e1dd64f82ddcdbb68de (diff)
layout: added "inputraw" parameter, for use with inputtag and inputmask. It sets the element state directly to the raw input data & mask. Example uses: 8 way joystick state, multi-bitmask dipswitch state. If you don't want it to respond to layout mouse clicks, add a dummy inputtag rect under it. (nw)
Diffstat (limited to 'src/emu/render.h')
1 files changed, 1 insertions, 0 deletions
diff --git a/src/emu/render.h b/src/emu/render.h
index 9660b8fc71f..1500dafea73 100644
--- a/src/emu/render.h
+++ b/src/emu/render.h
@@ -852,6 +852,7 @@ public:
std::string m_input_tag; // input tag of this item
ioport_port * m_input_port; // input port of this item
ioport_value m_input_mask; // input mask of this item
+ bool m_input_raw; // get raw data from input port
screen_device * m_screen; // pointer to screen
int m_orientation; // orientation of this item
render_bounds m_bounds; // bounds of the item