Coder Social home page Coder Social logo

introtojnativehook's Introduction

Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage

About The Project

I was trying to learn JNativeHook and didn't find many great guides out there going from simple implementation to full-blown working project.

The official documentation for the "areas" of use found https://github.com/kwhat/jnativehook/tree/2.2/doc is more than enough for most people, but I like to learn through examples.

The unofficial javadoc can be found here https://javadoc.io/doc/com.1stleg/jnativehook/latest/index.html

There are two folders found in the project /src/ director. The "Introduction" folder will go into the ideas behind this library we are using. The "ExampleProjects" folder will try to give some simple examples of implementation of the JNativeHook library.

(back to top)

Built With

All of this will be coded in Java 17 and it is using the most up to date release of JNativeHook as of May-19-2022.

This project has a /libs/ folder with jnativehook-2.2.2.jar existing within it. Other information or other releases can be found on the GitHub page for JNativeHook.

(back to top)

Getting Started

Follow these instructions if you want to use this app.

Prerequisites

(This onely applies if not using the jar file)

This application relies on JNativeHook 2.2.2 or newer.

  • If you want to use a different version of JNativeHook, they can be found here. Download the relevant jar file.

Installation

This will be confirmed working on Windows machines using IntelliJ (what it's being developed from).

  • Run git clone https://github.com/jasdrive/JavaFX_GUI_AutoClicker.git
  • Open the src folder in IntelliJ.
  • On IntelliJ, go file -> Project Structure -> Modules -> Dependencies.
  • Directly beneath "Module SDK" select the + icon and find your JNativeHook.jar file.
    • Should be found in \IntroToJNativeHook\libs
  • Add the file to the dependency list, apply and close.
  • You can now compile src/GUI/RenderGUI's main method which will run the program.

(back to top)

Usage

This is just meant to be an educational document that will potentially help others learn the basics of JNativeHook.

Use it however you see fit, feel free to open issues or submit requests.

(back to top)

introtojnativehook's People

Contributors

lefro1 avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.