keys.go (3705B)
1 // Copyright 2013 The Ebiten Authors 2 // 3 // Licensed under the Apache License, Version 2.0 (the "License"); 4 // you may not use this file except in compliance with the License. 5 // You may obtain a copy of the License at 6 // 7 // http://www.apache.org/licenses/LICENSE-2.0 8 // 9 // Unless required by applicable law or agreed to in writing, software 10 // distributed under the License is distributed on an "AS IS" BASIS, 11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 // See the License for the specific language governing permissions and 13 // limitations under the License. 14 15 // Code generated by genkeys.go using 'go generate'. DO NOT EDIT. 16 17 // +build !js 18 19 package glfw 20 21 const ( 22 Key0 = Key(48) 23 Key1 = Key(49) 24 Key2 = Key(50) 25 Key3 = Key(51) 26 Key4 = Key(52) 27 Key5 = Key(53) 28 Key6 = Key(54) 29 Key7 = Key(55) 30 Key8 = Key(56) 31 Key9 = Key(57) 32 KeyA = Key(65) 33 KeyApostrophe = Key(39) 34 KeyB = Key(66) 35 KeyBackslash = Key(92) 36 KeyBackspace = Key(259) 37 KeyC = Key(67) 38 KeyCapsLock = Key(280) 39 KeyComma = Key(44) 40 KeyD = Key(68) 41 KeyDelete = Key(261) 42 KeyDown = Key(264) 43 KeyE = Key(69) 44 KeyEnd = Key(269) 45 KeyEnter = Key(257) 46 KeyEqual = Key(61) 47 KeyEscape = Key(256) 48 KeyF = Key(70) 49 KeyF1 = Key(290) 50 KeyF10 = Key(299) 51 KeyF11 = Key(300) 52 KeyF12 = Key(301) 53 KeyF2 = Key(291) 54 KeyF3 = Key(292) 55 KeyF4 = Key(293) 56 KeyF5 = Key(294) 57 KeyF6 = Key(295) 58 KeyF7 = Key(296) 59 KeyF8 = Key(297) 60 KeyF9 = Key(298) 61 KeyG = Key(71) 62 KeyGraveAccent = Key(96) 63 KeyH = Key(72) 64 KeyHome = Key(268) 65 KeyI = Key(73) 66 KeyInsert = Key(260) 67 KeyJ = Key(74) 68 KeyK = Key(75) 69 KeyKP0 = Key(320) 70 KeyKP1 = Key(321) 71 KeyKP2 = Key(322) 72 KeyKP3 = Key(323) 73 KeyKP4 = Key(324) 74 KeyKP5 = Key(325) 75 KeyKP6 = Key(326) 76 KeyKP7 = Key(327) 77 KeyKP8 = Key(328) 78 KeyKP9 = Key(329) 79 KeyKPAdd = Key(334) 80 KeyKPDecimal = Key(330) 81 KeyKPDivide = Key(331) 82 KeyKPEnter = Key(335) 83 KeyKPEqual = Key(336) 84 KeyKPMultiply = Key(332) 85 KeyKPSubtract = Key(333) 86 KeyL = Key(76) 87 KeyLast = Key(348) 88 KeyLeft = Key(263) 89 KeyLeftAlt = Key(342) 90 KeyLeftBracket = Key(91) 91 KeyLeftControl = Key(341) 92 KeyLeftShift = Key(340) 93 KeyLeftSuper = Key(343) 94 KeyM = Key(77) 95 KeyMenu = Key(348) 96 KeyMinus = Key(45) 97 KeyN = Key(78) 98 KeyNumLock = Key(282) 99 KeyO = Key(79) 100 KeyP = Key(80) 101 KeyPageDown = Key(267) 102 KeyPageUp = Key(266) 103 KeyPause = Key(284) 104 KeyPeriod = Key(46) 105 KeyPrintScreen = Key(283) 106 KeyQ = Key(81) 107 KeyR = Key(82) 108 KeyRight = Key(262) 109 KeyRightAlt = Key(346) 110 KeyRightBracket = Key(93) 111 KeyRightControl = Key(345) 112 KeyRightShift = Key(344) 113 KeyRightSuper = Key(347) 114 KeyS = Key(83) 115 KeyScrollLock = Key(281) 116 KeySemicolon = Key(59) 117 KeySlash = Key(47) 118 KeySpace = Key(32) 119 KeyT = Key(84) 120 KeyTab = Key(258) 121 KeyU = Key(85) 122 KeyUnknown = Key(-1) 123 KeyUp = Key(265) 124 KeyV = Key(86) 125 KeyW = Key(87) 126 KeyWorld1 = Key(161) 127 KeyWorld2 = Key(162) 128 KeyX = Key(88) 129 KeyY = Key(89) 130 KeyZ = Key(90) 131 )