Update example config, remove mouse button type

This commit is contained in:
Ottatop 2023-09-28 18:56:54 -05:00
parent de6bf3ee82
commit 40f90e45d9
2 changed files with 7 additions and 4 deletions

View file

@ -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 --------------------------------------------------------------------

View file

@ -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 = {