Sha256: 4910c6420edb24ee11d5a23c9d574d867467ccbe5bca38907debfd42eb527bf6

Contents?: true

Size: 668 Bytes

Versions: 1

Compression:

Stored size: 668 Bytes

Contents

require 'vedeu/repositories/all'
require 'vedeu/input/mapper'
require 'vedeu/input/keys'
require 'vedeu/input/key'
require 'vedeu/input/input'
require 'vedeu/input/keymap'

module Vedeu

  # Define a keymap called '_system_' which will hold some vital keys needed by
  # Vedeu to run effectively.
  Vedeu::DSL::Keymap.keymap('_system_') do |keymap|
    Vedeu::Configuration.system_keys.each do |label, keypress|
      keymap.key(keypress) { Vedeu.trigger(("_" + label.to_s + "_").to_sym) }
    end
  end

  # Define a keymap called '_global_' which will respond no matter which
  # interface is in focus.
  Vedeu::DSL::Keymap.keymap('_global_') do

  end

end # Vedeu

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
vedeu-0.3.2 lib/vedeu/input/all.rb