Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

InputEvent: rename axis, scancode and button_index to index in 3.0 #9039

Closed
AlexHolly opened this issue Jun 4, 2017 · 1 comment
Closed
Labels

Comments

@AlexHolly
Copy link
Contributor

Is there any reason to have different names for the following variables? They are used in the same context.

InputEventJoystickButton.button_index -> InputEventJoystickButton.index
InputEventJoystickMotion.axis -> InputEventJoystickMotion.index
InputEventMouseButton.button_index -> InputEventMouseButton.index
InputEventKey.scancode -> InputEventKey.index

@reduz
Copy link
Member

reduz commented Jun 4, 2017 via email

@vnen vnen added the archived label Jun 5, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants