Input Manager

Description

Input manager is responsible for handle some operation of keyboard、mouse、touch and so on. Common interfaces have wrapped in qc.Input

Class

Class Description
qc.Input Basic input event manager
qc.BaseInputModule Advanced input event manager
qc.Keyboard Keyborad manager
qc.Mouse Mouse manager
qc.Touch Touch manager
qc.Key Key object
qc.Pointer Pointer object
qc.BaseInputEvent Basic input event
qc.WheelEvent Mouse wheel event
qc.CursorMoveEvent Cursor move event
qc.PointerEvent Pointer event
qc.DragStartEvent Drag start event
qc.DragEndEvent Drag end event
qc.DragEvent Drag event
qc.DropEvent Drag drop event

Sample

Demo