Hi guys
orangepi-one and i'm trying to install the Super Nintendo Classic Controller wich is i2c bus
/---------\
| |
| 1-2-3 |
| 4-5-6 |
| _____ |
\_/ \_/
```
| Controller Pin | Function | Pi Pin |
|---------------:|---------------|-----------|
| 1 | I2C data | 3 (SDA) |
| 2 | device detect | - |
| 3 | +3.3V | 1 (+3.3V) |
| 4 | GND | 6 (GND) |
| 5 | not connected | - |
| 6 | I2C clock | 5 (SCL) |
i have wired the controller to the orangepi bus port 0 and port 2
i found a driver for the raspberrypi , i tried to install it but is not working
i don't know what i'm doing wrong i followed the instruction in the github
https://github.com/nutki/rpi-nintendo-cl...controller
i have added to the armbianev.txt
overlays=i2c0 i2c1 i2c2 usbhost0 usbhost1 usbhost2 usbhost3
i have installed i2c-tools and both controllers are been detected on port 0 and 2 as static id 52
$ sudo i2cdetect -y 0
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- 52 -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --
$ sudo i2cdetect -y 2
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- 52 -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --
when i tried to
cmake .
make
it gives me a bunch of errors
can someone point me in the right direction to make this controllers work thanks