Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Adding INPUT_BUTTONS
#2
Hello! Sorry for the delay answering.

The limitation is here: Window.c, line 61 defines the input as a bitmask of 16 bits:

Code:
uint16_t inputs;

This allows a total of 16 unique inputs per player, including directions and action buttons. A cheap way would be to just upgrade the line this way:

Code:
uint32_t inputs;

this would allow for a total of 32 unique inputs per player. More than 32 inputs would require another paradigm. I hope this helps you!
Reply


Messages In This Thread
Adding INPUT_BUTTONS - by JaumeAlcazo - 01-14-2019, 01:24 AM
RE: Adding INPUT_BUTTONS - by megamarc - 01-22-2019, 02:44 AM
RE: Adding INPUT_BUTTONS - by JaumeAlcazo - 01-25-2019, 07:05 AM
RE: Adding INPUT_BUTTONS - by megamarc - 01-25-2019, 09:13 AM
RE: Adding INPUT_BUTTONS - by JaumeAlcazo - 01-27-2019, 04:16 AM
RE: Adding INPUT_BUTTONS - by megamarc - 01-30-2019, 08:03 AM
RE: Adding INPUT_BUTTONS - by JaumeAlcazo - 01-31-2019, 04:02 AM
RE: Adding INPUT_BUTTONS - by megamarc - 02-02-2019, 09:28 PM
RE: Adding INPUT_BUTTONS - by JaumeAlcazo - 02-06-2019, 08:01 AM
RE: Adding INPUT_BUTTONS - by Richard Kain - 02-07-2019, 05:47 AM
RE: Adding INPUT_BUTTONS - by megamarc - 02-08-2019, 05:03 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)