{"repo":"petrockblog/ControlBlockService2","free":true,"listed":false,"github":"https://github.com/petrockblog/ControlBlockService2","clone":"git clone https://github.com/petrockblog/ControlBlockService2.git","description":"This is the driver for the ControlBlock re.v 2.X, a power switch and input/output/gameapd gadget for the Raspberry Pi","language":"C++","stars":25,"topics":["petrockblock","retropie","retro","raspberry","rpi","rpi2","rpi3","raspberry-pi","gamepad","power-switch"],"license":null,"category":"self-hosted-apps","readme_excerpt":"ControlBlockService2 ==================== This is the driver for the petrockblock.com ControlBlock, which is an extension board for the Raspberry Pi (TM). The driver itself is denoted as controlblock in the following. The driver provides a service for interacting with the power button signals as well as for mapping attached game controllers to corresponding game pad devices on the Raspberry Pi. Please note that this is the driver for revision 2.X of the ControlBlock. If you have a revision 1.X board, you need to use the driver for that revision series. Contents - ControlBlockService2 - Contents - Prerequisites - Downloading - Quick Installation - Building and Installation - Installation as Service - Uninstalling the service and/or the binary - Configuration - Setting the Type of Gamepad - Arcade - MAME - SNES / NES - Genesis / Megadrive - Saturn - Using Only one Gamepad - Enabling or Disabling the Power Switch Functionality - Custom Actions at Shutdown - 4-Player Extension with two ControlBlocks - Setting Base Address with the Solder Jumpers - Interrupting the Signal Lines for the Power Switch on the Second ControlBlock - Adapting the Configuration File for Four Players - Four Player Hardware Setup Example - Troubleshooting - Checking the Raw GPIO of the Raspberry Prerequisites To be able to successfully build ControlBlockService you need to have certain APT packages installed. You can make sure that you have the latest version of those packages with these commands: Downloadi","default_branch":null,"files":null,"tree":[],"storefront":"/r/petrockblog","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/petrockblog/ControlBlockService2/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}