# OHOS::RootView::OnVirtualDeviceEventListener - [Overview](#section1074318899165633) - [Summary](#section1843961137165633) - [Public Member Functions](#pub-methods) ## **Overview** **Related Modules:** [Graphic](Graphic.md) **Description:** Listens for the input events triggered by a virtual device other than human touching or physical pressing. **Since:** 1.0 **Version:** 1.0 ## **Summary** ## Public Member Functions

Function

Description

OnVirtualDeviceEvent (UIView &view, VirtualDeviceEvent event)=0

virtual bool

Responds to an input event triggered by a virtual device.

operator new (size_t size)

void *

Overrides the new function.

operator delete (void *p)

void

Overrides the delete function.