Enum Class Binding

java.lang.Object
java.lang.Enum<Binding>
mindustry.input.Binding
All Implemented Interfaces:
KeyBinds.KeyBind, Serializable, Comparable<Binding>, Constable

public enum Binding extends Enum<Binding> implements KeyBinds.KeyBind
  • Enum Constant Details

    • move_x

      public static final Binding move_x
    • move_y

      public static final Binding move_y
    • mouse_move

      public static final Binding mouse_move
    • pan

      public static final Binding pan
    • boost

      public static final Binding boost
    • command_mode

      public static final Binding command_mode
    • control

      public static final Binding control
    • respawn

      public static final Binding respawn
    • select

      public static final Binding select
    • deselect

      public static final Binding deselect
    • break_block

      public static final Binding break_block
    • select_all_units

      public static final Binding select_all_units
    • select_all_unit_factories

      public static final Binding select_all_unit_factories
    • pickupCargo

      public static final Binding pickupCargo
    • dropCargo

      public static final Binding dropCargo
    • clear_building

      public static final Binding clear_building
    • pause_building

      public static final Binding pause_building
    • rotate

      public static final Binding rotate
    • rotateplaced

      public static final Binding rotateplaced
    • diagonal_placement

      public static final Binding diagonal_placement
    • pick

      public static final Binding pick
    • rebuild_select

      public static final Binding rebuild_select
    • schematic_select

      public static final Binding schematic_select
    • schematic_flip_x

      public static final Binding schematic_flip_x
    • schematic_flip_y

      public static final Binding schematic_flip_y
    • schematic_menu

      public static final Binding schematic_menu
    • category_prev

      public static final Binding category_prev
    • category_next

      public static final Binding category_next
    • block_select_left

      public static final Binding block_select_left
    • block_select_right

      public static final Binding block_select_right
    • block_select_up

      public static final Binding block_select_up
    • block_select_down

      public static final Binding block_select_down
    • block_select_01

      public static final Binding block_select_01
    • block_select_02

      public static final Binding block_select_02
    • block_select_03

      public static final Binding block_select_03
    • block_select_04

      public static final Binding block_select_04
    • block_select_05

      public static final Binding block_select_05
    • block_select_06

      public static final Binding block_select_06
    • block_select_07

      public static final Binding block_select_07
    • block_select_08

      public static final Binding block_select_08
    • block_select_09

      public static final Binding block_select_09
    • block_select_10

      public static final Binding block_select_10
    • zoom

      public static final Binding zoom
    • fullscreen

      public static final Binding fullscreen
    • pause

      public static final Binding pause
    • minimap

      public static final Binding minimap
    • research

      public static final Binding research
    • planet_map

      public static final Binding planet_map
    • block_info

      public static final Binding block_info
    • toggle_menus

      public static final Binding toggle_menus
    • screenshot

      public static final Binding screenshot
    • toggle_power_lines

      public static final Binding toggle_power_lines
    • toggle_block_status

      public static final Binding toggle_block_status
    • player_list

      public static final Binding player_list
    • chat

      public static final Binding chat
    • chat_history_prev

      public static final Binding chat_history_prev
    • chat_history_next

      public static final Binding chat_history_next
    • chat_scroll

      public static final Binding chat_scroll
    • chat_mode

      public static final Binding chat_mode
    • console

      public static final Binding console
  • Method Details

    • values

      public static Binding[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Binding valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • defaultValue

      public KeyBinds.KeybindValue defaultValue(InputDevice.DeviceType type)
      Description copied from interface: KeyBinds.KeyBind
      The default implementation returns can return the same default value for each device type.
      Specified by:
      defaultValue in interface KeyBinds.KeyBind
    • category

      public String category()
      Description copied from interface: KeyBinds.KeyBind
      The 'new' category under which this keybind will be displayed in a keybind dialog. Implementation of this method is optional.
      Specified by:
      category in interface KeyBinds.KeyBind