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
i think it's clearer the way it is, prefer not to rename it
On Sat, Jun 3, 2017 at 10:05 PM, AlexHolly notifications@github.com wrote:
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—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/godotengine/godot/issues/9039, or mute the thread
https://github.com/notifications/unsubscribe-auth/AF-Z20cWJufl6-vkp2-JYXb0tqz7mcA2ks5sAgLygaJpZM4NvPkf
.
Most helpful comment
i think it's clearer the way it is, prefer not to rename it
On Sat, Jun 3, 2017 at 10:05 PM, AlexHolly notifications@github.com wrote: