Skip to content

Instantly share code, notes, and snippets.

View jhincapie's full-sized avatar

Juan David Hincapié-Ramos jhincapie

View GitHub Profile
@jhincapie
jhincapie / Util.KeyCodes.cs
Last active June 1, 2024 01:19
Mapping between Windows API virtual keyboard keyCodes and Unity KeyCode enum
using System.Collections.Generic;
using UnityEngine;
namespace Util
{
public class KeyCodes
{
public const int VK_ABNT_C1 = 0xC1;// Abnt C1
public const int VK_ABNT_C2 = 0xC2;// Abnt C2
public const int VK_ADD = 0x6B;// Numpad +