summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/ti99/internal/genkbd.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/ti99/internal/genkbd.h')
-rw-r--r--src/devices/bus/ti99/internal/genkbd.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/devices/bus/ti99/internal/genkbd.h b/src/devices/bus/ti99/internal/genkbd.h
index 76ebb02ed40..78d985a6160 100644
--- a/src/devices/bus/ti99/internal/genkbd.h
+++ b/src/devices/bus/ti99/internal/genkbd.h
@@ -2,7 +2,7 @@
// copyright-holders:Michael Zapf
/**********************************************************************
- Geneve 9640 101-key XT/AT keyboard (High-level emulation)
+ Geneve 9640 101-key XT/AT keyboard (High-level emulation)
*********************************************************************/
@@ -27,7 +27,7 @@ public:
// construction/destruction
geneve_xt_101_hle_keyboard_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
DECLARE_WRITE_LINE_MEMBER( reset_line );
-
+
protected:
// device-level overrides
void device_start() override;
@@ -37,11 +37,11 @@ protected:
// device_pc_kbd_interface overrides
DECLARE_WRITE_LINE_MEMBER( clock_write ) override;
DECLARE_WRITE_LINE_MEMBER( data_write ) override;
-
+
private:
emu_timer *m_poll_timer;
emu_timer *m_send_timer;
-
+
void device_timer(emu_timer &timer, device_timer_id id, int param, void *ptr) override;
static constexpr unsigned KEYQUEUESIZE = 256;
@@ -52,9 +52,9 @@ private:
void poll();
void send_key();
void post_in_key_queue(int key);
-
+
required_ioport_array<8> m_keys;
-
+
int m_queue_length;
int m_queue_head;
uint8_t m_queue[KEYQUEUESIZE];
@@ -63,7 +63,7 @@ private:
int m_autorepeat_timer;
bool m_fake_shift_state;
bool m_fake_unshift_state;
-
+
bool m_left_shift;
bool m_right_shift;
bool m_left_ctrl;
@@ -71,13 +71,13 @@ private:
bool m_left_alt;
bool m_altgr;
bool m_numlock;
-
+
bool m_resetting;
-
+
line_state m_clock_line;
line_state m_data_line;
int m_reset_timer;
-
+
int m_shift_reg;
int m_shift_count;
};