I'm putting together an arcade cabinet play Pico-8 games powered by a Raspberry Pi. My setup uses a Zero Delay USB encoder that I have hooked up to several buttons and a 4 switch joystick. I used to have everything working as of last week, but after an SD Card failure, I needed to re-install Raspian Jessie and set everything up again. So no problem, I downloaded everything re-set it up. No matter what I do, I've been running into this issue where Up and Down on Joystick not work in Pico-8 on Raspberry Pi. I feel like I've tried everything. I've tried Raspian Jessie, Raspian Jessie Lite, Retro Pie, different versions of Pico-8, updating the firmware of the RPI, updating the OS, updating Retro Pie, modified some .ko files, tried to hex edit the driver, put my SDL definitions in sdl_controllers.txt and nothing seems to work. It kills me because it was all working fine. Does anyone out there have any ideas? Below is my log and as you can see it is a DragonRise Generic USB Joystick, it even seems to get picked up in the log. The joystick works fine in RetroPie as far as playing games and navigating the menus, just that up and down don't work in Pico-8. I appreciate any ideas.
codo_init platform: Linux Found config.txt 01 window_size 0 0 // window width, height 02 screen_size 0 0 // screen width, height (stretched to window) 03 show_fps 0 // Draw frames per second in the corner 04 windowed 0 // 1 to start up in windowed mode 05 window_position -1 -1 // x and y position of window, or -1, -1 to let the window manager decide new window position: -1, -1 06 frameless 0 // 1 to use a window with no frame 07 fullscreen_method 1 // 0 maximized window (linux) 1 borderless desktop-sized window 2 fullscreen 08 foreground_sleep_ms 1 // number of milliseconds to sleep each frame. Try 10 to conserve battery power 09 background_sleep_ms 20 // number of milliseconds to sleep each frame when running in the background 10 sessions 18 // number of times program has been run 11 rmb_key 0 // 0 for none 226 for LALT 12 emulate_textinput 1 13 desktop_path 14 sound_volume 256 // 0..256 15 music_volume 256 // 0..256 16 mix_buffer_size 1024 // usually 1024. Try 2048 if you get choppy sound 17 version 0.1.11d 18 root_path /home/pi/.lexaloffle/pico-8/carts/ 19 cdata_path /home/pi/.lexaloffle/pico-8/cdata/ 20 joystick_index 0 21 button_keys 0 0 0 0 0 0 0 0 0 0 0 0 0 22 live_notes 0 23 cursor_snap 0 24 gif_len 8 25 gui_theme 0 26 screenshot_scale 3 27 gif_scale 2 28 shift_glyphs 1 29 show_backup_messages 1 30 host_framerate_control 1 codo_system_init Compiled against SDL version: 2.0.7 Linked against SDL version: 2.0.7 Built-in video drivers: 0 x11 1 RPI 2 dummy Current video driver: RPI Built-in render drivers: Renderer opengles2: Flags: 0x0000000E ( | | ) Texture formats (4): ARGB8888, ABGR8888, RGB888, BGR888 Renderer opengles: Flags: 0x00000006 ( | ) Texture formats (1): ABGR8888 Renderer software: Flags: 0x00000009 ( | ) Texture formats (8): ARGB8888, ABGR8888, RGBA8888, BGRA8888, RGB888, BGR888, RGB565, RGB555 codo_reset_timer codo_gui_init codo_keys_init codo_text_init codo_video_init codo_mouse_init codo_joystick_init searching for joysticks found 1 joysticks Controller 0: DragonRise Inc. Generic USB Joystick Number of Axes: 5 Number of Buttons: 12 Number of Balls: 0 Mapping: 03000000790000000600000010010000,DragonRise Inc. Generic USB Joystick ,x:b3,a:b2,b:b1,y:b0,back:b8,start:b9,dpleft:h0.8,dpdown:h0.4,dpright:h0.2,dpup:h0.1,leftshoulder:b4,lefttrigger:b6,rightshoulder:b5,righttrigger:b7,leftstick:b10,rightstick:b11,leftx:a0,lefty:a3,rightx:a1,righty:a4, ok ok codo_load_pod: /home/pi/pico-8/pico8.dat ok codo_set_screen 128 128 8 100 set pixel_perfect 1 window size: 640 480 codo_plat_pi: forcing fullscreen mode Current renderer: Renderer opengles2: Flags: 0x0000000E ( | | ) Texture formats (8): ARGB8888, ABGR8888, RGB888, BGR888, YV12, IYUV, 0x3231564e, 0x3132564e Max Texture Size: 2048x2048 codo_sound_init mix_buffer_size: 1024 codo_sound_init SDL_INIT_AUDIO ok SDL_OpenAudio ok Built-in audio drivers: 0 alsa 1 dsp 2 nas 3 disk 4 dummy Current audio driver: alsa codo_exit cmusic_stop codo_main_exit codo_config_save codo_sound_exit codo_video_exit codo_joystick_exit codo_system_exit codo_items_created: 1056 ok |
[Please log in to post a comment]