enum | Gosu::ButtonName {
Gosu::kbRangeBegin = 0x00,
Gosu::kbEscape = 0x35,
Gosu::kbF1 = 0x7a,
Gosu::kbF2 = 0x78,
Gosu::kbF3 = 0x63,
Gosu::kbF4 = 0x76,
Gosu::kbF5 = 0x60,
Gosu::kbF6 = 0x61,
Gosu::kbF7 = 0x62,
Gosu::kbF8 = 0x64,
Gosu::kbF9 = 0x65,
Gosu::kbF10 = 0x6d,
Gosu::kbF11 = 0x67,
Gosu::kbF12 = 0x6f,
Gosu::kb1 = 0x12,
Gosu::kb2 = 0x13,
Gosu::kb3 = 0x14,
Gosu::kb4 = 0x15,
Gosu::kb5 = 0x17,
Gosu::kb6 = 0x16,
Gosu::kb7 = 0x1a,
Gosu::kb8 = 0x1c,
Gosu::kb9 = 0x19,
Gosu::kb0 = 0x1d,
Gosu::kbA = 0x00,
Gosu::kbB = 0x0b,
Gosu::kbC = 0x08,
Gosu::kbD = 0x02,
Gosu::kbE = 0x0e,
Gosu::kbF = 0x03,
Gosu::kbG = 0x05,
Gosu::kbH = 0x04,
Gosu::kbI = 0x22,
Gosu::kbJ = 0x26,
Gosu::kbK = 0x28,
Gosu::kbL = 0x25,
Gosu::kbM = 0x2e,
Gosu::kbN = 0x2d,
Gosu::kbO = 0x1f,
Gosu::kbP = 0x23,
Gosu::kbQ = 0x0c,
Gosu::kbR = 0x0f,
Gosu::kbS = 0x01,
Gosu::kbT = 0x11,
Gosu::kbU = 0x20,
Gosu::kbV = 0x09,
Gosu::kbW = 0x0d,
Gosu::kbX = 0x07,
Gosu::kbY = 0x10,
Gosu::kbZ = 0x06,
Gosu::kbTab = 0x30,
Gosu::kbReturn = 0x24,
Gosu::kbSpace = 0x31,
Gosu::kbLeftShift = 0x38,
Gosu::kbRightShift = 0x3c,
Gosu::kbLeftControl = 0x3b,
Gosu::kbRightControl = 0x3e,
Gosu::kbLeftAlt = 0x3a,
Gosu::kbRightAlt = 0x3d,
Gosu::kbLeftMeta = 0x37,
Gosu::kbRightMeta = 0x36,
Gosu::kbBackspace = 0x33,
Gosu::kbLeft = 0x7b,
Gosu::kbRight = 0x7c,
Gosu::kbUp = 0x7e,
Gosu::kbDown = 0x7d,
Gosu::kbHome = 0x73,
Gosu::kbEnd = 0x77,
Gosu::kbInsert = 0x72,
Gosu::kbDelete = 0x75,
Gosu::kbPageUp = 0x74,
Gosu::kbPageDown = 0x79,
Gosu::kbEnter = 0x4c,
Gosu::kbNumpad1 = 0x53,
Gosu::kbNumpad2 = 0x54,
Gosu::kbNumpad3 = 0x55,
Gosu::kbNumpad4 = 0x56,
Gosu::kbNumpad5 = 0x57,
Gosu::kbNumpad6 = 0x58,
Gosu::kbNumpad7 = 0x59,
Gosu::kbNumpad8 = 0x5b,
Gosu::kbNumpad9 = 0x5c,
Gosu::kbNumpad0 = 0x52,
Gosu::kbNumpadAdd = 0x45,
Gosu::kbNumpadSubtract = 0x4e,
Gosu::kbNumpadMultiply = 0x43,
Gosu::kbNumpadDivide = 0x4b,
Gosu::kbRangeEnd = 0xffff,
Gosu::msRangeBegin,
Gosu::msLeft = msRangeBegin,
Gosu::msRight,
Gosu::msMiddle,
Gosu::msWheelUp,
Gosu::msWheelDown,
Gosu::msRangeEnd,
Gosu::gpRangeBegin,
Gosu::gpLeft = gpRangeBegin,
Gosu::gpRight,
Gosu::gpUp,
Gosu::gpDown,
Gosu::gpButton0,
Gosu::gpButton1,
Gosu::gpButton2,
Gosu::gpButton3,
Gosu::gpButton4,
Gosu::gpButton5,
Gosu::gpButton6,
Gosu::gpButton7,
Gosu::gpButton8,
Gosu::gpButton9,
Gosu::gpButton10,
Gosu::gpButton11,
Gosu::gpButton12,
Gosu::gpButton13,
Gosu::gpButton14,
Gosu::gpButton15,
Gosu::gpRangeEnd = gpButton15,
Gosu::kbNum = kbRangeEnd - kbRangeBegin + 1,
Gosu::msNum = msRangeEnd - msRangeBegin + 1,
Gosu::gpNum = gpRangeEnd - gpRangeBegin + 1,
Gosu::numButtons = gpRangeEnd + 1,
Gosu::noButton = 0xffffffff
} |