Skip to content

android: add sunxi IR remote profile - #1325

Open
danielcamposramos wants to merge 1 commit into
libretro:masterfrom
danielcamposramos:add-sunxi-ir-uinput-remote
Open

android: add sunxi IR remote profile#1325
danielcamposramos wants to merge 1 commit into
libretro:masterfrom
danielcamposramos:add-sunxi-ir-uinput-remote

Conversation

@danielcamposramos

Copy link
Copy Markdown

Summary

Add an Android menu-navigation profile for the Allwinner built-in IR receiver
that reports:

Device: sunxi-ir-uinput
VID:    0x0000 / 0
PID:    0x0000 / 0
Source: DPAD | KEYBOARD (0x00000301)

The repository already has sunxi-ir.cfg, but Android treats
sunxi-ir-uinput as a different exact input device, so that profile does not
match this receiver.

Hardware validation

  • Android 10 TV box using an Allwinner H616 SoC.
  • Physical bundled IR remote.
  • Android's active /system/usr/keylayout/sunxi-ir-uinput.kl maps Back,
    D-pad directions, D-pad Center, and Menu to keycodes 4, 19–23, and 82.
  • The physical remote was confirmed navigating RetroArch with arrows, OK,
    Back, and Menu.
  • The profile deliberately includes only those validated menu functions.
  • Repository test result: No duplicate profiles were found.

HDMI-CEC is intentionally excluded: on this Android build CEC events are
framework-injected as deviceId=-1, SOURCE_HDMI, with no physical device
name or VID/PID, so they cannot be represented honestly by a joypad
autoconfiguration profile.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant