ruby-ois 0.0.1-x86-linux
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +37 -0
- data/Rakefile +56 -0
- data/bindings/ois/interface/OIS_Effect.i +8 -0
- data/bindings/ois/interface/OIS_Event.i +8 -0
- data/bindings/ois/interface/OIS_Exception.i +8 -0
- data/bindings/ois/interface/OIS_FactoryCreator.i +8 -0
- data/bindings/ois/interface/OIS_ForceFeedback.i +8 -0
- data/bindings/ois/interface/OIS_InputManager.i +20 -0
- data/bindings/ois/interface/OIS_Interface.i +8 -0
- data/bindings/ois/interface/OIS_JoyStick.i +8 -0
- data/bindings/ois/interface/OIS_Keyboard.i +15 -0
- data/bindings/ois/interface/OIS_Mouse.i +10 -0
- data/bindings/ois/interface/OIS_Object.i +22 -0
- data/bindings/ois/interface/OIS_Prereqs.i +20 -0
- data/bindings/ois/interface/Rakefile +19 -0
- data/bindings/ois/interface/ois.i +3 -0
- data/bindings/ois/interface/ois_all.i +23 -0
- data/bindings/ois/interface/ois_wrap.cpp +19311 -0
- data/bindings/ois/interface/ois_wrap.h +40 -0
- data/bindings/ois/interface/ois_wrap.o +0 -0
- data/deps/include/OIS/OIS.h +41 -0
- data/deps/include/OIS/OISConfig.h +75 -0
- data/deps/include/OIS/OISEffect.h +278 -0
- data/deps/include/OIS/OISEvents.h +43 -0
- data/deps/include/OIS/OISException.h +78 -0
- data/deps/include/OIS/OISFactoryCreator.h +81 -0
- data/deps/include/OIS/OISForceFeedback.h +120 -0
- data/deps/include/OIS/OISInputManager.h +205 -0
- data/deps/include/OIS/OISInterface.h +47 -0
- data/deps/include/OIS/OISJoyStick.h +228 -0
- data/deps/include/OIS/OISKeyboard.h +312 -0
- data/deps/include/OIS/OISMouse.h +138 -0
- data/deps/include/OIS/OISMultiTouch.h +169 -0
- data/deps/include/OIS/OISObject.h +95 -0
- data/deps/include/OIS/OISPrereqs.h +226 -0
- data/deps/lib/libOIS-1.3.0.so +0 -0
- data/deps/lib/libOIS.so +0 -0
- data/lib/ois.so +0 -0
- data/lib/ruby-ois.rb +30 -0
- data/lib/ruby-ois/version.rb +5 -0
- data/ruby-ois.gemspec +30 -0
- metadata +88 -0
Binary file
|
data/deps/lib/libOIS.so
ADDED
Binary file
|
data/lib/ois.so
ADDED
Binary file
|
data/lib/ruby-ois.rb
ADDED
@@ -0,0 +1,30 @@
|
|
1
|
+
require_relative "ruby-ois/version"
|
2
|
+
|
3
|
+
module Ruby
|
4
|
+
module Ois
|
5
|
+
def self.get_top_path
|
6
|
+
File.dirname(File.dirname(File.expand_path(__FILE__)))
|
7
|
+
end
|
8
|
+
|
9
|
+
def self.get_deps_lib_path
|
10
|
+
"#{get_top_path}/deps/lib"
|
11
|
+
end
|
12
|
+
|
13
|
+
def self.get_lib_path
|
14
|
+
File.dirname(File.expand_path(__FILE__))
|
15
|
+
end
|
16
|
+
|
17
|
+
def self.get_inc_flags
|
18
|
+
"-I#{get_top_path}/deps/include/OIS "
|
19
|
+
end
|
20
|
+
|
21
|
+
def self.get_lib_flags
|
22
|
+
if (/mingw/ =~ RUBY_PLATFORM)
|
23
|
+
return "-L#{get_top_path}/deps/lib/release -lOIS"
|
24
|
+
else
|
25
|
+
return "-L#{get_top_path}/deps/lib -lOIS"
|
26
|
+
end
|
27
|
+
end
|
28
|
+
|
29
|
+
end
|
30
|
+
end
|
data/ruby-ois.gemspec
ADDED
@@ -0,0 +1,30 @@
|
|
1
|
+
lib = File.expand_path('../lib', __FILE__)
|
2
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
3
|
+
require 'ruby-ois/version'
|
4
|
+
|
5
|
+
Gem::Specification.new do |gem|
|
6
|
+
gem.name = "ruby-ois"
|
7
|
+
gem.version = Ruby::Ois::VERSION
|
8
|
+
gem.authors = ["abexsoft"]
|
9
|
+
gem.email = ["abexsoft@gmail.com"]
|
10
|
+
gem.description = %q{A ruby binding for OIS.}
|
11
|
+
gem.summary = %q{A ruby binding for OIS.}
|
12
|
+
gem.homepage = "https://github.com/abexsoft/ruby-ois"
|
13
|
+
gem.platform = Gem::Platform::CURRENT
|
14
|
+
|
15
|
+
gem.files = Dir['Gemfile',
|
16
|
+
'LICENSE.txt',
|
17
|
+
'README.md',
|
18
|
+
'Rakefile',
|
19
|
+
'ruby-ois.gemspec',
|
20
|
+
'bindings/ois/interface/**/*',
|
21
|
+
'deps/include/**/*',
|
22
|
+
'deps/lib/libOIS*.so*',
|
23
|
+
'deps/lib/libOIS*.so*',
|
24
|
+
'lib/**/*'
|
25
|
+
]
|
26
|
+
|
27
|
+
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
|
28
|
+
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
29
|
+
gem.require_paths = ["lib"]
|
30
|
+
end
|
metadata
ADDED
@@ -0,0 +1,88 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: ruby-ois
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
prerelease:
|
6
|
+
platform: x86-linux
|
7
|
+
authors:
|
8
|
+
- abexsoft
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2013-02-24 00:00:00.000000000 Z
|
13
|
+
dependencies: []
|
14
|
+
description: A ruby binding for OIS.
|
15
|
+
email:
|
16
|
+
- abexsoft@gmail.com
|
17
|
+
executables: []
|
18
|
+
extensions: []
|
19
|
+
extra_rdoc_files: []
|
20
|
+
files:
|
21
|
+
- Gemfile
|
22
|
+
- LICENSE.txt
|
23
|
+
- README.md
|
24
|
+
- Rakefile
|
25
|
+
- ruby-ois.gemspec
|
26
|
+
- bindings/ois/interface/OIS_Event.i
|
27
|
+
- bindings/ois/interface/ois_all.i
|
28
|
+
- bindings/ois/interface/OIS_Object.i
|
29
|
+
- bindings/ois/interface/OIS_JoyStick.i
|
30
|
+
- bindings/ois/interface/OIS_Interface.i
|
31
|
+
- bindings/ois/interface/ois_wrap.h
|
32
|
+
- bindings/ois/interface/OIS_FactoryCreator.i
|
33
|
+
- bindings/ois/interface/OIS_Keyboard.i
|
34
|
+
- bindings/ois/interface/OIS_ForceFeedback.i
|
35
|
+
- bindings/ois/interface/ois_wrap.cpp
|
36
|
+
- bindings/ois/interface/OIS_Effect.i
|
37
|
+
- bindings/ois/interface/OIS_Mouse.i
|
38
|
+
- bindings/ois/interface/OIS_Prereqs.i
|
39
|
+
- bindings/ois/interface/Rakefile
|
40
|
+
- bindings/ois/interface/OIS_Exception.i
|
41
|
+
- bindings/ois/interface/OIS_InputManager.i
|
42
|
+
- bindings/ois/interface/ois.i
|
43
|
+
- bindings/ois/interface/ois_wrap.o
|
44
|
+
- deps/include/OIS/OISEffect.h
|
45
|
+
- deps/include/OIS/OISForceFeedback.h
|
46
|
+
- deps/include/OIS/OISConfig.h
|
47
|
+
- deps/include/OIS/OISException.h
|
48
|
+
- deps/include/OIS/OISMouse.h
|
49
|
+
- deps/include/OIS/OISPrereqs.h
|
50
|
+
- deps/include/OIS/OISEvents.h
|
51
|
+
- deps/include/OIS/OISFactoryCreator.h
|
52
|
+
- deps/include/OIS/OISMultiTouch.h
|
53
|
+
- deps/include/OIS/OISObject.h
|
54
|
+
- deps/include/OIS/OISInterface.h
|
55
|
+
- deps/include/OIS/OISInputManager.h
|
56
|
+
- deps/include/OIS/OIS.h
|
57
|
+
- deps/include/OIS/OISKeyboard.h
|
58
|
+
- deps/include/OIS/OISJoyStick.h
|
59
|
+
- deps/lib/libOIS.so
|
60
|
+
- deps/lib/libOIS-1.3.0.so
|
61
|
+
- lib/ruby-ois.rb
|
62
|
+
- lib/ois.so
|
63
|
+
- lib/ruby-ois/version.rb
|
64
|
+
homepage: https://github.com/abexsoft/ruby-ois
|
65
|
+
licenses: []
|
66
|
+
post_install_message:
|
67
|
+
rdoc_options: []
|
68
|
+
require_paths:
|
69
|
+
- lib
|
70
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
71
|
+
none: false
|
72
|
+
requirements:
|
73
|
+
- - ! '>='
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
77
|
+
none: false
|
78
|
+
requirements:
|
79
|
+
- - ! '>='
|
80
|
+
- !ruby/object:Gem::Version
|
81
|
+
version: '0'
|
82
|
+
requirements: []
|
83
|
+
rubyforge_project:
|
84
|
+
rubygems_version: 1.8.11
|
85
|
+
signing_key:
|
86
|
+
specification_version: 3
|
87
|
+
summary: A ruby binding for OIS.
|
88
|
+
test_files: []
|