With a few exceptions, they are the DirectX scan codes defined by Microsoft.