Skip to content

Add nk_console_gamepad_source()#101

Open
RobLoach wants to merge 9 commits intomasterfrom
input_source
Open

Add nk_console_gamepad_source()#101
RobLoach wants to merge 9 commits intomasterfrom
input_source

Conversation

@RobLoach
Copy link
Copy Markdown
Owner

@RobLoach RobLoach commented Aug 18, 2024

  • Fix pressing left/right on the combo triggering the event twice?
  • SDL Source with keyboard selected has double input?

@RobLoach RobLoach marked this pull request as draft August 19, 2024 17:09
@RobLoach RobLoach marked this pull request as ready for review February 7, 2026 06:19
nk_console* nk_console_textedit(nk_console* parent, const char* label, char* buffer, int buffer_size);
nk_console* nk_console_file(nk_console* parent, const char* label, char* file_path_buffer, int file_path_buffer_size);
nk_console* nk_console_input(nk_console* parent, const char* label, int gamepad_num, int* out_gamepad_num, enum nk_gamepad_button* out_gamepad_button);
nk_console* nk_console_button(nk_console* parent, const char* label, int gamepad_num, int* out_gamepad_num, enum nk_gamepad_button* out_gamepad_button);
Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
nk_console* nk_console_button(nk_console* parent, const char* label, int gamepad_num, int* out_gamepad_num, enum nk_gamepad_button* out_gamepad_button);
nk_console* nk_console_gamepad_button(nk_console* parent, const char* label, int gamepad_number, int* out_gamepad_number, enum nk_gamepad_button* out_gamepad_button);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant