iberianpig/fusuma · error

Touchpad is not found

Error message

Touchpad is not found

What it means

Error "Touchpad is not found" thrown in iberianpig/fusuma.

Source

Thrown at lib/fusuma/device.rb:52

    end

    class << self
      # Return devices
      # sort devices by capabilities of gesture
      # @return [Array]
      #: () -> Array[Device]
      def all
        @all ||= fetch_devices.partition do |d|
          d.capabilities.match?(/gesture/)
        end.flatten
      end

      # @return [Array]
      #: () -> Array[Device]
      def available
        @available ||= all.select(&:available).tap do |d|
          MultiLogger.debug(available_devices: d)
          MultiLogger.warn("Touchpad is not found") if d.empty?
        end
      end

      #: () -> nil
      def reset
        @all = nil
        @available = nil
      end

      private

      # @return [Array]
      #: () -> Array[Device]
      def fetch_devices
        line_parser = LineParser.new

        # note: this libinput command takes a nontrivial amount of time (~200ms)
        libinput_command.list_devices do |line|

View on GitHub (pinned to 43a7eb04fe)

Solutions

  1. Confirm the touchpad is detected: run libinput list-devices and look for a device with gesture capabilities.
  2. Make sure your user can read input devices: add yourself to the input group and log out and back in.
  3. On Wayland sessions or VMs without a multitouch touchpad, gestures are unavailable; connect a supported touchpad device.

When it happens

Trigger: Thrown at lib/fusuma/device.rb:52 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of iberianpig/fusuma@43a7eb04fe (2026-08-23). Data as JSON: /api/errors/27d1b9c5f643f2c1. Report an issue: GitHub.