Linux [hostname redacted] 5.4.0-91-generic #102-Ubuntu SMP Fri Nov 5 16:31:28 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Steps to reproduce
Sample scene:
defmodule Example.Scene do
@moduledoc """
This is a minimal scene that will publish received events to the console.
"""
use Scenic.Scene
@input_classes [:cursor_button,
:cursor_scroll,
:cursor_pos]
@impl Scenic.Scene
def init(scene, _param, _opts) do
:ok = request_input(scene, @input_classes)
{ :ok, scene }
end
@impl Scenic.Scene
def handle_input( evt, _ctx, scene ) do
IO.inspect(evt, label: "Input: ")
{:noreply, scene}
end
end
Expected Behavior
Mouse buttons that aren't left, right, or middle click should have unique button identifiers.
Actual Behavior
Mouse buttons beyond the normal three always report as :unknown.
Checklist
Versions and Environment
Elixir:
Erlang:
Scenic:
OS:
Steps to reproduce
Sample scene:
Expected Behavior
Mouse buttons that aren't left, right, or middle click should have unique button identifiers.
Actual Behavior
Mouse buttons beyond the normal three always report as
:unknown
.