struct
GPM::Event
- GPM::Event
- Struct
- Value
- Object
Defined in:
gpm.crConstructors
Instance Method Summary
- #buttons : Buttons
- #clicks : Int32
- #clone
- #copy_with(buttons _buttons = @buttons, modifiers _modifiers = @modifiers, vc _vc = @vc, dx _dx = @dx, dy _dy = @dy, x _x = @x, y _y = @y, types _types = @types, clicks _clicks = @clicks, margins _margins = @margins, wdx _wdx = @wdx, wdy _wdy = @wdy)
- #ctrl? : Bool
- #dx : Int16
- #dy : Int16
-
#left? : Bool
Which physical button the event pertains to.
- #margins : Margins
- #meta? : Bool
- #middle? : Bool
- #modifiers : Modifiers
-
#moved? : Bool
Pointer motion (a bare move, or a drag with a button held).
-
#pressed? : Bool
Action classification, derived from the
Typesflags. - #released? : Bool
- #right? : Bool
-
#shift? : Bool
Modifier keys held during the event.
- #types : Types
- #vc : UInt16
- #wdy : Int16
- #wheel? : Bool
- #wheel_down? : Bool
-
#wheel_up? : Bool
Scroll-wheel motion (GPM reports it through the
UP/DOWNbutton bits). - #x : Int16
- #y : Int16
Constructor Detail
def self.new(buttons : Buttons, modifiers : Modifiers, vc : UInt16, dx : Int16, dy : Int16, x : Int16, y : Int16, types : Types, clicks : Int32, margins : Margins, wdx : Int16, wdy : Int16)
#
Instance Method Detail
def copy_with(buttons _buttons = @buttons, modifiers _modifiers = @modifiers, vc _vc = @vc, dx _dx = @dx, dy _dy = @dy, x _x = @x, y _y = @y, types _types = @types, clicks _clicks = @clicks, margins _margins = @margins, wdx _wdx = @wdx, wdy _wdy = @wdy)
#