Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/idouble/keyboard
☕️ A simple Java Library to send commands to the Keyboard ⚙️⌨️
https://github.com/idouble/keyboard
api easy easy-to-understand easy-to-use fast free jar java java-api java-library keyboard library mit mit-license multi-platform multiple-monitors simple
Last synced: 24 days ago
JSON representation
☕️ A simple Java Library to send commands to the Keyboard ⚙️⌨️
- Host: GitHub
- URL: https://github.com/idouble/keyboard
- Owner: IDouble
- License: mit
- Created: 2016-06-26T13:40:16.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2024-02-29T15:51:59.000Z (9 months ago)
- Last Synced: 2024-10-04T15:42:45.599Z (about 1 month ago)
- Topics: api, easy, easy-to-understand, easy-to-use, fast, free, jar, java, java-api, java-library, keyboard, library, mit, mit-license, multi-platform, multiple-monitors, simple
- Language: Java
- Homepage:
- Size: 690 KB
- Stars: 15
- Watchers: 2
- Forks: 3
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ⌨️ Keyboard ⌨️
A Simple **Java Library** for controlling the **Keyboard**, it is:- **Easy** to use
- **Powerful**
- And has **many Functions**I searched long to find a simple **Keyboard Library** for **Java** but I have found nothing that fits,
so I wrote a simple **Java Library** to access the **Keyboard**.## 📝 Example 📝
([**As an example, I used it to program a game controller with Arduino (JArduino).**](https://github.com/AYIDouble/IOT-Arduino-Game-Controller-Java))
```
import java.awt.AWTException;
import java.util.ArrayList;import com.sun.glass.events.KeyEvent;
import Keyboard.Keyboard;
public class Main {
static Keyboard keyboard;
public static void main(String[] args) throws AWTException, InterruptedException {
keyboard = new Keyboard();
ArrayList keyyy = new ArrayList();
keyboard.type("Cool, ");
keyboard.type("I can write this in just one line");
keyboard.press(KeyEvent.VK_WINDOWS);
}
}
```
![Binance Ready to give crypto a try ? buy bitcoin and other cryptocurrencies on binance](Images/binance.jpg)