Skip to content

Latest commit

 

History

History
22 lines (14 loc) · 580 Bytes

supportsMouse.markdown

File metadata and controls

22 lines (14 loc) · 580 Bytes

device.supportsMouse

 
Type Boolean
Library device.*
Keywords mouse, event
See also Sample code

Overview

This property indicates whether the device running the application supports mouse events.

Example

local device = require 'plugin.device'

print( device.supportsMouse )