zorldo

Goofing around with Ebiten
git clone git://bsandro.tech/zorldo
Log | Files | Refs | README

keys.go (3720B)


      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 //go:build !js
     18 // +build !js
     19 
     20 package glfw
     21 
     22 const (
     23 	Key0            = Key(48)
     24 	Key1            = Key(49)
     25 	Key2            = Key(50)
     26 	Key3            = Key(51)
     27 	Key4            = Key(52)
     28 	Key5            = Key(53)
     29 	Key6            = Key(54)
     30 	Key7            = Key(55)
     31 	Key8            = Key(56)
     32 	Key9            = Key(57)
     33 	KeyA            = Key(65)
     34 	KeyApostrophe   = Key(39)
     35 	KeyB            = Key(66)
     36 	KeyBackslash    = Key(92)
     37 	KeyBackspace    = Key(259)
     38 	KeyC            = Key(67)
     39 	KeyCapsLock     = Key(280)
     40 	KeyComma        = Key(44)
     41 	KeyD            = Key(68)
     42 	KeyDelete       = Key(261)
     43 	KeyDown         = Key(264)
     44 	KeyE            = Key(69)
     45 	KeyEnd          = Key(269)
     46 	KeyEnter        = Key(257)
     47 	KeyEqual        = Key(61)
     48 	KeyEscape       = Key(256)
     49 	KeyF            = Key(70)
     50 	KeyF1           = Key(290)
     51 	KeyF10          = Key(299)
     52 	KeyF11          = Key(300)
     53 	KeyF12          = Key(301)
     54 	KeyF2           = Key(291)
     55 	KeyF3           = Key(292)
     56 	KeyF4           = Key(293)
     57 	KeyF5           = Key(294)
     58 	KeyF6           = Key(295)
     59 	KeyF7           = Key(296)
     60 	KeyF8           = Key(297)
     61 	KeyF9           = Key(298)
     62 	KeyG            = Key(71)
     63 	KeyGraveAccent  = Key(96)
     64 	KeyH            = Key(72)
     65 	KeyHome         = Key(268)
     66 	KeyI            = Key(73)
     67 	KeyInsert       = Key(260)
     68 	KeyJ            = Key(74)
     69 	KeyK            = Key(75)
     70 	KeyKP0          = Key(320)
     71 	KeyKP1          = Key(321)
     72 	KeyKP2          = Key(322)
     73 	KeyKP3          = Key(323)
     74 	KeyKP4          = Key(324)
     75 	KeyKP5          = Key(325)
     76 	KeyKP6          = Key(326)
     77 	KeyKP7          = Key(327)
     78 	KeyKP8          = Key(328)
     79 	KeyKP9          = Key(329)
     80 	KeyKPAdd        = Key(334)
     81 	KeyKPDecimal    = Key(330)
     82 	KeyKPDivide     = Key(331)
     83 	KeyKPEnter      = Key(335)
     84 	KeyKPEqual      = Key(336)
     85 	KeyKPMultiply   = Key(332)
     86 	KeyKPSubtract   = Key(333)
     87 	KeyL            = Key(76)
     88 	KeyLast         = Key(348)
     89 	KeyLeft         = Key(263)
     90 	KeyLeftAlt      = Key(342)
     91 	KeyLeftBracket  = Key(91)
     92 	KeyLeftControl  = Key(341)
     93 	KeyLeftShift    = Key(340)
     94 	KeyLeftSuper    = Key(343)
     95 	KeyM            = Key(77)
     96 	KeyMenu         = Key(348)
     97 	KeyMinus        = Key(45)
     98 	KeyN            = Key(78)
     99 	KeyNumLock      = Key(282)
    100 	KeyO            = Key(79)
    101 	KeyP            = Key(80)
    102 	KeyPageDown     = Key(267)
    103 	KeyPageUp       = Key(266)
    104 	KeyPause        = Key(284)
    105 	KeyPeriod       = Key(46)
    106 	KeyPrintScreen  = Key(283)
    107 	KeyQ            = Key(81)
    108 	KeyR            = Key(82)
    109 	KeyRight        = Key(262)
    110 	KeyRightAlt     = Key(346)
    111 	KeyRightBracket = Key(93)
    112 	KeyRightControl = Key(345)
    113 	KeyRightShift   = Key(344)
    114 	KeyRightSuper   = Key(347)
    115 	KeyS            = Key(83)
    116 	KeyScrollLock   = Key(281)
    117 	KeySemicolon    = Key(59)
    118 	KeySlash        = Key(47)
    119 	KeySpace        = Key(32)
    120 	KeyT            = Key(84)
    121 	KeyTab          = Key(258)
    122 	KeyU            = Key(85)
    123 	KeyUnknown      = Key(-1)
    124 	KeyUp           = Key(265)
    125 	KeyV            = Key(86)
    126 	KeyW            = Key(87)
    127 	KeyWorld1       = Key(161)
    128 	KeyWorld2       = Key(162)
    129 	KeyX            = Key(88)
    130 	KeyY            = Key(89)
    131 	KeyZ            = Key(90)
    132 )