fusuma-plugin-sendkey 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +12 -0
- data/.rspec +3 -0
- data/.rubocop.yml +13 -0
- data/.travis.yml +9 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +21 -0
- data/README.md +71 -0
- data/Rakefile +6 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/exe/fusuma-sendkey +41 -0
- data/fusuma-plugin-sendkey.gemspec +40 -0
- data/lib/fusuma/plugin/executors/sendkey_executor.rb +51 -0
- data/lib/fusuma/plugin/sendkey.rb +6 -0
- data/lib/fusuma/plugin/sendkey/keyboard.rb +101 -0
- data/lib/fusuma/plugin/sendkey/version.rb +9 -0
- metadata +229 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: afdee578801f2000ddbdccc13fb96f038690a562f6e391202867f02aa5f7c01b
|
4
|
+
data.tar.gz: 61443a67eaaa58354c8843a4133c30d6063e148bc98ff2d683a49782615ddbd1
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 05adaa93109610fc54290512fd9d1694c99eb2db192f1976254d26d6d9d65b1691e576b5eb001aa61a72a564f5bbfa084d542e1c43f3209df4d99cc954e2d2d5
|
7
|
+
data.tar.gz: fc7358d9338e3ea77d868c219db41277857983fe85fcbc5c8d1801d1fd94563277d2b10a1686f7aeed96f5ab627172b6ef00f7ce6883d2cd9b16d234b784b137
|
data/.gitignore
ADDED
data/.rspec
ADDED
data/.rubocop.yml
ADDED
data/.travis.yml
ADDED
data/CODE_OF_CONDUCT.md
ADDED
@@ -0,0 +1,74 @@
|
|
1
|
+
# Contributor Covenant Code of Conduct
|
2
|
+
|
3
|
+
## Our Pledge
|
4
|
+
|
5
|
+
In the interest of fostering an open and welcoming environment, we as
|
6
|
+
contributors and maintainers pledge to making participation in our project and
|
7
|
+
our community a harassment-free experience for everyone, regardless of age, body
|
8
|
+
size, disability, ethnicity, gender identity and expression, level of experience,
|
9
|
+
nationality, personal appearance, race, religion, or sexual identity and
|
10
|
+
orientation.
|
11
|
+
|
12
|
+
## Our Standards
|
13
|
+
|
14
|
+
Examples of behavior that contributes to creating a positive environment
|
15
|
+
include:
|
16
|
+
|
17
|
+
* Using welcoming and inclusive language
|
18
|
+
* Being respectful of differing viewpoints and experiences
|
19
|
+
* Gracefully accepting constructive criticism
|
20
|
+
* Focusing on what is best for the community
|
21
|
+
* Showing empathy towards other community members
|
22
|
+
|
23
|
+
Examples of unacceptable behavior by participants include:
|
24
|
+
|
25
|
+
* The use of sexualized language or imagery and unwelcome sexual attention or
|
26
|
+
advances
|
27
|
+
* Trolling, insulting/derogatory comments, and personal or political attacks
|
28
|
+
* Public or private harassment
|
29
|
+
* Publishing others' private information, such as a physical or electronic
|
30
|
+
address, without explicit permission
|
31
|
+
* Other conduct which could reasonably be considered inappropriate in a
|
32
|
+
professional setting
|
33
|
+
|
34
|
+
## Our Responsibilities
|
35
|
+
|
36
|
+
Project maintainers are responsible for clarifying the standards of acceptable
|
37
|
+
behavior and are expected to take appropriate and fair corrective action in
|
38
|
+
response to any instances of unacceptable behavior.
|
39
|
+
|
40
|
+
Project maintainers have the right and responsibility to remove, edit, or
|
41
|
+
reject comments, commits, code, wiki edits, issues, and other contributions
|
42
|
+
that are not aligned to this Code of Conduct, or to ban temporarily or
|
43
|
+
permanently any contributor for other behaviors that they deem inappropriate,
|
44
|
+
threatening, offensive, or harmful.
|
45
|
+
|
46
|
+
## Scope
|
47
|
+
|
48
|
+
This Code of Conduct applies both within project spaces and in public spaces
|
49
|
+
when an individual is representing the project or its community. Examples of
|
50
|
+
representing a project or community include using an official project e-mail
|
51
|
+
address, posting via an official social media account, or acting as an appointed
|
52
|
+
representative at an online or offline event. Representation of a project may be
|
53
|
+
further defined and clarified by project maintainers.
|
54
|
+
|
55
|
+
## Enforcement
|
56
|
+
|
57
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
58
|
+
reported by contacting the project team at yhkyky@gmail.com. All
|
59
|
+
complaints will be reviewed and investigated and will result in a response that
|
60
|
+
is deemed necessary and appropriate to the circumstances. The project team is
|
61
|
+
obligated to maintain confidentiality with regard to the reporter of an incident.
|
62
|
+
Further details of specific enforcement policies may be posted separately.
|
63
|
+
|
64
|
+
Project maintainers who do not follow or enforce the Code of Conduct in good
|
65
|
+
faith may face temporary or permanent repercussions as determined by other
|
66
|
+
members of the project's leadership.
|
67
|
+
|
68
|
+
## Attribution
|
69
|
+
|
70
|
+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
|
71
|
+
available at [http://contributor-covenant.org/version/1/4][version]
|
72
|
+
|
73
|
+
[homepage]: http://contributor-covenant.org
|
74
|
+
[version]: http://contributor-covenant.org/version/1/4/
|
data/Gemfile
ADDED
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2020 iberianpig
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
13
|
+
all copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
+
THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,71 @@
|
|
1
|
+
# Fusuma::Plugin::Sendkey [![Gem Version](https://badge.fury.io/rb/fusuma-plugin-sendkey.svg)](https://badge.fury.io/rb/fusuma-plugin-sendkey) [![Build Status](https://travis-ci.com/iberianpig/fusuma-plugin-sendkey.svg?branch=master)](https://travis-ci.com/iberianpig/fusuma-plugin-sendkey)
|
2
|
+
|
3
|
+
[Fusuma](https://github.com/iberianpig/fusuma) plugin that sending virtual keyboard events
|
4
|
+
|
5
|
+
* Send emulate keyboard events with evemu-event
|
6
|
+
* This plugin replaces xdotool
|
7
|
+
|
8
|
+
## Installation
|
9
|
+
|
10
|
+
Run the following code in your terminal.
|
11
|
+
|
12
|
+
### Install dependencies
|
13
|
+
|
14
|
+
```sh
|
15
|
+
$ sudo apt-get install evemu-tools libevdev-dev
|
16
|
+
```
|
17
|
+
|
18
|
+
### Install fusuma-plugin-sendkey
|
19
|
+
|
20
|
+
```sh
|
21
|
+
$ gem install fusuma-plugin-sendkey
|
22
|
+
```
|
23
|
+
|
24
|
+
|
25
|
+
## List avaiable keys
|
26
|
+
|
27
|
+
```sh
|
28
|
+
$ fusuma-sendkey -l
|
29
|
+
```
|
30
|
+
|
31
|
+
## Run fusuma-sendkey on Terminal
|
32
|
+
|
33
|
+
* `fusuma-sendkey` can emulate keyboard inputs as a command
|
34
|
+
* Combine keys for pressing the same time with `+`
|
35
|
+
|
36
|
+
|
37
|
+
```sh
|
38
|
+
$ fusuma-sendkey LEFTCTRL+T
|
39
|
+
```
|
40
|
+
|
41
|
+
|
42
|
+
## Add sendkey properties to config.yml
|
43
|
+
|
44
|
+
Add `sendkey:` property in `~/.config/fusuma/config.yml`.
|
45
|
+
|
46
|
+
lines beginning from `#` are comments
|
47
|
+
|
48
|
+
```yaml
|
49
|
+
swipe:
|
50
|
+
3:
|
51
|
+
left:
|
52
|
+
sendkey: "LEFTALT+RIGHT" # history back
|
53
|
+
right:
|
54
|
+
sendkey: "LEFTALT+LEFT" # history forward
|
55
|
+
up:
|
56
|
+
sendkey: "LEFTCTRL+T" # open new tab
|
57
|
+
down:
|
58
|
+
sendkey: "LEFTCTRL+W" # close tab
|
59
|
+
```
|
60
|
+
|
61
|
+
## Contributing
|
62
|
+
|
63
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/iberianpig/fusuma-plugin-sendkey. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
64
|
+
|
65
|
+
## License
|
66
|
+
|
67
|
+
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
68
|
+
|
69
|
+
## Code of Conduct
|
70
|
+
|
71
|
+
Everyone interacting in the Fusuma::Plugin::Sendkey project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/iberianpig/fusuma-plugin-sendkey/blob/master/CODE_OF_CONDUCT.md).
|
data/Rakefile
ADDED
data/bin/console
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require "bundler/setup"
|
4
|
+
require "fusuma/plugin/sendkey"
|
5
|
+
|
6
|
+
# You can add fixtures and/or initialization code here to make experimenting
|
7
|
+
# with your gem easier. You can also use a different console, if you like.
|
8
|
+
|
9
|
+
# (If you use this, don't forget to add pry to your Gemfile!)
|
10
|
+
# require "pry"
|
11
|
+
# Pry.start
|
12
|
+
|
13
|
+
require "irb"
|
14
|
+
IRB.start(__FILE__)
|
data/bin/setup
ADDED
data/exe/fusuma-sendkey
ADDED
@@ -0,0 +1,41 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
# frozen_string_literal: true
|
3
|
+
|
4
|
+
require 'optparse'
|
5
|
+
require_relative '../lib/fusuma/plugin/sendkey/keyboard.rb'
|
6
|
+
|
7
|
+
option = {}
|
8
|
+
opt = OptionParser.new
|
9
|
+
|
10
|
+
opt.on('-l', '--list-keycodes',
|
11
|
+
'List available keycodes') do |v|
|
12
|
+
option[:list] = v
|
13
|
+
end
|
14
|
+
|
15
|
+
opt.on('--version', 'Show version') do |v|
|
16
|
+
option[:version] = v
|
17
|
+
end
|
18
|
+
|
19
|
+
opt.parse!(ARGV)
|
20
|
+
|
21
|
+
if option[:list]
|
22
|
+
puts Keyboard.new.available_codes
|
23
|
+
return
|
24
|
+
end
|
25
|
+
|
26
|
+
if option[:version]
|
27
|
+
puts Fusuma::Plugin::Sendkey::VERSION
|
28
|
+
return
|
29
|
+
end
|
30
|
+
|
31
|
+
param = ARGV.first
|
32
|
+
|
33
|
+
if param.nil?
|
34
|
+
warn 'fusuma-sendkey require 1 arugument'
|
35
|
+
warn 'e.g. fusuma-sendkey LEFTALT+LEFT'
|
36
|
+
exit 1
|
37
|
+
end
|
38
|
+
|
39
|
+
Keyboard.new.type_command(param: param).tap do |command|
|
40
|
+
exec(command)
|
41
|
+
end
|
@@ -0,0 +1,40 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
lib = File.expand_path('lib', __dir__)
|
4
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
5
|
+
require 'fusuma/plugin/sendkey/version'
|
6
|
+
|
7
|
+
Gem::Specification.new do |spec|
|
8
|
+
spec.name = 'fusuma-plugin-sendkey'
|
9
|
+
spec.version = Fusuma::Plugin::Sendkey::VERSION
|
10
|
+
spec.authors = ['iberianpig']
|
11
|
+
spec.email = ['yhkyky@gmail.com']
|
12
|
+
|
13
|
+
spec.summary = 'Fusuma plugin that sending virtual keyboard events'
|
14
|
+
spec.description = 'Fusuma::Plugin::Sendkey emulate keyboard events with evemu-event'
|
15
|
+
spec.homepage = 'https://github.com/iberianpig/fusuma-plugin-sendkey'
|
16
|
+
spec.license = 'MIT'
|
17
|
+
|
18
|
+
# Specify which files should be added to the gem when it is released.
|
19
|
+
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
20
|
+
spec.files = Dir.chdir(File.expand_path(__dir__)) do
|
21
|
+
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
22
|
+
end
|
23
|
+
spec.bindir = 'exe'
|
24
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
25
|
+
spec.require_paths = ['lib']
|
26
|
+
|
27
|
+
spec.add_dependency 'evdev'
|
28
|
+
spec.add_dependency 'fusuma', '~> 1.5.0'
|
29
|
+
|
30
|
+
spec.add_development_dependency 'bundler'
|
31
|
+
spec.add_development_dependency 'github_changelog_generator', '~> 1.14'
|
32
|
+
spec.add_development_dependency 'pry-byebug', '~> 3.4'
|
33
|
+
spec.add_development_dependency 'pry-doc'
|
34
|
+
spec.add_development_dependency 'pry-inline'
|
35
|
+
spec.add_development_dependency 'rake', '~> 13.0'
|
36
|
+
spec.add_development_dependency 'reek'
|
37
|
+
spec.add_development_dependency 'rspec', '~> 3.0'
|
38
|
+
spec.add_development_dependency 'rubocop'
|
39
|
+
spec.add_development_dependency 'yard'
|
40
|
+
end
|
@@ -0,0 +1,51 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require_relative '../sendkey/keyboard.rb'
|
4
|
+
|
5
|
+
module Fusuma
|
6
|
+
module Plugin
|
7
|
+
module Executors
|
8
|
+
# Control Window or Workspaces by executing wctrl
|
9
|
+
class SendkeyExecutor < Executor
|
10
|
+
# execute sendkey command
|
11
|
+
# @param event [Event]
|
12
|
+
# @return [nil]
|
13
|
+
def execute(event)
|
14
|
+
return if search_command(event).nil?
|
15
|
+
|
16
|
+
MultiLogger.info(sendkey: search_param(event))
|
17
|
+
pid = fork do
|
18
|
+
Process.daemon(true)
|
19
|
+
exec(search_command(event))
|
20
|
+
end
|
21
|
+
|
22
|
+
Process.detach(pid)
|
23
|
+
end
|
24
|
+
|
25
|
+
# check executable
|
26
|
+
# @param event [Event]
|
27
|
+
# @return [TrueClass, FalseClass]
|
28
|
+
def executable?(event)
|
29
|
+
event.tag.end_with?('_detector') &&
|
30
|
+
event.record.type == :index &&
|
31
|
+
search_command(event)
|
32
|
+
end
|
33
|
+
|
34
|
+
# @param event [Event]
|
35
|
+
# @return [String]
|
36
|
+
# @return [NilClass]
|
37
|
+
def search_command(event)
|
38
|
+
@keyboard ||= Keyboard.new
|
39
|
+
@keyboard.type_command(param: search_param(event))
|
40
|
+
end
|
41
|
+
|
42
|
+
private
|
43
|
+
|
44
|
+
def search_param(event)
|
45
|
+
index = Config::Index.new([*event.record.index.keys, :sendkey])
|
46
|
+
Config.search(index)
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|
@@ -0,0 +1,101 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'evdev'
|
4
|
+
|
5
|
+
# Emulate Keyboard
|
6
|
+
class Keyboard
|
7
|
+
def initialize
|
8
|
+
@device = Device.new
|
9
|
+
@path = @device.path
|
10
|
+
end
|
11
|
+
|
12
|
+
# @param param [String]
|
13
|
+
def type_command(param:)
|
14
|
+
return unless param.is_a?(String)
|
15
|
+
|
16
|
+
codes = param.split('+')
|
17
|
+
press_commands = codes.map { |code| press_command(code) }
|
18
|
+
release_commands = codes.reverse.map { |code| release_command(code) }
|
19
|
+
|
20
|
+
(press_commands | release_commands).join(' && ')
|
21
|
+
end
|
22
|
+
|
23
|
+
def press_command(code)
|
24
|
+
return unless support?(code)
|
25
|
+
|
26
|
+
@device.emulate(code: code, press: true)
|
27
|
+
end
|
28
|
+
|
29
|
+
def release_command(code)
|
30
|
+
return unless support?(code)
|
31
|
+
|
32
|
+
@device.emulate(code: code, press: false)
|
33
|
+
end
|
34
|
+
|
35
|
+
def support?(code)
|
36
|
+
@supported_code ||= {}
|
37
|
+
@supported_code[code] ||= if @device.support?(code)
|
38
|
+
true
|
39
|
+
else
|
40
|
+
warn "sendkey: #{code} is unsupported."
|
41
|
+
warn 'Please check your config.yml.'
|
42
|
+
exit 1
|
43
|
+
end
|
44
|
+
end
|
45
|
+
|
46
|
+
def available_codes
|
47
|
+
@device.search_codes
|
48
|
+
end
|
49
|
+
|
50
|
+
# handle Evdev device
|
51
|
+
class Device
|
52
|
+
attr_reader :device_id
|
53
|
+
def initialize
|
54
|
+
(0..99).lazy.find do |i|
|
55
|
+
begin
|
56
|
+
evdev = Evdev.new("/dev/input/event#{i}")
|
57
|
+
@evdev = evdev if evdev.supports_event?(convert_keycode('LEFTALT'))
|
58
|
+
rescue Errno::ENOENT
|
59
|
+
false
|
60
|
+
end
|
61
|
+
end
|
62
|
+
end
|
63
|
+
|
64
|
+
def path
|
65
|
+
raise 'Keyboard is not found' if @evdev.nil?
|
66
|
+
|
67
|
+
@path ||= @evdev.file.path
|
68
|
+
end
|
69
|
+
|
70
|
+
def support?(code)
|
71
|
+
keycode = convert_keycode(code)
|
72
|
+
@evdev.supports_event?(keycode)
|
73
|
+
rescue NameError
|
74
|
+
candidates = search_codes(code: code)
|
75
|
+
|
76
|
+
warn "Did you mean? #{candidates.join(' / ')}" unless candidates.empty?
|
77
|
+
|
78
|
+
false
|
79
|
+
end
|
80
|
+
|
81
|
+
def search_codes(code: nil)
|
82
|
+
query = code&.upcase
|
83
|
+
LinuxInput.constants
|
84
|
+
.select { |c| c[/KEY_.*#{query}.*/] }
|
85
|
+
.select { |c| @evdev.supports_event?(c) }
|
86
|
+
.map { |c| c.to_s.gsub('KEY_', '') }
|
87
|
+
end
|
88
|
+
|
89
|
+
def emulate(code:, press: true)
|
90
|
+
keycode = convert_keycode(code)
|
91
|
+
v = press ? 1 : 0
|
92
|
+
"evemu-event #{path} --type EV_KEY --code #{keycode} --value #{v} --sync"
|
93
|
+
end
|
94
|
+
|
95
|
+
private
|
96
|
+
|
97
|
+
def convert_keycode(code)
|
98
|
+
"KEY_#{code.upcase}"
|
99
|
+
end
|
100
|
+
end
|
101
|
+
end
|
metadata
ADDED
@@ -0,0 +1,229 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: fusuma-plugin-sendkey
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- iberianpig
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2020-03-02 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: evdev
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: fusuma
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 1.5.0
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 1.5.0
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: bundler
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: github_changelog_generator
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '1.14'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '1.14'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: pry-byebug
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '3.4'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '3.4'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: pry-doc
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: pry-inline
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ">="
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ">="
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: rake
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - "~>"
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '13.0'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - "~>"
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '13.0'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: reek
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - ">="
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '0'
|
132
|
+
type: :development
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - ">="
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '0'
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: rspec
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - "~>"
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: '3.0'
|
146
|
+
type: :development
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - "~>"
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '3.0'
|
153
|
+
- !ruby/object:Gem::Dependency
|
154
|
+
name: rubocop
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - ">="
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: '0'
|
160
|
+
type: :development
|
161
|
+
prerelease: false
|
162
|
+
version_requirements: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - ">="
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: '0'
|
167
|
+
- !ruby/object:Gem::Dependency
|
168
|
+
name: yard
|
169
|
+
requirement: !ruby/object:Gem::Requirement
|
170
|
+
requirements:
|
171
|
+
- - ">="
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
version: '0'
|
174
|
+
type: :development
|
175
|
+
prerelease: false
|
176
|
+
version_requirements: !ruby/object:Gem::Requirement
|
177
|
+
requirements:
|
178
|
+
- - ">="
|
179
|
+
- !ruby/object:Gem::Version
|
180
|
+
version: '0'
|
181
|
+
description: Fusuma::Plugin::Sendkey emulate keyboard events with evemu-event
|
182
|
+
email:
|
183
|
+
- yhkyky@gmail.com
|
184
|
+
executables:
|
185
|
+
- fusuma-sendkey
|
186
|
+
extensions: []
|
187
|
+
extra_rdoc_files: []
|
188
|
+
files:
|
189
|
+
- ".gitignore"
|
190
|
+
- ".rspec"
|
191
|
+
- ".rubocop.yml"
|
192
|
+
- ".travis.yml"
|
193
|
+
- CODE_OF_CONDUCT.md
|
194
|
+
- Gemfile
|
195
|
+
- LICENSE.txt
|
196
|
+
- README.md
|
197
|
+
- Rakefile
|
198
|
+
- bin/console
|
199
|
+
- bin/setup
|
200
|
+
- exe/fusuma-sendkey
|
201
|
+
- fusuma-plugin-sendkey.gemspec
|
202
|
+
- lib/fusuma/plugin/executors/sendkey_executor.rb
|
203
|
+
- lib/fusuma/plugin/sendkey.rb
|
204
|
+
- lib/fusuma/plugin/sendkey/keyboard.rb
|
205
|
+
- lib/fusuma/plugin/sendkey/version.rb
|
206
|
+
homepage: https://github.com/iberianpig/fusuma-plugin-sendkey
|
207
|
+
licenses:
|
208
|
+
- MIT
|
209
|
+
metadata: {}
|
210
|
+
post_install_message:
|
211
|
+
rdoc_options: []
|
212
|
+
require_paths:
|
213
|
+
- lib
|
214
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
215
|
+
requirements:
|
216
|
+
- - ">="
|
217
|
+
- !ruby/object:Gem::Version
|
218
|
+
version: '0'
|
219
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
220
|
+
requirements:
|
221
|
+
- - ">="
|
222
|
+
- !ruby/object:Gem::Version
|
223
|
+
version: '0'
|
224
|
+
requirements: []
|
225
|
+
rubygems_version: 3.0.3
|
226
|
+
signing_key:
|
227
|
+
specification_version: 4
|
228
|
+
summary: Fusuma plugin that sending virtual keyboard events
|
229
|
+
test_files: []
|