Skip to content

Integrate batocera-extra features into batocera #1

@git-developer

Description

@git-developer

This issue has the purpose to track the progress of integration from batocera-extra into the batocera core. It is a living document that is updated when development progresses.

Open tasks

Prerequisites

  • Mark dbus-python as installed
    • dbus-python is installed via buildroot; when pip doesn't know about it, it will try to install it requiring a build chain.
    • See patch
    • buildroot#500 and buildroot#511 were intended to solve this, but seem to have no effect
  • Provide upower

Enable motion in emulators

Add cemuhook servers for popular controllers

Motion for devices with modern Linux drivers (e.g. Switch, DS4, DS5)
Motion for Steam Deck

Finished tasks

(click to expand)

batocera.linux

Improvements
  • Improve rpx location for squashfs
  • Fix language/region setting in Citra
  • Add support for battery status from kernel module hid-nx
  • Add support to read temperature from hwmon in addition to thermal_zone
    • #8137
    • e.g. /sys/class/hwmon/hwmon0/temp1_input in addition to /sys/devices/virtual/thermal/thermal_zone0/temp
    • thermal_zone is not available on some systems
  • Allow flatpak emulators to use a Switch Pro Controller
cemuhook preparation
  • Prevent citraGenerator.py from removing unknown settings
  • Provide dependencies for joycond-cemuhook
    • Upgrade python-evdev from 0.7.0 (2017-06-16) to latest.
      Done in commit 9590272, pushed to master on 2022-10-03
    • Provide dbus-python
    • Provide upower (buildroot packages incl. upower were removed in d0e9d51, 2020-01-27) (moved to separate task)

joaorb64/joycond-cemuhook

Upstream: #71

  • Consider hid-nx as module name
  • Create a mapping of controller names to a profile file
  • Avoid error on missing org.freedesktop.UPower
  • Provide an installable python package

TheDrHax/ds4drv-cemuhook

  • Move from hcitool to D-Bus (Will probably never happen, dsdrv4 can be replaced by evdevhook2)

Future options

(click to expand)

Touch control from remote devices (Smartphone / Tablet)

  • remote_touchpad
    • Install flatpak package
    • Start server on boot
    • Show QR code in ES

Additional emuhook servers

  • motion_remote for e.g. Smartphones (requires user configuration)
  • motion_steam_controller (supports both motion and touch)
  • motion_wiimote

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions