Java-Gaming.org
Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
Featured games (78)
games approved by the League of Dukes
Games in Showcase (416)
games submitted by our members
Games in WIP (307)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Java Library for Sixense Products  (Read 2246 times)
0 Members and 1 Guest are viewing this topic.
Offline Yoda12999

Senior Newbie


Medals: 1



« Posted 2012-09-15 05:55:22 »

Some of you may know of the 6DOF controller known as the Razer Hydra designed by Sixense. You may also know that the only way to communicate with the controller is through a set of C++ libraries (here). This is quite an inconvienience for Java developers such as myself so I have been working on a Java wrapper for the Sixense libraries for a little while now. This wrapper is in no way  complete though it is slowly getting closer. I should note that I am not a C++ programmer so if any one of you fine chaps would like to critique my code, feel free. Have fun!


Features:
~ Java methods for each function in the sixense library
~ Java methods for the Controller Manager, ButtonStates, FPSPlayerMovement, FPSViewAngles, FPSEvents and Derivatives
~ Java enums provided in place of C++ enums

Included in the zip file:
~ SixenseJava.jar: the Java end of the wrapper
~ SixenseJava32.dll: the native side of the wrapper compiled for Win32
~ SixenseJava64.dll: the native side of the wrapper compiled for x64
~ libSixenseJava32.so: the native side of the wrapper compiled for linux-i386
~ libSixenseJava64.so: the native side of the wrapper compiled for linux-x86_64
~ JavaDocs for everything implemented so far!
~ Source code for both the Java portion and native portion
~ Symbols file for SixenseJava*.dll

Goals:
~ Provide methods for other functions in the sixense_utils library
~ Provide JavaDocs for every function

GitHub
Sixense Java Library Download
Offline Danny02

JGO Knight


Medals: 39



« Reply #1 - Posted 2012-09-15 09:31:17 »

why not publish it on something like github, so others can easily comment/constribute to your libary
Offline Yoda12999

Senior Newbie


Medals: 1



« Reply #2 - Posted 2012-09-16 15:12:30 »

Excellent idea! I have now posted a link to the project on GitHub.
Games published by our own members! Check 'em out!
Play the free demo of Revenge of the Titans!
Offline tberthel
« Reply #3 - Posted 2012-09-16 23:40:35 »

I will need to make a game just for this.

Offline Yoda12999

Senior Newbie


Medals: 1



« Reply #4 - Posted 2013-03-13 14:35:27 »

Just a little update adding x64 support and access to the FPSEvents methods.
Offline Yoda12999

Senior Newbie


Medals: 1



« Reply #5 - Posted 2013-05-04 10:03:04 »

A few changes have been made including one that should fix the problems some people have been having with libraries not being loaded or incorrect libraries not being loaded.
Offline HeroesGraveDev

JGO Wizard


Medals: 72
Projects: 8


Muahahahahahaha...


« Reply #6 - Posted 2013-05-04 10:04:30 »

Are there native backends for Linux & Mac?

Offline Yoda12999

Senior Newbie


Medals: 1



« Reply #7 - Posted 2013-05-04 10:07:32 »

I have not pre-compiled any as I do not own a mac or a linux machine, but that is on my list of things to do. If you need them asap, feel free to download the code and compile them yourself.
Offline HeroesGraveDev

JGO Wizard


Medals: 72
Projects: 8


Muahahahahahaha...


« Reply #8 - Posted 2013-05-04 10:33:14 »

Nah, was just wondering.

But why not cross-compile?

Offline Yoda12999

Senior Newbie


Medals: 1



« Reply #9 - Posted 2013-05-06 23:31:56 »

I am only a C++ programmer by necessity so I may not know of some tool, but from what I have read cross compiling is best avoided. That being said, I have worked tirelessly over the past few days to learn how to compile this properly on Linux. The libraries are within the zip file for public consumption.
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline HeroesGraveDev

JGO Wizard


Medals: 72
Projects: 8


Muahahahahahaha...


« Reply #10 - Posted 2013-05-06 23:33:30 »

"A small chance of failure is better than no chance of success."

- Me, just then.

Offline deepthought
« Reply #11 - Posted 2013-05-08 00:49:33 »

just $100? Cool I want to get one of those and pair it with an Oculus rift, and maybe a Razer tiamat 7.1! that would make a relatively inexpensive VR system compared to what's out there.

jocks rule the highschools. GEEKS RULE THE WORLD MWAHAHAHA!!
captain failure test game
Offline Yoda12999

Senior Newbie


Medals: 1



« Reply #12 - Posted 2013-05-08 02:15:06 »

Well there is a video of that:
<a href="http://www.youtube.com/v/07IwxUD8N8E?version=3&amp;hl=en_US&amp;start=" target="_blank">http://www.youtube.com/v/07IwxUD8N8E?version=3&amp;hl=en_US&amp;start=</a>

Anywho, I should mention that pre-compiled Mac libraries will not be coming until I finish wrapping the remaining few classes as I do not have a Mac (at least one running a Mac OS) and I am avoiding the annoyingness that is compiling for Mac on linux as long as possible.
Pages: [1]
  ignore  |  Print  
 
 

Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
 
Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars and Titan!

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

The invasion has landed! On Mars! And you're there to beat 'em!
mrbenebob (17 views)
2013-06-19 14:55:23

BrassApparatus (27 views)
2013-06-19 08:52:37

NegativeZero (30 views)
2013-06-19 03:31:52

NegativeZero (33 views)
2013-06-19 03:24:09

Jesse_Attard (35 views)
2013-06-18 22:03:02

HeroesGraveDev (72 views)
2013-06-15 23:35:23

Vermeer (73 views)
2013-06-14 20:08:06

davedes (74 views)
2013-06-14 16:03:55

alaslipknot (66 views)
2013-06-13 07:56:31

Roquen (90 views)
2013-06-12 04:12:32
Smoothing Algorithm Question
by UprightPath
2013-05-28 02:58:26

Smoothing Algorithm Question
by UprightPath
2013-05-28 02:57:33

Complex number cookbook
by Roquen
2013-04-24 12:47:31

2D Dynamic Lighting
by Oskuro
2013-04-17 16:46:12

2D Dynamic Lighting
by Oskuro
2013-04-17 16:45:57

2D Dynamic Lighting
by Oskuro
2013-04-17 16:23:20

Noise (bandpassed white)
by Roquen
2013-04-05 17:36:01

Noise (bandpassed white)
by Roquen
2013-04-03 16:17:38
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!