Data object PointerButton
interface struct PointerButton
Interface that encapsulates button interface of a pointer device.
Fields
keyCode
com.amazon.kepler.input.events.KeyCode — Required
Returns key code. Note, key code for ‘a’ or ‘A’ would be same. Use keyName() for that purpose.
keyState
com.amazon.kepler.input.events.KeyState — Required
Returns key state. Valid states are UP, DOWN and REPEAT.
pressedPosInPixel
PointF — Required
Returns position of the pointer button in surface local coordinate in logical pixel unit
when it was pressed.
