JInput Delivery.

classic Classic list List threaded Threaded
18 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

JInput Delivery.

Pixelapp
Hello Jogampers, long time no chat:

Last time we talked, I made sure I put JInput on my van wagon of supported technologies. And now we are all stronger for it... I think.

I have a question(s) regarding JInput: If I were to roll out a game now, JInput would not have a valid certificate therefore my customers would run from it like it is a hive of wild bees.  -.-

Right now Sven's suggestions, I think are (on bugzilla):

   Jinput add GlueGen's native JAR libloading
   NEWT event propagation to Jinput
   Migrate Jinput to JogAmp

The problem is that Endolf is the one coding JInput. Right now I'm coding for JOGL, I have done work on textures but I need to push the 'commit'. So there is really none left to achieve the programming that comes with completing Sven's suggestion every time there is a newer version of JInput.

I would put out of pocket money to buy a certificate, but remember I'm a college student which means I'm college-broke (I don't have money for certificates).

What do you think about this problem, Jogampers? Any solutions to this? All ideas are welcome.





Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: JInput Delivery.

Sven Gothel
Administrator
On 02/14/2013 02:40 AM, Pixelapp [via jogamp] wrote:

> Hello Jogampers, long time no chat:
>
> Last time we talked, I made sure I put JInput on my van wagon of supported
> technologies. And now we are all stronger for it... I think.
>
> I have a question(s) regarding JInput: If I were to roll out a game now,
> JInput would not have a valid certificate therefore my customers would run
> from it like it is a hive of wild bees.  -.-
>
> Right now Sven's suggestions, I think are (on bugzilla):
>
>    Jinput add GlueGen's native JAR libloading
>    NEWT event propagation to Jinput
>    Migrate Jinput to JogAmp
>
> The problem is that Endolf is the one coding JInput. Right now I'm coding for
> JOGL, I have done work on textures but I need to push the 'commit'. So there
> is really none left to achieve the programming that comes with completing
> Sven's suggestion every time there is a newer version of JInput.
Well, that is not a problem - git is good at merging.

>
> I would put out of pocket money to buy a certificate, but remember I'm a
> college student which means I'm college-broke (I don't have money for
> certificates).
Before we think about signing something, we need something in good shape.
Besides .. maybe your customers you are referring should pay? .. Just kidding :)

>
> What do you think about this problem, Jogampers? Any solutions to this? All
> ideas are welcome.

There is not really a problem, but a lack of resources right now to give JInput
the love it requires to become a usable module for us.

Currently we have the priorities:
  - Complete JOAL [Windows CMake, Linux ARMv6 fix, Platform Agnostic] (-> Xerxes, Sven )
  - Fix lot's of JOGL bugs (OSX/Java7, PNG, ..)
  - Add a few JOGL enhancements like ES3, 4.3, .., NEWT-Keys..
  - Release 2.0.2
  - GLMediaPlayer: Add JOAL support, may bundle libav, ..
  - OpenCL on mobile, and update binding
  - ..
  - JInput
 
~Sven



signature.asc (911 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: JInput Delivery.

Pixelapp
That's the thing! I don't want any of you to code for JInput, ever. You guys do much cooler stuff with your free time.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: JInput Delivery.

Pixelapp
In reply to this post by Sven Gothel
Is there something that can be done to put JInput in "good shape" that doesn't require recurrent work?
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: JInput Delivery.

gouessej
Administrator
I have already planned to work on it and I will ask Sven to help me to implement the extraction and loading of native libraries. Please look at the bug report about NEWT and JInput, a major code refactor might be done to ease the use of JInput in JogAmp applications.
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: JInput Delivery.

Pixelapp
@gouessej Wouldn't you want to work on other things instead of JInput? I encourage you to do other things, in my opinion.

Its not like JInput is going to be a fountain of money.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: JInput Delivery.

gouessej
Administrator
Pixelapp wrote
@gouessej Wouldn't you want to work on other things instead of JInput? I encourage you to do other things, in my opinion.
I need to make it work in order to use it in my game with Ardor3D, I plan to show that at the next Siggraph. Of course I prefer working on other aspects but if nobody implements the missing parts of code, I won't be able to use JInput everywhere (including embedded devices).

I really want to get something working and correctly integrated inside the existing build system so that it won't be a pain to compile and distribute it in applications and applets.

I don't prevent you from working on JInput, it's obvious. Can you have a look at what I wrote in several bug reports about JInput? I can clarify the objectives so that you can work on them. Any help is welcome.

Pixelapp wrote
Its not like JInput is going to be a fountain of money.
I don't contribute to any JogAmp projects to earn money, I do it because it is partially compatible with my political views.
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: JInput Delivery.

gouessej
Administrator
In reply to this post by Pixelapp
Pixelapp, can you tell me your opinion about that?
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: JInput Delivery.

Pixelapp
In reply to this post by gouessej
"I need to make it work in order to use it in my game with Ardor3D"
JInput works as is, I don't see why someone would like to 'fix it'.

"Can you have a look at what I wrote in several bug reports about JInput?"
Again, feel free to use JInput as provided here: http://www.newdawnsoftware.com/resources/jinput/. Other than that, I don't know what to say.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: JInput Delivery.

gouessej
Administrator
Yes JInput (almost) works as is but it does not yet use the automatic extraction and loading of native libraries unlike other JogAmp APIs, there is no interoperability with NEWT and some features are really redundant. I use an AZERTY keyboard and I remember that JInput is unable to retrieve the keys in some cases, for example it returns "2" instead of "é" whereas AWT returns the appropriate result. If we/you/I fix this bug, it will be a waste of time as it is already fixed in NEWT & AWT. I'm not a big fan of effort duplication.

If you really want JInput to be delivered as soon as possible and if you think JInput is nice as is, why not implementing the automatic extraction and loading of native libraries so that it can be easily used with other JogAmp APIs? I understand that some people think a polling API can be useful for games.
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: JInput Delivery.

Pixelapp
"If you really want JInput to be delivered as soon as possible and if you think JInput is nice as is, why not implementing the automatic extraction and loading of native libraries so that it can be easily used with other JogAmp APIs?"

I don't know what that means. When I run JInput from Webstart, it runs fine.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: JInput Delivery.

gouessej
Administrator
It means that whatever you use for deployment (even locally) the native libraries are in several JARs, you don't have to modify the Java library path, GlueGen picks the right JAR(s) for your architecture and your operating system, extracts the native libraries in a temporary directory and loads them. It is already implemented in JOGL, JOCL and JOAL.
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: JInput Delivery.

Pixelapp
I'm pretty sure JInput already does that, without GlueGen being involved.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: JInput Delivery.

gouessej
Administrator
You can use the JNLP markup "nativelib" with JInput to obtain something similar but less reliable when using Java Web Start but JInput itself has no such mechanism for other deployment means.

Edit.: If you still need a code signing certificate delivered by a trusted authority for free (you said you have no money for that), you can contact CACert.
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: JInput Delivery.

gouessej
Administrator
In reply to this post by Pixelapp
I have forgotten to talk about a limitation of nativelib in JNLP. If Java Web Start cache is disabled or too small, the native libraries cannot be extracted from the JAR. When the cache is too small, it just freezes... :(
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: JInput Delivery.

gouessej
Administrator
In reply to this post by Pixelapp
I've just begun working on JInput, I've added a few files for Eclipse on my fork on Github.

I'm currently working on a proper code design to expose joypad support directly in NEWT. When it's ready, I will start coding the interfaces and the classes (especially the new listeners) in Java and copying some C code from JInput into os-specific sections.
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: JInput Delivery.

kles4enko
Hi!
Have any news about JInput? :)
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: JInput Delivery.

gouessej
Administrator
Hi

Actually, the plans have changed, I'd like to implement a separate input API inside NEWT instead of creating a bridge between NEWT and JInput. Anyway, nothing prevents you from using JInput as is now.
Julien Gouesse | Personal blog | Website
Loading...