Compare commits

...

2 commits

Author SHA1 Message Date
sinavir
be68569360 feat(hackens-org): Trust vpn 2024-10-13 19:46:50 +02:00
bc7506a0ed
feat(agb02): mapping 2024-10-13 19:41:47 +02:00
2 changed files with 3 additions and 2 deletions

View file

@ -17,8 +17,8 @@ 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, 5, 0 }; // x+, y+, x-, y-
const gpiod::line::offset black_button = 16; const gpiod::line::offset black_button = 16;
const gpiod::line::offset white_button = 20; const gpiod::line::offset white_button = 20;

View file

@ -5,6 +5,7 @@
... ...
}: }:
{ {
networking.firewall.trustedInterfaces = [ "wg0" ];
systemd.network = { systemd.network = {
enable = true; enable = true;
networks = { networks = {