Hi !
Featured games (85)
games approved by the League of Dukes
Games in Showcase (636)
Games in Android Showcase (178)
games submitted by our members
Games in WIP (687)
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 1692 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: 272
Projects: 25
Exp: 18 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  
You cannot reply to this message, because it is very, very old.

Dwinin (71 views)
2015-11-07 13:29:08

Rems19 (81 views)
2015-10-31 01:36:56

Rems19 (74 views)
2015-10-31 01:32:37

williamwoles (106 views)
2015-10-23 10:42:59

williamwoles (92 views)
2015-10-23 10:42:45

Jervac_ (106 views)
2015-10-18 23:29:12

DarkCart (134 views)
2015-10-16 00:58:11

KaiHH (116 views)
2015-10-11 14:10:14

KaiHH (156 views)
2015-10-11 13:26:18

BurntPizza (171 views)
2015-10-08 03:11:46
Rendering resources
by Roquen
2015-11-13 14:37:59

Rendering resources
by Roquen
2015-11-13 14:36:58

Math: Resources
by Roquen
2015-10-22 07:46:10

Networking Resources
by Roquen
2015-10-16 07:12:30

Rendering resources
by Roquen
2015-10-15 07:40:48

Math: Inequality properties
by Roquen
2015-10-01 13:30:46

Math: Inequality properties
by Roquen
2015-09-30 16:06:05

HotSpot Options
by Roquen
2015-08-29 11:33:11 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!