Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

Drastic Controller Config



  • Raspberry 3b
    Power Supply used: 5v - 2.5Amp
    RetroPie Version: 4.2
    Built From: Pre made SD Image: retropie-4.2-rpi2_rpi3.img
    USB Devices connected: Teensy LC/Keyboard
    Error messages received: No messages, just that I'm trying to figure something out.
    Guide used: https://github.com/retropie/retropie-setup/wiki/Nintendo-DS

    I'm building a handheld RetroPie using the Teensy LC utilizing the code found HERE on page 7: Porta_Pi_Ultra_Controls_3.ino

    I'm going through various emulators and fixing up the controllers. In Drastic, I'm running into a brick wall. To map the buttons, I use a keyboard to navigate to the button config screen. In the right column I'm able to map my Teensy buttons. All mappings appear to work, except the Touch Cursor. After I map it to my joystick, it doesn't work. Meaning when I move the joystick, nothing happens, the cursor doesn't even appear on the screen. Prior to config, at defaults, I'm able to use the Touch Cursor, however it is backwards in all directions.

    I've tried configuring the drastic.cfg file, but I don't understand how it references the inputs. It uses something called Control Index, and it has seemingly random number strings. The only thing I've been able to figure out is that "65535" means the value is "un-mapped".

    Can someone please help me figure this out?

    Contents of drastic.cfg

    frameskip_type = 2
    frameskip_value = 4
    show_frame_counter = 1
    screen_orientation = 0
    screen_scaling = 2
    screen_swap = 0
    savestate_number = 0
    fast_forward = 0
    enable_sound = 1
    clock_speed = 0
    threaded_3d = 0
    mirror_touch = 0
    compress_savestates = 1
    savestate_snapshot = 1
    unzip_roms = 0
    backup_in_savestates = 1
    ignore_gamecard_limit = 0
    frame_interval = 0
    trim_roms = 0
    fix_main_2d_screen = 0
    disable_edge_marking = 0
    hires_3d = 0
    use_rtc_custom_time = 0
    rtc_custom_time = 0
    rtc_system_time = 0
    firmware.username = Dr DraStic
    firmware.language = 1
    firmware.favorite_color = 0
    firmware.birthday_month = 1
    firmware.birthday_day = 1
    enable_cheats = 1
    controls_a[CONTROL_INDEX_UP] = 273
    controls_a[CONTROL_INDEX_DOWN] = 274
    controls_a[CONTROL_INDEX_LEFT] = 276
    controls_a[CONTROL_INDEX_RIGHT] = 275
    controls_a[CONTROL_INDEX_A] = 32
    controls_a[CONTROL_INDEX_B] = 306
    controls_a[CONTROL_INDEX_X] = 122
    controls_a[CONTROL_INDEX_Y] = 120
    controls_a[CONTROL_INDEX_L] = 304
    controls_a[CONTROL_INDEX_R] = 99
    controls_a[CONTROL_INDEX_START] = 13
    controls_a[CONTROL_INDEX_SELECT] = 303
    controls_a[CONTROL_INDEX_HINGE] = 104
    controls_a[CONTROL_INDEX_TOUCH_CURSOR_UP] = 65535
    controls_a[CONTROL_INDEX_TOUCH_CURSOR_DOWN] = 65535
    controls_a[CONTROL_INDEX_TOUCH_CURSOR_LEFT] = 65535
    controls_a[CONTROL_INDEX_TOUCH_CURSOR_RIGHT] = 65535
    controls_a[CONTROL_INDEX_TOUCH_CURSOR_PRESS] = 65535
    controls_a[CONTROL_INDEX_MENU] = 109
    controls_a[CONTROL_INDEX_SAVE_STATE] = 286
    controls_a[CONTROL_INDEX_LOAD_STATE] = 288
    controls_a[CONTROL_INDEX_FAST_FORWARD] = 8
    controls_a[CONTROL_INDEX_SWAP_SCREENS] = 115
    controls_a[CONTROL_INDEX_SWAP_ORIENTATION_A] = 97
    controls_a[CONTROL_INDEX_SWAP_ORIENTATION_B] = 100
    controls_a[CONTROL_INDEX_LOAD_GAME] = 65535
    controls_a[CONTROL_INDEX_QUIT] = 65535
    controls_a[CONTROL_INDEX_UI_UP] = 273
    controls_a[CONTROL_INDEX_UI_DOWN] = 274
    controls_a[CONTROL_INDEX_UI_LEFT] = 276
    controls_a[CONTROL_INDEX_UI_RIGHT] = 275
    controls_a[CONTROL_INDEX_UI_SELECT] = 13
    controls_a[CONTROL_INDEX_UI_BACK] = 8
    controls_a[CONTROL_INDEX_UI_EXIT] = 27
    controls_a[CONTROL_INDEX_UI_PAGE_UP] = 280
    controls_a[CONTROL_INDEX_UI_PAGE_DOWN] = 281
    controls_a[CONTROL_INDEX_UI_SWITCH] = 304
    controls_b[CONTROL_INDEX_UP] = 1029
    controls_b[CONTROL_INDEX_DOWN] = 1030
    controls_b[CONTROL_INDEX_LEFT] = 1031
    controls_b[CONTROL_INDEX_RIGHT] = 1032
    controls_b[CONTROL_INDEX_A] = 1024
    controls_b[CONTROL_INDEX_B] = 1027
    controls_b[CONTROL_INDEX_X] = 1025
    controls_b[CONTROL_INDEX_Y] = 1026
    controls_b[CONTROL_INDEX_L] = 65535
    controls_b[CONTROL_INDEX_R] = 65535
    controls_b[CONTROL_INDEX_START] = 1028
    controls_b[CONTROL_INDEX_SELECT] = 1033
    controls_b[CONTROL_INDEX_HINGE] = 65535
    controls_b[CONTROL_INDEX_TOUCH_CURSOR_UP] = 1155
    controls_b[CONTROL_INDEX_TOUCH_CURSOR_DOWN] = 1219
    controls_b[CONTROL_INDEX_TOUCH_CURSOR_LEFT] = 1154
    controls_b[CONTROL_INDEX_TOUCH_CURSOR_RIGHT] = 1218
    controls_b[CONTROL_INDEX_TOUCH_CURSOR_PRESS] = 1217
    controls_b[CONTROL_INDEX_MENU] = 1216
    controls_b[CONTROL_INDEX_SAVE_STATE] = 65535
    controls_b[CONTROL_INDEX_LOAD_STATE] = 65535
    controls_b[CONTROL_INDEX_FAST_FORWARD] = 65535
    controls_b[CONTROL_INDEX_SWAP_SCREENS] = 65535
    controls_b[CONTROL_INDEX_SWAP_ORIENTATION_A] = 65535
    controls_b[CONTROL_INDEX_SWAP_ORIENTATION_B] = 65535
    controls_b[CONTROL_INDEX_LOAD_GAME] = 65535
    controls_b[CONTROL_INDEX_QUIT] = 65535
    controls_b[CONTROL_INDEX_UI_UP] = 1029
    controls_b[CONTROL_INDEX_UI_DOWN] = 1030
    controls_b[CONTROL_INDEX_UI_LEFT] = 1031
    controls_b[CONTROL_INDEX_UI_RIGHT] = 1032
    controls_b[CONTROL_INDEX_UI_SELECT] = 1024
    controls_b[CONTROL_INDEX_UI_BACK] = 1026
    controls_b[CONTROL_INDEX_UI_EXIT] = 1027
    controls_b[CONTROL_INDEX_UI_PAGE_UP] = 65535
    controls_b[CONTROL_INDEX_UI_PAGE_DOWN] = 65535
    controls_b[CONTROL_INDEX_UI_SWITCH] = 65535


  • Is anyone able to help? Did I miss something obvious?



Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.