#pragma once#include"cfbd_define.h"#include"input_device_base.h"typedefuint32_tCFBDInputDeviceEventType_t;typedefstruct__CFBDInputEventContextCFBDInputEventContext;#define CFBDInputDeviceEventType_INVALID_ID (0)#define CFBDInputDeviceEventType_SYSDEF_START (CFBDInputDeviceEventType_INVALID_ID + 1)#define CFBDInputDeviceEventType_USER_START (0x100)typedefstruct__CFBDInputEvent{CFBDInputDeviceEventType_tevent_indicates;// what events?CFBDInputDeviceID_tdevice_id;// what device?void*event_private_data;// event_datasCFBD_Boolstop_propergate;// should stop propergate?}CFBDInputEvent;// OK, Events here contains what where are the session fromvoidCFBD_CreateEvent(CFBDInputEvent*event,CFBDInputDeviceBase*baseDevic,CFBDInputDeviceEventType_teventType);staticinlinevoidCFBD_SetEventStopHandled(CFBDInputEvent*event){event->stop_propergate=CFBD_TRUE;}