Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add link to custom joystick contact pads * add new pin protection files * clarify notes, add link to pin protector * formatting * add atmega8 config for flashing fuses and firmware with arduino as isp * update the firmware flashing guide * update main readme More thoroughly detail what the project is. Update project status. Add more links to the Wiki. * update link descriptions * temporarily remove arduino flashing instructions * add arduino flashing instructions, fix pin colors * edit troubleshooting * main code refactor Made the code more readable. Configured the gamepad to be compatible with 030000004c0500006802000010010000 PS3 Controller in the SDL Database. * mouse refactor Update the mouse driver to use the new struct with detailed elements * create shared header Move the struct to its own file that is referenced by main and mouse, since both programs initialize the exact same struct. This cuts each program down by 60 lines. * pre-compute the crc table Instead of calculating it every loop, just generate the while table when the code begins. * optimize uinput for performance Batch all of the input updates and write them at once. * work with local copy of data instead of shared memory * clean up the dimming function * prevent unnecessary uinput updates Only run the function when actual gamepad data changes * reduce uinput writes Only update the data that changed * add extrabuttons argument This --extrabuttons argument enables the two buttons that are soldered to the board. Includes the ability to specify trigger or stick. Trigger will map the buttons as the PS3 triggers. Stick will map them as PS3 joystick buttons. * add bookworm overlays for dpi Bookworm requires KMS, and it has its own implementation of DPI. Doesn't work correctly on Pi5/CM5 yet raspberrypi/linux#6505 * add the touchscreen driver * split extrabuttons and joystick commands Allows the extra buttons to be used regardless of whether the extra joysticks are enabled * add the latest binaries --------- Co-authored-by: othermod <[email protected]>
- Loading branch information