Skip to content

jrobertson/keystroker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Introducing the Keystroker gem

Usage

require 'keystroker'

s = '{tab} this is a test {enter} {ctrl+a}'
ks = Keystroker.new
ks.parse_hg0(s)
puts ks.to_kbml pretty: true

Output:

<?xml version='1.0' encoding='UTF-8'?>
<kbml>
  <tab/>
  <type>this is a test</type>
  <enter/>
  <ctrl key='a'/>
</kbml>

Resources

keystroker sendkeys hidg0 gem

About

Makes it easier to convert keystrokes from 1 format to another. Primary format is KBML.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages