--- nono/vm/x68kkbd.h 2026/04/29 17:05:24 1.1.1.13 +++ nono/vm/x68kkbd.h 2026/04/29 17:05:49 1.1.1.16 @@ -11,8 +11,6 @@ #pragma once #include "keyboard.h" -#include "event.h" -#include "monitor.h" #include class MFPDevice; @@ -70,22 +68,22 @@ class X68030Keyboard : public Keyboard void SendStart() override; // キーリピートイベント - void ReptCallback(Event& ev); + void ReptCallback(Event *); // マウスイベント - void MouseCallback(Event& ev); + void MouseCallback(Event *); // 変換テーブル static const uint keycode2x68kkey_table[KC_max]; // キーリピート開始時間 - int rept_delay_data {}; // 設定値 + uint rept_delay_data {}; // 設定値 uint64 rept_delay {}; // [nsec] // キーリピート間隔 - int rept_time_data {}; // 設定値 + uint rept_time_data {}; // 設定値 uint64 rept_time {}; // [nsec] // キーリピートイベント - Event rept_event { this }; + Event *rept_event {}; // リピートしている共通キーコード uint rept_key {}; @@ -109,9 +107,9 @@ class X68030Keyboard : public Keyboard SysportDevice *sysport {}; // マウスイベント - Event mouse_event { this }; + Event *mouse_event {}; - Monitor monitor { this }; + Monitor *monitor {}; // X680x0 キーコード static const uint NoKey = 0;