This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Color inversion shader | |
*/ | |
#if defined(VERTEX) | |
#if __VERSION__ >= 130 | |
#define COMPAT_VARYING out | |
#define COMPAT_ATTRIBUTE in | |
#define COMPAT_TEXTURE texture |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Input Lag shader | |
*/ | |
struct previous | |
{ | |
uniform sampler2D texture; | |
float2 tex_coord; | |
}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
input_driver = "xinput" | |
input_device = "Twin USB Joystick" | |
input_vendor_id = "2064" | |
input_product_id = "1" | |
input_b_btn = "2" | |
input_y_btn = "3" | |
input_select_btn = "8" | |
input_start_btn = "9" | |
input_up_btn = "h0up" | |
input_down_btn = "h0down" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
input_driver = "xinput" | |
input_device = "Twin USB Joystick" | |
input_vendor_id = "2064" | |
input_product_id = "1" | |
input_b_btn = "2" | |
input_y_btn = "3" | |
input_select_btn = "8" | |
input_start_btn = "9" | |
input_up_axis = "-1" | |
input_down_axis = "+1" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## RetroArch keybind config template | |
## Can be copypasted into an existing config, appended with --apppendconfig, used as a core or game override, or used with the include directive in an existing config | |
# Keyboard input. Will recognize letters (a to z) and the following special keys (where kp_ | |
# is for keypad keys): | |
# | |
# left, right, up, down, enter, kp_enter, tab, insert, del, end, home, | |
# rshift, shift, ctrl, alt, space, escape, add, subtract, kp_plus, kp_minus, | |
# f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, | |
# num0, num1, num2, num3, num4, num5, num6, num7, num8, num9, pageup, pagedown, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# IMPORTANT: | |
# Shader passes need to know details about the image in the mask_texture LUT | |
# files, so set the following constants in user-cgp-constants.h accordingly: | |
# 1.) mask_triads_per_tile = (number of horizontal triads in mask texture LUT's) | |
# 2.) mask_texture_small_size = (texture size of mask*texture_small LUT's) | |
# 3.) mask_texture_large_size = (texture size of mask*texture_large LUT's) | |
# 4.) mask_grille_avg_color = (avg. brightness of mask_grille_texture* LUT's, in [0, 1]) | |
# 5.) mask_slot_avg_color = (avg. brightness of mask_slot_texture* LUT's, in [0, 1]) | |
# 6.) mask_shadow_avg_color = (avg. brightness of mask_shadow_texture* LUT's, in [0, 1]) | |
# Shader passes also need to know certain scales set in this .cgp, but their |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Override config for setting CRT resolutions per core or per game. | |
## Place this in $rgui_config_directory/[Core Name]/[Core Name].cfg or $rgui_config_directory/[Core Name]/[Content Filename].cfg to have it loaded automatically when override loading is enabled | |
## e.g $rgui_config_directory/MAME/mslug.cfg or $rgui_config_directory/Mednafen PSX/Mednafen PSX.cfg | |
# Fullscreen resolution. Resolution of 0 uses the resolution of the desktop. | |
# Note, you must create the modeline in your OS video driver settings for this to work. | |
video_fullscreen_x = 3840 | |
video_fullscreen_y = 480 | |
# Refresh rate of the resolution mode. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Keyboard input override for MAME-libretro | |
## place this in $rgui_config_directory/MAME/MAME.cfg (for the Git version of MAME) to have it loaded automatically when override loading is enabled | |
## Also applicable to any core that makes use of RetroKeyboard extensively. | |
# Remove all RetroPad keyboard mappings to avoid conflicts with MAME keyboard mappings | |
# Note: you will need a joypad or mouse to navigate RetroArch's menu with these disabled. | |
input_player1_a = "nul" | |
input_player1_b = "nul" | |
input_player1_y = "nul" | |
input_player1_x = "nul" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Fullscreen video mode config template for RetroArch. | |
## Can be appended on top of an existing config or used by itself. | |
## Note: This config will not overwrite by default to preserve comments. To enable saving changes from the menu, set config_save_on_exit to true. | |
# Fullscreen resolution. Resolution of 0 uses the resolution of the desktop. | |
# Note, you must create the modeline in your OS video driver settings for this to work. | |
video_fullscreen_x = 3840 | |
video_fullscreen_y = 480 | |
# Refresh rate of the resolution mode. |