Skip to content

alfredkrohmer/xboxone-wifi-controller

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Prototype of Linux userspace driver for Xbox One Wireless (WiFi) controller

The wireless dongle will show up as a WiFi interface:

$ ip l show wlp0s20u3u1u4
3: wlp0s20u3u1u4: <NO-CARRIER,BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state DORMANT mode DORMANT group default qlen 1000
    link/ieee802.11/radiotap 62:45:b4:f4:41:51 brd ff:ff:ff:ff:ff:ff

In order to make this program work, set the interface to monitoring mode and select channel 40:

$ sudo ifconfig wlp0s20u3u1u4 down
$ sudo iwconfig wlp0s20u3u1u4 mode monitor
$ sudo ifconfig wlp0s20u3u1u4 up
$ sudo iwconfig wlp0s20u3u1u4 channel 40

Compile the program:

$ g++ main.cpp -lpthread

Run it:

$ sudo ./a.out wlp0s20u3u1u4

Pair your controller by pressing the little button on it. Afterwards, the program will display input data.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published