mirror of
https://mzte.de/git/LordMZTE/dotfiles.git
synced 2024-05-18 23:14:24 +02:00
mzteriver: touchpad config
This commit is contained in:
parent
6a7bf0c300
commit
365c7b2ff1
|
@ -110,6 +110,15 @@ pub fn init(alloc: std.mem.Allocator) !void {
|
||||||
try con.runCommand(&.{ "map-pointer", "normal", "Super", "BTN_LEFT", "move-view" });
|
try con.runCommand(&.{ "map-pointer", "normal", "Super", "BTN_LEFT", "move-view" });
|
||||||
try con.runCommand(&.{ "map-pointer", "normal", "Super", "BTN_RIGHT", "resize-view" });
|
try con.runCommand(&.{ "map-pointer", "normal", "Super", "BTN_RIGHT", "resize-view" });
|
||||||
|
|
||||||
|
// touchpad config
|
||||||
|
inline for (.{
|
||||||
|
.{ "click-method", "clickfinger" },
|
||||||
|
.{ "tap-button-map", "left-right-middle" },
|
||||||
|
.{ "tap", "enabled" },
|
||||||
|
}) |cmd| {
|
||||||
|
try con.runCommand(&[_][:0]const u8{ "input", "*" } ++ cmd);
|
||||||
|
}
|
||||||
|
|
||||||
// tag config
|
// tag config
|
||||||
for (0..9) |i| {
|
for (0..9) |i| {
|
||||||
var key_buf: [16]u8 = undefined;
|
var key_buf: [16]u8 = undefined;
|
||||||
|
|
Loading…
Reference in a new issue