Compare commits
2 commits
be68569360
...
5bbc38c6ca
Author | SHA1 | Date | |
---|---|---|---|
|
5bbc38c6ca | ||
f976bed8c8 |
2 changed files with 5 additions and 4 deletions
|
@ -17,10 +17,10 @@ constexpr std::pair<double, double> joystick_movement(1.0, 1.0);
|
||||||
|
|
||||||
const gpiod::line::offsets drive_down = { 21, 13, 6 };
|
const gpiod::line::offsets drive_down = { 21, 13, 6 };
|
||||||
|
|
||||||
const gpiod::line::offsets decoder = { 2, 3, 4, 14, 15, 18, 23, 24 }; // lsbf
|
const gpiod::line::offsets decoder = { 3, 4, 17, 27, 24, 23, 18, 15 }; // lsbf
|
||||||
const gpiod::line::offsets joystick = { 0, 0, 0, 0 }; // x+, y+, x-, y-
|
const gpiod::line::offsets joystick = { 26, 19, 0, 5 }; // x+, y+, x-, y-
|
||||||
const gpiod::line::offset black_button = 16;
|
const gpiod::line::offset black_button = 20;
|
||||||
const gpiod::line::offset white_button = 20;
|
const gpiod::line::offset white_button = 16;
|
||||||
|
|
||||||
const gpiod::line_settings input_settings =
|
const gpiod::line_settings input_settings =
|
||||||
gpiod::line_settings()
|
gpiod::line_settings()
|
||||||
|
|
|
@ -5,6 +5,7 @@
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
{
|
{
|
||||||
|
networking.firewall.trustedInterfaces = [ "wg0" ];
|
||||||
systemd.network = {
|
systemd.network = {
|
||||||
enable = true;
|
enable = true;
|
||||||
networks = {
|
networks = {
|
||||||
|
|
Loading…
Reference in a new issue