Project

vigilem

0.0
Repository is archived
No commit activity in last 3 years
No release in over 3 years
device watcher that converts system calls to DOM
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.7
~> 10.0

Runtime

 Project Readme

Vigilem

cross platform device (currently just keyboard) DOM watcher

Description

Vigilem is a meta-gem, which depends on vigilem-assembly (which in turn depends on vigilem-win32_api-stat, vigilem-evdev-stat) Vigilem installs, depending on the platform, vigilem-win32_api or vigilem-evdev.

installation

$gem install vigilem

(evdev/linux will ask for sudo/rvmsudo password)

examples

  #with sudo
  require 'vigilem/keyboard'
  k = Vigilem::Keyboard.new
  k.read_one

known_issues

  • doesn't work on Mac or Bsd
  • evdev load time it awful
  • mapping/charset issues on evdev
  • no write ability only read

rbenv, rvm

tested on

  • ruby 2.0.0 [x64-mingw32] mri
  • Linux kernels 3.15, 3.2.0
  • ruby 2.0.0 x64 Linux mri
  • ruby 2.0.0 x32 Linux mri

Roadmap

  • 1.0.0:
    • @todo's, bug fixes, evdev load performance
    • Mac/Bsd
    • mouse
    • jettison system items to own gems
    • less brittel tests
  • next
    • real Xwindow backend
    • use an idl compiler
    • complete ffi items
  • looking forward
    • WindowsRT/touch events/ next gen win api
    • wayland/mir etc

Also see