dbeef / pc-controller-ds

Capturing key input on NDS and sending it to PC

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pc-controller-ds

Capturing key input on NDS and sending it to PC

https://www.youtube.com/watch?v=m06VW7e9yyg

Dependencies

Usage

  • create hotspot on your laptop
  • run .nds file on your NDS
  • connect to your hotspot on your NDS via the .nds file
  • run the python script: desktop_client.py

How it works

  • NDS opens port 8080, python script connects PC to it, then:
    • NDS receives ACK character from PC
    • NDS scans pressed keys
    • NDS sends pressed keys
    • python simulates keyboard/mouse with pyautogui

How to make WIFI hotspot that NDS can connect (it's not that obvious):

  • in Ubuntu open "Network Connections" and click "add new"
  • go to the "Wi-Fi security" - NDS supports only WEP security (so remember, it's dangerous to beacon that poorly secured network all the time, use this hotspot only when playing with your NDS) - select "WEP 40/128 bit key (Hex or ASCII)"
  • select some random 5 character (only digits) password
  • in "Wi-Fi" tab select "Mode" to "Hotspot"
  • save it
  • open "Network"
  • click "Connect to to a hidden network"
  • select network that you've just created (by default its name will be "hotspot")
  • you're done, if you were previously connected with another network via wifi you'll be disconnected
  • now you can connect to this network through your NDS

About

Capturing key input on NDS and sending it to PC

License:GNU General Public License v3.0


Languages

Language:Makefile 46.2%Language:C++ 37.9%Language:Python 10.5%Language:CMake 5.5%