This repository contains a simple Bluetooth controller application that transmits four signals (1
, 2
, 3
, and 4
) via Bluetooth.
The application also supports keyboard controls to send these signals using the W
, S
, A
, and D
keys.
- Signal Transmission: Sends four distinct signals (
1
,2
,3
,4
) over Bluetooth. - Keyboard Controls:
W
key: Signal1
S
key: Signal2
A
key: Signal3
D
key: Signal4
- Java-Based Implementation: Developed using Java with JDK 17.
- Java Development Kit (JDK) 17 installed.
- A Bluetooth-enabled device for testing.
- A Bluetooth receiver capable of recognizing the transmitted signals.
git clone https://github.com/cusaldmsr/Bluetooth-Controller.git
cd Bluetooth-Controller
Ensure you have JDK 17 installed and properly configured in your environment.
javac -d out src/GUI/Controller.java
Execute the compiled Java application:
java -cp out GUI.Controller.Main
Use the following keyboard keys to send signals:
W
-> Sends signal1
S
-> Sends signal2
A
-> Sends signal3
D
-> Sends signal4
Bluetooth Controller/
├── src/
│ └── GUI/
│ │ ├── Controller.java
│ │ ├── BluetoothController.java
│ │ └── Utils.java
│ └── Resources/
│ ├── Bluetooth.gif
│ └── bluetooth.svg
├── Lib/
│ ├── Bluetooth.jar
│ └── flatlaf-3.5.1.jar
├── README.md
└── LICENSE
- Java (JDK 17)
- Bluetooth communication protocols
Contributions are welcome! Feel free to fork this repository and submit a pull request.
- Fork the repository.
- Create a new branch:
git checkout -b feature-branch-name
- Make your changes and commit:
git commit -m "Your commit message"
- Push to your branch:
git push origin feature-branch-name
- Open a pull request on GitHub.
Feel free to open an issue if you have any questions or suggestions!