Class: Casper::Libxdo::XdoActiveMods

Inherits:
FFI::Struct
  • Object
show all
Defined in:
lib/libxdo.rb

Overview

XXX: Is the native documentation off by a field? Feels like it. class Charcodemap < FFI::Struct

# XXX: keycode isn"t a type
layout :code          ,:KeyCode, # the letter for this key, like "a"
       :symbol        ,:KeySym,  # the keycode that this key is on
       :index         ,:int,     # the symbol representing this key
       :modmask       ,:int,     # the index in the keysym-per-keycode list that is this key
       :needs_binding ,:int      # the modifiers activated by this key

end