SkillAgentSearch skills...

Touchkey

No description available

Install / Use

/learn @nbartlomiej/Touchkey
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

=Touchkey

==About

Version 0.03 (early prototype)

It's an attempt to turn keyboard into a touchpad. It might not turn out to function exactly the same way, but should provide similar benefits (the ability to control a mouse pointer in a quick and precise way) with an additional one of not moving your hands off the keyboard.

==Usage

Dependencies

1.Linux OS (OSX version planned)
2.libxtst-dev

Running

1. Cd into project directory
2. bundle install
3. rspec spec (compiles everything and runs tests)
4. ruby ./bin/touchkey.rb

Press Super key (a.k.a. windows key) and any letter/number key.

  • Super+L => exit
  • Super+Space => mouseclick (left button)

==Helpful links

  • Crating ruby extensions in C: http://www.rubyinside.com/how-to-create-a-ruby-extension-in-c-in-under-5-minutes-100.html
  • Simple C program for manipulating pointer position in Linux: http://www.isv.uu.se/~ziemann/xevent/
  • Introduction to ruby intperpreter's C internals: http://rhg.rubyforge.org/chapter02.html
  • Another introduction to ruby's C-side: http://people.apache.org/~rooneg/talks/ruby-extensions/ruby-extensions.html

==References

  • Another approach: http://www.topology.org/linux/xcursor.html
View on GitHub
GitHub Stars9
CategoryDevelopment
Updated6y ago
Forks0

Languages

Ruby

Security Score

65/100

Audited on Aug 13, 2019

No findings