“I made this game controller by using Arduino Nano BLE 33 Sense which has onboard proximity sensor.
1) In this project I used the Arduino Nano BLE 33 Sense which has onboard proximity sensor
2) First upload the Serial.ino code When the proximity sensor detect any object it will print the word “d” in serial Monitor
3) Then run controller.py python file I this python code I used two packages one is pyserial another one is pynput packages pyserial is used to make a connection between and arduino and python and the pynput used to control and monitor the input devices like keyboard and mouse
4) After executing the python file. open notepad bring the arduino ble board close to any object the word d will typed in the note pad with out using the keyboard”