Hi !
Featured games (84)
games approved by the League of Dukes
Games in Showcase (603)
Games in Android Showcase (171)
games submitted by our members
Games in WIP (652)
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 2223 times)
0 Members and 1 Guest are viewing this topic.
Offline Herko_ter_Horst

Senior Newbie

Java games rock!

« Posted 2006-08-15 13: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 Coder

Medals: 7
Exp: 15 years

Current project release date: sometime in 3003

« Reply #1 - Posted 2006-08-15 17: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.


Offline Herko_ter_Horst

Senior Newbie

Java games rock!

« Reply #2 - Posted 2006-08-15 19: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 Coder

Medals: 7
Exp: 15 years

Current project release date: sometime in 3003

« Reply #3 - Posted 2006-08-15 19: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.


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

SHC (21 views)
2015-08-01 03:58:20

Jesse (19 views)
2015-07-29 04:35:27

Riven (39 views)
2015-07-27 16:38:00

Riven (21 views)
2015-07-27 15:35:20

Riven (24 views)
2015-07-27 12:26:13

Riven (14 views)
2015-07-27 12:23:39

BurntPizza (35 views)
2015-07-25 00:14:37

BurntPizza (46 views)
2015-07-24 22:06:39

BurntPizza (28 views)
2015-07-24 06:06:53

NoxInc (36 views)
2015-07-22 22:16:53
List of Learning Resources
by gouessej
2015-07-09 11:29:36

How Do I Expand My Game?
by bashfrog
2015-06-14 11:34:43

List of Learning Resources
by PocketCrafter7
2015-05-31 05:37:30

Intersection Methods
by Roquen
2015-05-29 08:19:33

List of Learning Resources
by SilverTiger
2015-05-05 10:20:32

How to: JGO Wiki
by Mac70
2015-02-17 20:56:16

2D Dynamic Lighting
by ThePixelPony
2015-01-01 20:25:42

How do I start Java Game Development?
by gouessej
2014-12-27 19:41:21 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‑
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!