ROCKNIX/distribution

RG ARC build 20240612 - Daphne has no controls

Closed this issue · 3 comments

Updated my RG ARC to the latest version 20240612 - Daphne is now confirmed working. However, none of the controls seemed to work or do anything. In the end I had to connect a keyboard to exit. Please could you check and confirm the controls for Daphne on RK3566 devices. Also please could you add the controls to the wiki page: https://rocknix.org/systems/daphne/

I am not sure if this is the right place, but I recently installed the latest version of Rocknix 20240702 into my RG ARC-D and noticed the same problem with the controls. I was able to fix this and get a fully working setup by editing the hypinput.ini file located in /storage/.config/game/configs/hypseus/hypinput.ini. Here is the contents of my known working hypinput.ini file. I have annotated the buttons in the file. (picked C on the controller for button 3, since I like to have X,Y
and Z for Space ace skill settings)

# Sample hypinput.ini
# All key options listed
# Arcade layout by OzFalcon
# Hypseus uses SDL2 Keycodes
# KEY_BUTTON3 Turns scoreboard on/off
# SWITCH = Key1 Key2 Joy
# Start + Select will exit game
##################################
#Button Info for ARC-D running Rocknix by Morfious
#
#Controller Button		ID#		Game Function
#Dpad Up			13		Dpad Up			1073741906		SDLK_UP		BUTTON_DPAD_UP
#Dpad Down			14		Dpad Down		1073741905		SDLK_DOWN	BUTTON_DPAD_DOWN
#Dpad Left			15		Dpad Left		1073741904		SDLK_LEFT	BUTTON_DPAD_LEFT
#Dpad Right			16		Dpad Right		1073741903		SDLK_RIGHT	BUTTON_DPAD_RIGHT
#Select				11		Insert Coin
#Start				12		Start Game
#A Button			2		Button 1
#B Button			1		Button 2
#C Button			3		Toggle Scoreboard
#X Button			4		Skill 1
#Y Button			5		Skill 2
#Z Button			6		Skill 3
#L1				7		Pause
#R1				8		Test Mode
#L2				9		Reset
#R2				10		Service Mode

[KEYBOARD]
KEY_UP = 1073741906 SDLK_UP 13
KEY_DOWN = 1073741905 SDLK_DOWN 14
KEY_LEFT = 1073741904 SDLK_LEFT 15
KEY_RIGHT = 1073741903 SDLK_RIGHT 16
KEY_COIN1 = SDLK_5 0 11
KEY_COIN2 = SDLK_6 0 0
KEY_START1 = SDLK_1 0 12
KEY_START2 = SDLK_2 0 0
KEY_BUTTON1 = SDLK_LCTRL 0 2
KEY_BUTTON2 = SDLK_LALT 0 1
KEY_BUTTON3 = SDLK_SPACE 0 3
KEY_SKILL1 = SDLK_LSHIFT 0 4
KEY_SKILL2 = SDLK_z 0 5
KEY_SKILL3 = SDLK_x 0 6
KEY_SERVICE = SDLK_9 0 10
KEY_TEST = SDLK_F2 SDLK_F4 8
KEY_RESET = SDLK_0 0 9
KEY_SCREENSHOT = SDLK_F12 0 0
KEY_QUIT = SDLK_ESCAPE 0 0
KEY_PAUSE = SDLK_p 0 7
KEY_CONSOLE = SDLK_BACKSLASH 0 0
KEY_TILT = SDLK_t 0 0
END

Hope this helps.

hypinput.ini.zip

Thank you! This has been added as part of #400

I just got round to testing this on my ARC and it works a treat. @jnags good work, thank you.