# Interface SyKeyCodeMappingType<T>

Type Parameters:
  `T` - System-specific contextual information

public interface SyKeyCodeMappingType<T>
A function to map windowing-system-specific keycodes to `jsycamore` keycode values.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `SyKeyCode`
  `toKeyCode(T context, int code)`
  Map a keycode to a `jsycamore` keycode.

- ## Method Details

  - ### toKeyCode

    SyKeyCode toKeyCode(T context, int code)
    Map a keycode to a `jsycamore` keycode.
    Parameters:
      `context` - The extra windowing system key context
      `code` - The windowing-system-specific key code
    Returns:
      A keycode