Sha256: e0661b8d0bad8b879c00bfb792ba7dd89621fadc24fc78e07486b8dfd182bade

Contents?: true

Size: 707 Bytes

Versions: 5

Compression:

Stored size: 707 Bytes

Contents

require 'vedeu/repositories/all'

require_relative 'mapper'
require_relative 'key'
require_relative 'input'
require_relative '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_sym) }
    end
  end

  # Define a keymap called '_global_' which will respond no matter which
  # interface is in focus.
  #
  # @note
  #   Initially, no keys are registered with the global keymap.
  Vedeu::DSL::Keymap.keymap('_global_') do
    # ...
  end

end # Vedeu

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
vedeu-0.4.18 lib/vedeu/input/all.rb
vedeu-0.4.17 lib/vedeu/input/all.rb
vedeu-0.4.16 lib/vedeu/input/all.rb
vedeu-0.4.15 lib/vedeu/input/all.rb
vedeu-0.4.14 lib/vedeu/input/all.rb