2024-08-16 12:58:19 +03:00
|
|
|
enums = {
|
|
|
|
namespaces: ["stdin", "clickpad"];
|
2024-08-16 11:12:20 +03:00
|
|
|
};
|
|
|
|
|
2024-08-14 23:23:21 +03:00
|
|
|
nodes = {
|
|
|
|
stdin = {
|
|
|
|
type = "getchar";
|
|
|
|
options = {
|
2024-08-16 12:58:19 +03:00
|
|
|
namespace = "namespaces.stdin";
|
2024-08-14 23:23:21 +03:00
|
|
|
};
|
|
|
|
};
|
|
|
|
print = {
|
|
|
|
type = "print";
|
|
|
|
options = {};
|
|
|
|
};
|
|
|
|
clickpad = {
|
|
|
|
type = "evdev";
|
|
|
|
options = {
|
|
|
|
file = "/dev/input/event7";
|
2024-08-16 12:58:19 +03:00
|
|
|
namespace = "namespaces.clickpad";
|
2024-08-14 23:23:21 +03:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
channels = ({
|
|
|
|
from: ("stdin", 0);
|
|
|
|
to: ("print", 0);
|
|
|
|
}, {
|
|
|
|
from: ("clickpad", 0);
|
|
|
|
to: ("print", 1);
|
|
|
|
});
|
|
|
|
|
|
|
|
// vim: ft=libconfig
|