# Keymaps

moderngl_window.utils.keymaps.AZERTY(keys)

class moderngl_window.utils.keymaps.KeyMap(UP, DOWN, LEFT, RIGHT, FORWARD, BACKWARD)

  Bases: `tuple`

  BACKWARD

    Alias for field number 5

  DOWN

    Alias for field number 1

  FORWARD

    Alias for field number 4

  LEFT

    Alias for field number 2

  RIGHT

    Alias for field number 3

  UP

    Alias for field number 0

  count(value, /)

    Return number of occurrences of value.

  index(value, start=0, stop=9223372036854775807, /)

    Return first index of value.

    Raises ValueError if the value is not present.

moderngl_window.utils.keymaps.QWERTY(keys)