xboxdrv and EmulationStation - Raspberry Pi Forums


hi,

i'm having bit of time trying emulationstation , running xboxdrv , wireless xbox360 controller.
got wireless controller working following guide , managed make configurations.

http://www.s-config.com/chinese-xbox-36 ... ver-setup/

if leave xboxdrv config blank, no button/axis assignments can use ok retroarch based emulators.
automatic ui-setup emulationstation works too.

problems:

1. ran ui-setup using keyboard worked, can't have controller well, because setup runs once. have both hid/renamed ~/.emulationstation/es_input.cfg , re-ran controller. manually combined 2 .cfg files one. magic. hope useful someone.

shouldn't need if i'm using xboxdrv. can configured output simulated keypresses, should have been able run ui-setup keyboard , driven controller, xboxdrv configured output same keypresses. doesn't work! correct characters appear if test controller in terminal. emulationstation doesn't hear them. if run ui-setup on contoller same xboxdrv config, button/axis assigned emulate keypress cannot assigned in setup. doesn't hear keypress there either. established above have workaround, should work , has implications of non-retroarch emulators (not all, e.g. dgen simulated key presses land beautifully).

2. xboxdrx allows buttons assigned "exec" command. can example launch emulationstation or kodi. limited executable can specified. wrapper script must called instead, use arguments. starting emulationstation example. xboxdrv running init.d launched service runs root. gives error saying emulationstation shouldn't run root, instead launch script in turn runs user e.g:

code: select all

#! /bin/bash  date echo -e "wrapper starting emulation station\n" su pi -c emulationstation echo -e "wrapper exiting...\n" 
fine.

odd thing happens exec function. after exits program you've chosen run (even simple 'ls') command prompt doesn't reappear until press <return> on keyboard. fear more aesthetic. when emulationstation starts emulator uses runcommand.sh script, issue error regarding existance of /dev/tty. believe connection current virtual terminal. losing guess explain need user "reconnect" pressing return. why? permissions thing? , solution needed else emulationstation cannot started controller, it's pointless if cannot start emulator!

hope i've provided enough information of successes , failures offer advice.

i've continued search emulationstation forum , xboxdrv mailing list nobody seems have reported this.
can't imagine i'm first person try , start es or application using controller through xboxdrv. assume it's i'm doing wrong.

, applications not hearing emulated keypresses xboxdrv? can't ditch keyboard altogether without correcting this. n64 emulator example seems map button presses receives buttons on original n64 controller. emulator features, such saving , loading, exiting etc expect additional keyboard shortcuts, still need keyboard. emulated keypresses xboxdrv should around that, don't land!

nobody have theory? or alternative perhaps?

please, consider post bump!


raspberrypi



Comments

Popular posts from this blog

opencv3, tbb and rasp pi 2 - Raspberry Pi Forums

small ethernet problem - Raspberry Pi Forums

Multithumb configuration params not working? - Joomla! Forum - community, help and support