Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (523)
Games in Android Showcase (127)
games submitted by our members
Games in WIP (592)
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  
  Documentation on Writing a Plug-in?  (Read 1505 times)
0 Members and 1 Guest are viewing this topic.
Offline Andrew Davison

Junior Devvie


Medals: 2



« Posted 2005-12-28 02:28:54 »

Dear All,

Is there any documentation on writing a JInput plug-in?

Are there any example plug-ins, that I can have a look at?

Failing that, what source code in the JInput distribution should I examine?

Thanks,
  Andrew

Dr. Andrew Davison
Dept. of Computer Engineering
Prince of Songkla University, Hat Yai
Songkhla 90112, Thailand
Offline Jeff

JGO Coder




Got any cats?


« Reply #1 - Posted 2005-12-28 06:15:59 »

The four default plug-ins (Win32, Linux OSX and awt) are all under the JInput source tree:
https://jinput.dev.java.net/source/browse/jinput/plugins/

If I were you I'd grab the whole source tree because you will need a few fiels from there and from jutils to refer to anyway to build them.

I believe at one poitn i tried to javadoc the Win32 plug-in reasonably as well as some of the fiels it refers to.  Again id grab the source tree and run the javadoc ant task and then take a look at thsoe docs.

Beyoind that, its an oral tradition.Cool   Endolf has been through it most recently.

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!

http://wiki.java.net/bin/view/Games/JeffFAQ
Offline endolf

JGO Coder


Medals: 7
Exp: 15 years


Current project release date: sometime in 3003


« Reply #2 - Posted 2005-12-28 11:56:50 »

Hi

The way I did it was to look at the tests and saw how the jutils plugins bit worked, saw that for a particular plugin, everything comes through the plugin environment. The directx and linux plugin do things slightly differently of course Smiley. Following either will point you in the right direction. Posting to these forums will get you help if you need it and we can test it or advise Smiley. The AWT plugin should be the easiest to follow as it uses no native code.

HTH

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.

SHC (24 views)
2014-11-25 12:00:59

SHC (23 views)
2014-11-25 11:53:45

Norakomi (22 views)
2014-11-25 11:26:43

Gibbo3771 (22 views)
2014-11-24 19:59:16

trollwarrior1 (36 views)
2014-11-22 12:13:56

xFryIx (74 views)
2014-11-13 12:34:49

digdugdiggy (52 views)
2014-11-12 21:11:50

digdugdiggy (46 views)
2014-11-12 21:10:15

digdugdiggy (41 views)
2014-11-12 21:09:33

kovacsa (68 views)
2014-11-07 19:57:14
Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-09 22:35:00

Definite guide to supporting multiple device resolutions on Android (2014)
by mbabuskov
2014-10-02 22:36:02

List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06
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!