> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# GameInputKeyboardLayoutCallback

> GameInputKeyboardLayoutCallback

# GameInputKeyboardLayoutCallback

Guide 버튼(누름 또는 놓음) 이벤트에 대한 타이틀 정의 콜백입니다.

## 구문

```cpp theme={null}
void GameInputKeyboardLayoutCallback(
    GameInputCallbackToken callbackToken,
    void * context,
    IGameInputDevice * device,
    uint64_t timestamp,
    uint32_t currentLayout,
    uint32_t previousLayout
);
```

### 매개변수

*callbackToken*   \_In\_\
형식: GameInputCallbackToken

[IGameInput::RegisterKeyboardLayoutCallback](/ko/reference/input/gameinput/interfaces/igameinput/methods/igameinput_registerkeyboardlayoutcallback)에서 반환된 콜백 토큰입니다.

*context*   \_In\_\
형식: void\*

[IGameInput::RegisterKeyboardLayoutCallback](/ko/reference/input/gameinput/interfaces/igameinput/methods/igameinput_registerkeyboardlayoutcallback)에 전달된 타이틀 정의 컨텍스트입니다.

*device*   \_In\_\
형식: IGameInputDevice\*

이벤트를 트리거한 장치입니다.

*timestamp*   \_In\_\
형식: uint64\_t

이벤트와 연결된 마이크로초 타임스탬프입니다.

*currentLayout*   \_In\_\
형식: uint32\_t

새로운/현재 키보드 레이아웃입니다.

*previousLayout*   \_In\_\
형식: uint32\_t

이전 키보드 레이아웃입니다.

### 반환값

형식: void

## 설명

`GameInputKeyboardLayoutCallback` 함수는 키보드 레이아웃이 변경될 때 타이틀 정의 콜백에서 사용됩니다. [IGameInput::RegisterKeyboardLayoutCallback](/ko/reference/input/gameinput/interfaces/igameinput/methods/igameinput_registerkeyboardlayoutcallback) 메서드에 등록됩니다. 이 함수는 등록 메서드에서 설정한 조건에 의해 트리거됩니다. 자세한 내용은 [고급 GameInput 항목](/ko/build/core-features/common/input/advanced/input-advanced-topics)을 참조하세요.

`currentLayout` 및 `previousLayout` 매개변수는 [GetKeyboardLayoutName](https://learn.microsoft.com/windows/win32/api/winuser/nf-winuser-getkeyboardlayoutnamea) 함수에서 제공하는 것과 동일하지만 문자열 대신 32비트 정수로 표현된 키보드 레이아웃 ID 값을 포함합니다.

## 요구 사항

**헤더:** GameInput.h

**라이브러리:** gameinput.lib

**지원되는 플랫폼:** Windows, XBOX One 제품군 콘솔 및 XBOX Series 콘솔

## 함께 보기

[GameInput 개요](/ko/build/core-features/common/input/overviews/input-overview)\

[GameInput](/ko/reference/input/gameinput/gameinput_members)

## 버전 기록

| 버전 | 변경 사항 |
| - | - |
| **v0** | 도입되었습니다. |


## Related topics

- [IGameInput::RegisterKeyboardLayoutCallback](/ko/reference/input/gameinput/interfaces/igameinput/methods/igameinput_registerkeyboardlayoutcallback.md)
- [GameInput API 멤버](/ko/reference/input/gameinput/gameinput_members.md)
- [GameInputKeyboardKind](/ko/reference/input/gameinput/enums/gameinputkeyboardkind.md)
- [IGameInput (인터페이스 콘텐츠)](/ko/reference/input/gameinput/interfaces/igameinput/igameinput.md)
- [IGameInput::CreateAggregateDevice](/ko/reference/input/gameinput/interfaces/igameinput/methods/igameinput_createaggregatedevice.md)
