Class

TrackpadButton

Representation of a trackpad button with its associated IDbuttonId for the current platform.

Source set: Common
expect value class TrackpadButton(val buttonId: Int)

Representation of a trackpad button with its associated ID for the current platform.

Companion Object

Properties

Source set: Common
val Primary: TrackpadButton

The primary trackpad button. Typically the left trackpad button.

Source set: Common
val Secondary: TrackpadButton

The secondary trackpad button. Typically the right trackpad button.

Source set: Common
val Tertiary: TrackpadButton

The tertiary trackpad button. Typically the middle trackpad button.

Source set: Android
actual value class TrackpadButton(val buttonId: Int)

Companion Object

Properties

Source set: Android
actual val Primary = TrackpadButton(MotionEvent.BUTTON_PRIMARY)

The left trackpad button

Source set: Android
actual val Secondary = TrackpadButton(MotionEvent.BUTTON_SECONDARY)

The right trackpad button

Source set: Android
actual val Tertiary = TrackpadButton(MotionEvent.BUTTON_TERTIARY)

The middle trackpad button

Last updated: