Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (781)
Games in Android Showcase (233)
games submitted by our members
Games in WIP (857)
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  
  Simple jinput proposal, feedback wanted from users and Jeff :)  (Read 2592 times)
0 Members and 1 Guest are viewing this topic.
Offline endolf

JGO Coder

Medals: 7
Exp: 15 years

Current project release date: sometime in 3003

« Posted 2005-06-14 10:58:32 »


I've noticed that the most common issue is the plugins system. I'm proposing that in the default controller environment, unless a property (jinput.loadDefaultPlugin for example) is set to false, it will load the defaut plugin, for that environment, based on what we have in CVS. That way, we can then also modify the main build script so there are optional build targets that product a single jar and native lib for each of the 3 main platform. We gain ease of use, but still maintaint the option of the plugin system.



Offline kevglass

« JGO Spiffy Duke »

Medals: 319
Projects: 25
Exp: 22 years

Coder, Trainee Pixel Artist, Game Reviewer

« Reply #1 - Posted 2005-06-14 11:45:12 »

Yes, please.


Offline Bombadil

Senior Devvie

« Reply #2 - Posted 2005-06-14 12:12:02 »

Sounds like the well working JOGL way, so: yes, please.

P.S. I'm not yet using JInput (which is the reason why I'm usually silent on the topic) but as a happy JOGL user I'd love to see a similar up to date multi-platform release thing for JInput.
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline gregof

Junior Devvie

in code we trust

« Reply #3 - Posted 2005-06-15 11:10:41 »

Sounds very good to me  Cheesy

// Gregof
Offline endolf

JGO Coder

Medals: 7
Exp: 15 years

Current project release date: sometime in 3003

« Reply #4 - Posted 2005-06-16 14:05:17 »


Build scripts updated and new binaries are available from the files section on for windows and linux.

These new builds contain 1 jar and 1 native library. Left alone, it will just work (tm), loading the right plugin for the platform.

If you want to use the plugin mechanism, it's still there, unchanged, so just have the controller dir as before, or set the class names in the properties.

If you do not want the default plugin loaded, there is a new property to disable it's loading. Set jinput.useDefualtPlugin or to 'false'.


Edit: typo

Offline Tomas

Junior Devvie


« Reply #5 - Posted 2005-06-16 14:09:50 »

Yes please

// Tomas Smiley

CTO Agency9
Offline Jeff

JGO Coder

Got any cats?

« Reply #6 - Posted 2005-06-22 04:32:57 »

Nice simpel solution.

Thanks End.

SOemthign Iw as considering awhiel back, btw, but never ahd tiem to implement was adding a "isSupported" call on the JInput plugin interface that would return if it was wupported on the current platform.

This would theoretically allow a single build to work on all paltforms (although yould have to destruibute all 3 native libs with that build) as the code coudl decide which to use or not use at run-time.

Just a thought.

Got a question about Java and game programming?  Just new to the Java Game Development Community?  Try my FAQ.  Its likely you'll learn something!
Pages: [1]
  ignore  |  Print  

hadezbladez (1177 views)
2018-11-16 13:46:03

hadezbladez (531 views)
2018-11-16 13:41:33

hadezbladez (1190 views)
2018-11-16 13:35:35

hadezbladez (274 views)
2018-11-16 13:32:03

EgonOlsen (2571 views)
2018-06-10 19:43:48

EgonOlsen (2790 views)
2018-06-10 19:43:44

EgonOlsen (1566 views)
2018-06-10 19:43:20

DesertCoockie (2271 views)
2018-05-13 18:23:11

nelsongames (2124 views)
2018-04-24 18:15:36

nelsongames (2817 views)
2018-04-24 18:14:32
Deployment and Packaging
by philfrei
2019-02-17 20:25:53

Deployment and Packaging
by mudlee
2018-08-22 18:09:50

Java Gaming Resources
by gouessej
2018-08-22 08:19:41

Deployment and Packaging
by gouessej
2018-08-22 08:04:08

Deployment and Packaging
by gouessej
2018-08-22 08:03:45

Deployment and Packaging
by philfrei
2018-08-20 02:33:38

Deployment and Packaging
by philfrei
2018-08-20 02:29:55

Deployment and Packaging
by philfrei
2018-08-19 23:56:20 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!