CPUWIZ Posted November 16, 2014 Share Posted November 16, 2014 Hello, I optimized this code, removed the crystal from the board and clocked the chip at 8MHz, then I re-wrote all the timing routines for the PS2 protocol decoding etc.! This freed up the last two pins that can be used for outputs on the PIC I use for the MCP IO-Board. This now allows me to do 13 signals for direction/buttons. I also am in the middle of writing some code to put the adapter into config mode, which will allow for selecting different configurations of button layouts. The selection stays alive, when the joystick adapter is unplugged, I will store the current selection in the internal EEPROM of the PIC. I've created a template for layouts, now I would love to see some good examples, like a Spy Hunter or Omega Race config, etc.! Cheers, -R EDIT: Fixed template, so it includes L3 and R3. EDIT2: Figured out a way to control the last of the 14 signals, updated template. 10 Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.