/Win32-Input

Facilitates user input operations on Windows

Primary LanguageC#GNU General Public License v3.0GPL-3.0

Contributors Forks Stargazers Issues MIT License LinkedIn


Logo

Win32 Input

A tool to cheat at the Aim Trainer on HumanBenchmark.com
Explore the docs »

View Demo · Report Bug · Request Feature

Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. Roadmap
  5. Contributing
  6. License
  7. Contact
  8. Acknowledgments

About The Project

This project was made to automate various inputs using Windows' Win32 API. It was created out of necessity because I couldn't find a NuGet package that suited my needs, and I just didn't really care to look that hard for one, so I created my own.

(back to top)

Built With

  • C#
  • Windows

(back to top)

Getting Started

To run the program on your own machine, follow the following steps.

Prerequisites

This is a list on all the things you need, in order to run the software on your own machine

  • Windows 7/8/10/11/Above
    • Any Windows version should work, but I'd suggest 7 or above, because I can't be certain if any version below 7 will work.

Installation

  1. Clone the repo
    git clone https://github.com/JMVRy/Win32-Input.git
  2. Use the input classes
    using JMVR;
    
    // Moves mouse to 0, 0 (top-left)
    MouseOperations.SetCursorPosition(0, 0);
    
    // Types "hello"
    InputOperations.SendUnicode("hello");
    
    // Presses the F24 key (not found on most keyboards, relic of old keyboard used for compatibility sake)
    InputOperations.SendKeypress(InputOperations.VirtualKeyShort.VK_F24);

(back to top)

Usage

This project was primarily made for allowing me to do input automation for simple projects. If you've followed the Installation setup and there's no more problems, then it should just be plug-and-play. Use with your own code, and it should do what you want it to do. Some confusion may occur regarding multiple monitor setups, but that's because Win32 is kinda weird with those, and I don't really know how else it should be done.

For more information, please refer to the Documentation

(back to top)

Roadmap

See the open issues for a full list of proposed features (and known issues).

(back to top)

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

(back to top)

License

Distributed under the GNU General Public License Version 3. See LICENSE.txt for more information.

(back to top)

Contact

JohnMarc Everly Jr. - LinkedIn - srjr18@gmail.com

Project Link: https://github.com/JMVRy/Win32-Input

(back to top)

Acknowledgments

(back to top)


This README was made with the Best README Template repository.