Java-Gaming.org    
Featured games (91)
games approved by the League of Dukes
Games in Showcase (578)
games submitted by our members
Games in WIP (499)
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  
  Force Feedback in Java?  (Read 1859 times)
0 Members and 1 Guest are viewing this topic.
Offline Herko_ter_Horst

Senior Newbie




Java games rock!


« Posted 2006-08-15 15:22:49 »

For some time now, I've been toying with the idea of writing an Open Source racing sim in Java. Of course it will eventually have brilliant physics and stunning graphics Cheesy but I'm running into a wall when it comes to Force Feedback.

I've noted that several Java gaming libraries (jinput, lwjgl and jME are the ones I checked) have support for "rumblers" on their controllers, but those don't seem to do what I want. Turns out rumblers do just that: rumble. And while you may be able to create some nifty effects by using several rumblers at the same time in the right way, this won't give the "true" feedback needed for a racing sim: the grip of the front tires. Unless I'm missing something with regards to these rumblers?

I've looked around some more and I've come to the conclusion FF pretty much means Immersion. Is that right? Does anyone have any experience with their Java SDK? Does anyone know of any other way to do Force Feedback from Java?
Offline endolf

JGO Knight


Medals: 7
Projects: 1


Current project release date: sometime in 3003


« Reply #1 - Posted 2006-08-15 19:10:09 »

The SDK whilst written in Java, is a JNI binding, with only Windows natives.

However, without a large update to jinput, I don't see you have many options atm.

Endolf

Offline Herko_ter_Horst

Senior Newbie




Java games rock!


« Reply #2 - Posted 2006-08-15 21:42:30 »

Thanks for the response. Yeah, I noticed it's Windows-only, which sucks, but it's still 80+% of the target audience I guess  Roll Eyes Do you have actual experience with that SDK?

I've come across some information on other forums that Immersion may indeed be the only way to do force feedback, Java or otherwise (hurray for patents, I guess  Lips Sealed) It won't be possible to include this stuff in JInput (or anywhere else for that matter) without paying a license fee to Immersion (with all kinds of strings attached, apparently)...

Oh well...
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline endolf

JGO Knight


Medals: 7
Projects: 1


Current project release date: sometime in 3003


« Reply #3 - Posted 2006-08-15 21:55:42 »

Rollox to that.

There is directx under windows, and linux has the interfaces (I don't have a FF device with anything other than rumblers, so I have no idea if it works). I have seen that app before, and I think it's just a gui to design effects, but the effects can be created with raw direct input and in linux anyway. I don't believe it's actually needed. I've not used the SDK so I can't say what it's like to use.

Endolf

Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

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

The first screenshot will be displayed as a thumbnail.

xsi3rr4x (29 views)
2014-04-15 18:08:23

BurntPizza (26 views)
2014-04-15 03:46:01

UprightPath (41 views)
2014-04-14 17:39:50

UprightPath (23 views)
2014-04-14 17:35:47

Porlus (40 views)
2014-04-14 15:48:38

tom_mai78101 (62 views)
2014-04-10 04:04:31

BurntPizza (122 views)
2014-04-08 23:06:04

tom_mai78101 (221 views)
2014-04-05 13:34:39

trollwarrior1 (188 views)
2014-04-04 12:06:45

CJLetsGame (197 views)
2014-04-01 02:16:10
List of Learning Resources
by SHC
2014-04-18 03:17:39

List of Learning Resources
by Longarmx
2014-04-08 03:14:44

Good Examples
by matheus23
2014-04-05 13:51:37

Good Examples
by Grunnt
2014-04-03 15:48:46

Good Examples
by Grunnt
2014-04-03 15:48:37

Good Examples
by matheus23
2014-04-01 18:40:51

Good Examples
by matheus23
2014-04-01 18:40:34

Anonymous/Local/Inner class gotchas
by Roquen
2014-03-11 15:22:30
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
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!