View Single Post
Old 31 December 2016, 08:37   #2
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 42
Posts: 19,512
CD32 pad is relatively simple, complexity comes from accurate handling (that most games don't need)

Check 4 following routines for main logic:

handle_cd32_joystick_cia()
handle_joystick_potgor()
handle_joystick_buttons()
cap_check() (only cd32 related part, the rest is for analog sticks/paddles)

If button 3 is high and output: cd32 is in pad mode, button 1 and 2 is used to transfer binary stream (clock and data). Button 3 not active: button lines 1 and 2 work as normal 2 button joystick.
Toni Wilen is offline  
 
Page generated in 0.06408 seconds with 9 queries