Pressing enter or clicking on an item in the inventory will attempt to
equip the inventory item at the associated index in the inventory array.