Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3626536
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T23:46:29+00:00 2026-05-18T23:46:29+00:00

Have you heard of a virtual joystick for Windows that has Java wrappings? I’ve

  • 0

Have you heard of a virtual joystick for Windows that has Java wrappings?

I’ve trying PPJOY, and it works great, but then I’ll need to use JNI to get it working from Java and that doesn’t seem easy for the time being.

Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T23:46:29+00:00Added an answer on May 18, 2026 at 11:46 pm

    There you are. I’ve made a Java wrapper for PPJoy. And it’s really easy to use. See:

    try {
        /*
         * Try to create a new joystick.
         */
        Joystick joystick = new Joystick();
    
        try {
            /*
             * Set joystick values
             */
    
            /*
             * Set analog values for Axis X/Y/Z,
             * Rotation X/Y/Z, Slider, Dial. Overall 8 axes.
             * 
             * Here we set the Z Axis to maximum.
             */
            joystick.analog[Joystick.ANALOG_AXIS_Z] = Joystick.ANALOG_MAX;
    
            /*
             * Set digital values for the buttons. Overall 16 buttons.
             *
             * Here we turn on the 13-th button
             */
            joystick.digital[12] = Joystick.DIGITAL_ON;
    
            /*
             * Send the data to the joystick. Keep in mind,
             * that the send method may throw a JoystickException
             */
            joystick.send();
        } finally {
            joystick.close();
        }
    } catch (JoystickException e) {
        e.printStackTrace();
    }
    

    The source code and binaries may be found here.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have heard of desktop applications whose code has been open-sourced, but are there
I have heard umpteen times that we 'should not mix business logic with other
I have heard/read the term but don't quite understand what it means. When should
I have heard that there is lots of interesting and useful WSGI middleware around.
I have heard this concept used frequently, but I don't have a really good
I have heard mention that some desktop applications are pretty much just wrappers for
I have heard mixed opinions over the amount of memory that a byte takes
I have heard using PDB files can help diagnose where a crash occurred. My
I have heard the 'shard' technique mentioned several times with regard to solving scaling
I have heard there is a way to cheat single inheritance and implement multiple

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.