Skip to content
Snippets Groups Projects
config.txt 1.15 KiB
Newer Older
Louis's avatar
Louis committed
hdmi_force_hotplug=1

# Additional overlays and parameters are documented /boot/overlays/README

# Configure cabinet buttons
dtoverlay=picade
dtparam=up=17    #  W
dtparam=down=31  #  S
dtparam=left=30  #  A
dtparam=right=32 #  D
dtparam=button1=22  #  U
dtparam=button2=23  #  I
dtparam=button3=24  #  O
dtparam=button4=36  #  J
dtparam=button5=37  #  K
dtparam=button6=38  #  L
dtparam=enter=28  #  Enter Key
dtparam=escape=1  #  Escape Key
dtparam=coin=42   #  Left Shift
dtparam=start=29  #  Left Control


# Enable audio (loads snd_bcm2835)
dtparam=audio=on

# Automatically load overlays for detected cameras
camera_auto_detect=1

# Automatically load overlays for detected DSI displays
display_auto_detect=1

# Enable DRM VC4 V3D driver
dtoverlay=vc4-kms-v3d
max_framebuffers=2

# Run in 64-bit mode
arm_64bit=1

# Disable compensation for displays with overscan
disable_overscan=1

[cm4]
# Enable host mode on the 2711 built-in XHCI USB controller.
# This line should be removed if the legacy DWC2 controller is required
# (e.g. for USB device mode) or if USB support is not required.
otg_mode=1

[all]

[pi4]
# Run as fast as firmware / board allows
arm_boost=1

[all]