diff --git a/api/lua/example_config.lua b/api/lua/example_config.lua index 0c3983c..5b1fad5 100644 --- a/api/lua/example_config.lua +++ b/api/lua/example_config.lua @@ -31,15 +31,18 @@ require("pinnacle").setup(function(pinnacle) process.set_env("MOZ_ENABLE_WAYLAND", "1") -- Outputs ----------------------------------------------------------------------- - -- You can set your own monitor layout as I have done below for my monitors. - + -- -- local lg = output.get_by_name("DP-2") --[[@as Output]] -- local dell = output.get_by_name("DP-3") --[[@as Output]] -- -- dell:set_loc_left_of(lg, "bottom") - input.libinput.set_accel_profile("Flat") + -- Libinput settings ------------------------------------------------------------- + -- If you want to change settings like pointer acceleration, + -- you can do them in `input.libinput`. + -- + -- input.libinput.set_accel_profile("Flat") -- Mousebinds -------------------------------------------------------------------- diff --git a/api/lua/input/libinput.lua b/api/lua/input/libinput.lua index ee8d408..fc44b26 100644 --- a/api/lua/input/libinput.lua +++ b/api/lua/input/libinput.lua @@ -151,7 +151,7 @@ function libinput.set_natural_scroll_enabled(enabled) end ---Set the scroll button. ----@param button MouseButton +---@param button integer function libinput.set_scroll_button(button) SendMsg({ SetLibinputSetting = {