Skip to main content

engage/generated/unity_engine/
keycode.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "unity_engine-keycode-types")]
4mod __types {
5    #[allow(unused_imports)] use ::unity::prelude::*;
6
7    use super::*;
8    use crate::system::{
9        object::{IObject, Object},
10        r#enum::{Enum, IEnum},
11        valuetype::{IValueType, ValueType},
12    };
13
14    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/keycode/KeyCode.md"))]
15    #[repr(C)]
16    #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
17    pub struct KeyCode {
18        pub value: i32,
19    }
20    impl ::unity::ClassIdentity for KeyCode {
21        const NAME: &'static str = "KeyCode";
22        const NAMESPACE: &'static str = "UnityEngine";
23
24        fn class() -> ::unity::Class {
25            static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
26            *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
27        }
28    }
29    impl ::unity::IlType for KeyCode {
30        fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
31            &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
32        }
33    }
34    impl KeyCode {
35        pub fn none() -> Self {
36            Self { value: 0 }
37        }
38
39        pub fn backspace() -> Self {
40            Self { value: 8 }
41        }
42
43        pub fn delete() -> Self {
44            Self { value: 127 }
45        }
46
47        pub fn tab() -> Self {
48            Self { value: 9 }
49        }
50
51        pub fn clear() -> Self {
52            Self { value: 12 }
53        }
54
55        pub fn r#return() -> Self {
56            Self { value: 13 }
57        }
58
59        pub fn pause() -> Self {
60            Self { value: 19 }
61        }
62
63        pub fn escape() -> Self {
64            Self { value: 27 }
65        }
66
67        pub fn space() -> Self {
68            Self { value: 32 }
69        }
70
71        pub fn keypad0() -> Self {
72            Self { value: 256 }
73        }
74
75        pub fn keypad1() -> Self {
76            Self { value: 257 }
77        }
78
79        pub fn keypad2() -> Self {
80            Self { value: 258 }
81        }
82
83        pub fn keypad3() -> Self {
84            Self { value: 259 }
85        }
86
87        pub fn keypad4() -> Self {
88            Self { value: 260 }
89        }
90
91        pub fn keypad5() -> Self {
92            Self { value: 261 }
93        }
94
95        pub fn keypad6() -> Self {
96            Self { value: 262 }
97        }
98
99        pub fn keypad7() -> Self {
100            Self { value: 263 }
101        }
102
103        pub fn keypad8() -> Self {
104            Self { value: 264 }
105        }
106
107        pub fn keypad9() -> Self {
108            Self { value: 265 }
109        }
110
111        pub fn keypad_period() -> Self {
112            Self { value: 266 }
113        }
114
115        pub fn keypad_divide() -> Self {
116            Self { value: 267 }
117        }
118
119        pub fn keypad_multiply() -> Self {
120            Self { value: 268 }
121        }
122
123        pub fn keypad_minus() -> Self {
124            Self { value: 269 }
125        }
126
127        pub fn keypad_plus() -> Self {
128            Self { value: 270 }
129        }
130
131        pub fn keypad_enter() -> Self {
132            Self { value: 271 }
133        }
134
135        pub fn keypad_equals() -> Self {
136            Self { value: 272 }
137        }
138
139        pub fn up_arrow() -> Self {
140            Self { value: 273 }
141        }
142
143        pub fn down_arrow() -> Self {
144            Self { value: 274 }
145        }
146
147        pub fn right_arrow() -> Self {
148            Self { value: 275 }
149        }
150
151        pub fn left_arrow() -> Self {
152            Self { value: 276 }
153        }
154
155        pub fn insert() -> Self {
156            Self { value: 277 }
157        }
158
159        pub fn home() -> Self {
160            Self { value: 278 }
161        }
162
163        pub fn end() -> Self {
164            Self { value: 279 }
165        }
166
167        pub fn page_up() -> Self {
168            Self { value: 280 }
169        }
170
171        pub fn page_down() -> Self {
172            Self { value: 281 }
173        }
174
175        pub fn f1() -> Self {
176            Self { value: 282 }
177        }
178
179        pub fn f2() -> Self {
180            Self { value: 283 }
181        }
182
183        pub fn f3() -> Self {
184            Self { value: 284 }
185        }
186
187        pub fn f4() -> Self {
188            Self { value: 285 }
189        }
190
191        pub fn f5() -> Self {
192            Self { value: 286 }
193        }
194
195        pub fn f6() -> Self {
196            Self { value: 287 }
197        }
198
199        pub fn f7() -> Self {
200            Self { value: 288 }
201        }
202
203        pub fn f8() -> Self {
204            Self { value: 289 }
205        }
206
207        pub fn f9() -> Self {
208            Self { value: 290 }
209        }
210
211        pub fn f10() -> Self {
212            Self { value: 291 }
213        }
214
215        pub fn f11() -> Self {
216            Self { value: 292 }
217        }
218
219        pub fn f12() -> Self {
220            Self { value: 293 }
221        }
222
223        pub fn f13() -> Self {
224            Self { value: 294 }
225        }
226
227        pub fn f14() -> Self {
228            Self { value: 295 }
229        }
230
231        pub fn f15() -> Self {
232            Self { value: 296 }
233        }
234
235        pub fn alpha0() -> Self {
236            Self { value: 48 }
237        }
238
239        pub fn alpha1() -> Self {
240            Self { value: 49 }
241        }
242
243        pub fn alpha2() -> Self {
244            Self { value: 50 }
245        }
246
247        pub fn alpha3() -> Self {
248            Self { value: 51 }
249        }
250
251        pub fn alpha4() -> Self {
252            Self { value: 52 }
253        }
254
255        pub fn alpha5() -> Self {
256            Self { value: 53 }
257        }
258
259        pub fn alpha6() -> Self {
260            Self { value: 54 }
261        }
262
263        pub fn alpha7() -> Self {
264            Self { value: 55 }
265        }
266
267        pub fn alpha8() -> Self {
268            Self { value: 56 }
269        }
270
271        pub fn alpha9() -> Self {
272            Self { value: 57 }
273        }
274
275        pub fn exclaim() -> Self {
276            Self { value: 33 }
277        }
278
279        pub fn double_quote() -> Self {
280            Self { value: 34 }
281        }
282
283        pub fn hash() -> Self {
284            Self { value: 35 }
285        }
286
287        pub fn dollar() -> Self {
288            Self { value: 36 }
289        }
290
291        pub fn percent() -> Self {
292            Self { value: 37 }
293        }
294
295        pub fn ampersand() -> Self {
296            Self { value: 38 }
297        }
298
299        pub fn quote() -> Self {
300            Self { value: 39 }
301        }
302
303        pub fn left_paren() -> Self {
304            Self { value: 40 }
305        }
306
307        pub fn right_paren() -> Self {
308            Self { value: 41 }
309        }
310
311        pub fn asterisk() -> Self {
312            Self { value: 42 }
313        }
314
315        pub fn plus() -> Self {
316            Self { value: 43 }
317        }
318
319        pub fn comma() -> Self {
320            Self { value: 44 }
321        }
322
323        pub fn minus() -> Self {
324            Self { value: 45 }
325        }
326
327        pub fn period() -> Self {
328            Self { value: 46 }
329        }
330
331        pub fn slash() -> Self {
332            Self { value: 47 }
333        }
334
335        pub fn colon() -> Self {
336            Self { value: 58 }
337        }
338
339        pub fn semicolon() -> Self {
340            Self { value: 59 }
341        }
342
343        pub fn less() -> Self {
344            Self { value: 60 }
345        }
346
347        pub fn equals() -> Self {
348            Self { value: 61 }
349        }
350
351        pub fn greater() -> Self {
352            Self { value: 62 }
353        }
354
355        pub fn question() -> Self {
356            Self { value: 63 }
357        }
358
359        pub fn at() -> Self {
360            Self { value: 64 }
361        }
362
363        pub fn left_bracket() -> Self {
364            Self { value: 91 }
365        }
366
367        pub fn backslash() -> Self {
368            Self { value: 92 }
369        }
370
371        pub fn right_bracket() -> Self {
372            Self { value: 93 }
373        }
374
375        pub fn caret() -> Self {
376            Self { value: 94 }
377        }
378
379        pub fn underscore() -> Self {
380            Self { value: 95 }
381        }
382
383        pub fn back_quote() -> Self {
384            Self { value: 96 }
385        }
386
387        pub fn a() -> Self {
388            Self { value: 97 }
389        }
390
391        pub fn b() -> Self {
392            Self { value: 98 }
393        }
394
395        pub fn c() -> Self {
396            Self { value: 99 }
397        }
398
399        pub fn d() -> Self {
400            Self { value: 100 }
401        }
402
403        pub fn e() -> Self {
404            Self { value: 101 }
405        }
406
407        pub fn f() -> Self {
408            Self { value: 102 }
409        }
410
411        pub fn g() -> Self {
412            Self { value: 103 }
413        }
414
415        pub fn h() -> Self {
416            Self { value: 104 }
417        }
418
419        pub fn i() -> Self {
420            Self { value: 105 }
421        }
422
423        pub fn j() -> Self {
424            Self { value: 106 }
425        }
426
427        pub fn k() -> Self {
428            Self { value: 107 }
429        }
430
431        pub fn l() -> Self {
432            Self { value: 108 }
433        }
434
435        pub fn m() -> Self {
436            Self { value: 109 }
437        }
438
439        pub fn n() -> Self {
440            Self { value: 110 }
441        }
442
443        pub fn o() -> Self {
444            Self { value: 111 }
445        }
446
447        pub fn p() -> Self {
448            Self { value: 112 }
449        }
450
451        pub fn q() -> Self {
452            Self { value: 113 }
453        }
454
455        pub fn r() -> Self {
456            Self { value: 114 }
457        }
458
459        pub fn s() -> Self {
460            Self { value: 115 }
461        }
462
463        pub fn t() -> Self {
464            Self { value: 116 }
465        }
466
467        pub fn u() -> Self {
468            Self { value: 117 }
469        }
470
471        pub fn v() -> Self {
472            Self { value: 118 }
473        }
474
475        pub fn w() -> Self {
476            Self { value: 119 }
477        }
478
479        pub fn x() -> Self {
480            Self { value: 120 }
481        }
482
483        pub fn y() -> Self {
484            Self { value: 121 }
485        }
486
487        pub fn z() -> Self {
488            Self { value: 122 }
489        }
490
491        pub fn left_curly_bracket() -> Self {
492            Self { value: 123 }
493        }
494
495        pub fn pipe() -> Self {
496            Self { value: 124 }
497        }
498
499        pub fn right_curly_bracket() -> Self {
500            Self { value: 125 }
501        }
502
503        pub fn tilde() -> Self {
504            Self { value: 126 }
505        }
506
507        pub fn numlock() -> Self {
508            Self { value: 300 }
509        }
510
511        pub fn caps_lock() -> Self {
512            Self { value: 301 }
513        }
514
515        pub fn scroll_lock() -> Self {
516            Self { value: 302 }
517        }
518
519        pub fn right_shift() -> Self {
520            Self { value: 303 }
521        }
522
523        pub fn left_shift() -> Self {
524            Self { value: 304 }
525        }
526
527        pub fn right_control() -> Self {
528            Self { value: 305 }
529        }
530
531        pub fn left_control() -> Self {
532            Self { value: 306 }
533        }
534
535        pub fn right_alt() -> Self {
536            Self { value: 307 }
537        }
538
539        pub fn left_alt() -> Self {
540            Self { value: 308 }
541        }
542
543        pub fn left_command() -> Self {
544            Self { value: 310 }
545        }
546
547        pub fn left_apple() -> Self {
548            Self { value: 310 }
549        }
550
551        pub fn left_windows() -> Self {
552            Self { value: 311 }
553        }
554
555        pub fn right_command() -> Self {
556            Self { value: 309 }
557        }
558
559        pub fn right_apple() -> Self {
560            Self { value: 309 }
561        }
562
563        pub fn right_windows() -> Self {
564            Self { value: 312 }
565        }
566
567        pub fn alt_gr() -> Self {
568            Self { value: 313 }
569        }
570
571        pub fn help() -> Self {
572            Self { value: 315 }
573        }
574
575        pub fn print() -> Self {
576            Self { value: 316 }
577        }
578
579        pub fn sys_req() -> Self {
580            Self { value: 317 }
581        }
582
583        pub fn r#break() -> Self {
584            Self { value: 318 }
585        }
586
587        pub fn menu() -> Self {
588            Self { value: 319 }
589        }
590
591        pub fn mouse0() -> Self {
592            Self { value: 323 }
593        }
594
595        pub fn mouse1() -> Self {
596            Self { value: 324 }
597        }
598
599        pub fn mouse2() -> Self {
600            Self { value: 325 }
601        }
602
603        pub fn mouse3() -> Self {
604            Self { value: 326 }
605        }
606
607        pub fn mouse4() -> Self {
608            Self { value: 327 }
609        }
610
611        pub fn mouse5() -> Self {
612            Self { value: 328 }
613        }
614
615        pub fn mouse6() -> Self {
616            Self { value: 329 }
617        }
618
619        pub fn joystick_button0() -> Self {
620            Self { value: 330 }
621        }
622
623        pub fn joystick_button1() -> Self {
624            Self { value: 331 }
625        }
626
627        pub fn joystick_button2() -> Self {
628            Self { value: 332 }
629        }
630
631        pub fn joystick_button3() -> Self {
632            Self { value: 333 }
633        }
634
635        pub fn joystick_button4() -> Self {
636            Self { value: 334 }
637        }
638
639        pub fn joystick_button5() -> Self {
640            Self { value: 335 }
641        }
642
643        pub fn joystick_button6() -> Self {
644            Self { value: 336 }
645        }
646
647        pub fn joystick_button7() -> Self {
648            Self { value: 337 }
649        }
650
651        pub fn joystick_button8() -> Self {
652            Self { value: 338 }
653        }
654
655        pub fn joystick_button9() -> Self {
656            Self { value: 339 }
657        }
658
659        pub fn joystick_button10() -> Self {
660            Self { value: 340 }
661        }
662
663        pub fn joystick_button11() -> Self {
664            Self { value: 341 }
665        }
666
667        pub fn joystick_button12() -> Self {
668            Self { value: 342 }
669        }
670
671        pub fn joystick_button13() -> Self {
672            Self { value: 343 }
673        }
674
675        pub fn joystick_button14() -> Self {
676            Self { value: 344 }
677        }
678
679        pub fn joystick_button15() -> Self {
680            Self { value: 345 }
681        }
682
683        pub fn joystick_button16() -> Self {
684            Self { value: 346 }
685        }
686
687        pub fn joystick_button17() -> Self {
688            Self { value: 347 }
689        }
690
691        pub fn joystick_button18() -> Self {
692            Self { value: 348 }
693        }
694
695        pub fn joystick_button19() -> Self {
696            Self { value: 349 }
697        }
698
699        pub fn joystick1_button0() -> Self {
700            Self { value: 350 }
701        }
702
703        pub fn joystick1_button1() -> Self {
704            Self { value: 351 }
705        }
706
707        pub fn joystick1_button2() -> Self {
708            Self { value: 352 }
709        }
710
711        pub fn joystick1_button3() -> Self {
712            Self { value: 353 }
713        }
714
715        pub fn joystick1_button4() -> Self {
716            Self { value: 354 }
717        }
718
719        pub fn joystick1_button5() -> Self {
720            Self { value: 355 }
721        }
722
723        pub fn joystick1_button6() -> Self {
724            Self { value: 356 }
725        }
726
727        pub fn joystick1_button7() -> Self {
728            Self { value: 357 }
729        }
730
731        pub fn joystick1_button8() -> Self {
732            Self { value: 358 }
733        }
734
735        pub fn joystick1_button9() -> Self {
736            Self { value: 359 }
737        }
738
739        pub fn joystick1_button10() -> Self {
740            Self { value: 360 }
741        }
742
743        pub fn joystick1_button11() -> Self {
744            Self { value: 361 }
745        }
746
747        pub fn joystick1_button12() -> Self {
748            Self { value: 362 }
749        }
750
751        pub fn joystick1_button13() -> Self {
752            Self { value: 363 }
753        }
754
755        pub fn joystick1_button14() -> Self {
756            Self { value: 364 }
757        }
758
759        pub fn joystick1_button15() -> Self {
760            Self { value: 365 }
761        }
762
763        pub fn joystick1_button16() -> Self {
764            Self { value: 366 }
765        }
766
767        pub fn joystick1_button17() -> Self {
768            Self { value: 367 }
769        }
770
771        pub fn joystick1_button18() -> Self {
772            Self { value: 368 }
773        }
774
775        pub fn joystick1_button19() -> Self {
776            Self { value: 369 }
777        }
778
779        pub fn joystick2_button0() -> Self {
780            Self { value: 370 }
781        }
782
783        pub fn joystick2_button1() -> Self {
784            Self { value: 371 }
785        }
786
787        pub fn joystick2_button2() -> Self {
788            Self { value: 372 }
789        }
790
791        pub fn joystick2_button3() -> Self {
792            Self { value: 373 }
793        }
794
795        pub fn joystick2_button4() -> Self {
796            Self { value: 374 }
797        }
798
799        pub fn joystick2_button5() -> Self {
800            Self { value: 375 }
801        }
802
803        pub fn joystick2_button6() -> Self {
804            Self { value: 376 }
805        }
806
807        pub fn joystick2_button7() -> Self {
808            Self { value: 377 }
809        }
810
811        pub fn joystick2_button8() -> Self {
812            Self { value: 378 }
813        }
814
815        pub fn joystick2_button9() -> Self {
816            Self { value: 379 }
817        }
818
819        pub fn joystick2_button10() -> Self {
820            Self { value: 380 }
821        }
822
823        pub fn joystick2_button11() -> Self {
824            Self { value: 381 }
825        }
826
827        pub fn joystick2_button12() -> Self {
828            Self { value: 382 }
829        }
830
831        pub fn joystick2_button13() -> Self {
832            Self { value: 383 }
833        }
834
835        pub fn joystick2_button14() -> Self {
836            Self { value: 384 }
837        }
838
839        pub fn joystick2_button15() -> Self {
840            Self { value: 385 }
841        }
842
843        pub fn joystick2_button16() -> Self {
844            Self { value: 386 }
845        }
846
847        pub fn joystick2_button17() -> Self {
848            Self { value: 387 }
849        }
850
851        pub fn joystick2_button18() -> Self {
852            Self { value: 388 }
853        }
854
855        pub fn joystick2_button19() -> Self {
856            Self { value: 389 }
857        }
858
859        pub fn joystick3_button0() -> Self {
860            Self { value: 390 }
861        }
862
863        pub fn joystick3_button1() -> Self {
864            Self { value: 391 }
865        }
866
867        pub fn joystick3_button2() -> Self {
868            Self { value: 392 }
869        }
870
871        pub fn joystick3_button3() -> Self {
872            Self { value: 393 }
873        }
874
875        pub fn joystick3_button4() -> Self {
876            Self { value: 394 }
877        }
878
879        pub fn joystick3_button5() -> Self {
880            Self { value: 395 }
881        }
882
883        pub fn joystick3_button6() -> Self {
884            Self { value: 396 }
885        }
886
887        pub fn joystick3_button7() -> Self {
888            Self { value: 397 }
889        }
890
891        pub fn joystick3_button8() -> Self {
892            Self { value: 398 }
893        }
894
895        pub fn joystick3_button9() -> Self {
896            Self { value: 399 }
897        }
898
899        pub fn joystick3_button10() -> Self {
900            Self { value: 400 }
901        }
902
903        pub fn joystick3_button11() -> Self {
904            Self { value: 401 }
905        }
906
907        pub fn joystick3_button12() -> Self {
908            Self { value: 402 }
909        }
910
911        pub fn joystick3_button13() -> Self {
912            Self { value: 403 }
913        }
914
915        pub fn joystick3_button14() -> Self {
916            Self { value: 404 }
917        }
918
919        pub fn joystick3_button15() -> Self {
920            Self { value: 405 }
921        }
922
923        pub fn joystick3_button16() -> Self {
924            Self { value: 406 }
925        }
926
927        pub fn joystick3_button17() -> Self {
928            Self { value: 407 }
929        }
930
931        pub fn joystick3_button18() -> Self {
932            Self { value: 408 }
933        }
934
935        pub fn joystick3_button19() -> Self {
936            Self { value: 409 }
937        }
938
939        pub fn joystick4_button0() -> Self {
940            Self { value: 410 }
941        }
942
943        pub fn joystick4_button1() -> Self {
944            Self { value: 411 }
945        }
946
947        pub fn joystick4_button2() -> Self {
948            Self { value: 412 }
949        }
950
951        pub fn joystick4_button3() -> Self {
952            Self { value: 413 }
953        }
954
955        pub fn joystick4_button4() -> Self {
956            Self { value: 414 }
957        }
958
959        pub fn joystick4_button5() -> Self {
960            Self { value: 415 }
961        }
962
963        pub fn joystick4_button6() -> Self {
964            Self { value: 416 }
965        }
966
967        pub fn joystick4_button7() -> Self {
968            Self { value: 417 }
969        }
970
971        pub fn joystick4_button8() -> Self {
972            Self { value: 418 }
973        }
974
975        pub fn joystick4_button9() -> Self {
976            Self { value: 419 }
977        }
978
979        pub fn joystick4_button10() -> Self {
980            Self { value: 420 }
981        }
982
983        pub fn joystick4_button11() -> Self {
984            Self { value: 421 }
985        }
986
987        pub fn joystick4_button12() -> Self {
988            Self { value: 422 }
989        }
990
991        pub fn joystick4_button13() -> Self {
992            Self { value: 423 }
993        }
994
995        pub fn joystick4_button14() -> Self {
996            Self { value: 424 }
997        }
998
999        pub fn joystick4_button15() -> Self {
1000            Self { value: 425 }
1001        }
1002
1003        pub fn joystick4_button16() -> Self {
1004            Self { value: 426 }
1005        }
1006
1007        pub fn joystick4_button17() -> Self {
1008            Self { value: 427 }
1009        }
1010
1011        pub fn joystick4_button18() -> Self {
1012            Self { value: 428 }
1013        }
1014
1015        pub fn joystick4_button19() -> Self {
1016            Self { value: 429 }
1017        }
1018
1019        pub fn joystick5_button0() -> Self {
1020            Self { value: 430 }
1021        }
1022
1023        pub fn joystick5_button1() -> Self {
1024            Self { value: 431 }
1025        }
1026
1027        pub fn joystick5_button2() -> Self {
1028            Self { value: 432 }
1029        }
1030
1031        pub fn joystick5_button3() -> Self {
1032            Self { value: 433 }
1033        }
1034
1035        pub fn joystick5_button4() -> Self {
1036            Self { value: 434 }
1037        }
1038
1039        pub fn joystick5_button5() -> Self {
1040            Self { value: 435 }
1041        }
1042
1043        pub fn joystick5_button6() -> Self {
1044            Self { value: 436 }
1045        }
1046
1047        pub fn joystick5_button7() -> Self {
1048            Self { value: 437 }
1049        }
1050
1051        pub fn joystick5_button8() -> Self {
1052            Self { value: 438 }
1053        }
1054
1055        pub fn joystick5_button9() -> Self {
1056            Self { value: 439 }
1057        }
1058
1059        pub fn joystick5_button10() -> Self {
1060            Self { value: 440 }
1061        }
1062
1063        pub fn joystick5_button11() -> Self {
1064            Self { value: 441 }
1065        }
1066
1067        pub fn joystick5_button12() -> Self {
1068            Self { value: 442 }
1069        }
1070
1071        pub fn joystick5_button13() -> Self {
1072            Self { value: 443 }
1073        }
1074
1075        pub fn joystick5_button14() -> Self {
1076            Self { value: 444 }
1077        }
1078
1079        pub fn joystick5_button15() -> Self {
1080            Self { value: 445 }
1081        }
1082
1083        pub fn joystick5_button16() -> Self {
1084            Self { value: 446 }
1085        }
1086
1087        pub fn joystick5_button17() -> Self {
1088            Self { value: 447 }
1089        }
1090
1091        pub fn joystick5_button18() -> Self {
1092            Self { value: 448 }
1093        }
1094
1095        pub fn joystick5_button19() -> Self {
1096            Self { value: 449 }
1097        }
1098
1099        pub fn joystick6_button0() -> Self {
1100            Self { value: 450 }
1101        }
1102
1103        pub fn joystick6_button1() -> Self {
1104            Self { value: 451 }
1105        }
1106
1107        pub fn joystick6_button2() -> Self {
1108            Self { value: 452 }
1109        }
1110
1111        pub fn joystick6_button3() -> Self {
1112            Self { value: 453 }
1113        }
1114
1115        pub fn joystick6_button4() -> Self {
1116            Self { value: 454 }
1117        }
1118
1119        pub fn joystick6_button5() -> Self {
1120            Self { value: 455 }
1121        }
1122
1123        pub fn joystick6_button6() -> Self {
1124            Self { value: 456 }
1125        }
1126
1127        pub fn joystick6_button7() -> Self {
1128            Self { value: 457 }
1129        }
1130
1131        pub fn joystick6_button8() -> Self {
1132            Self { value: 458 }
1133        }
1134
1135        pub fn joystick6_button9() -> Self {
1136            Self { value: 459 }
1137        }
1138
1139        pub fn joystick6_button10() -> Self {
1140            Self { value: 460 }
1141        }
1142
1143        pub fn joystick6_button11() -> Self {
1144            Self { value: 461 }
1145        }
1146
1147        pub fn joystick6_button12() -> Self {
1148            Self { value: 462 }
1149        }
1150
1151        pub fn joystick6_button13() -> Self {
1152            Self { value: 463 }
1153        }
1154
1155        pub fn joystick6_button14() -> Self {
1156            Self { value: 464 }
1157        }
1158
1159        pub fn joystick6_button15() -> Self {
1160            Self { value: 465 }
1161        }
1162
1163        pub fn joystick6_button16() -> Self {
1164            Self { value: 466 }
1165        }
1166
1167        pub fn joystick6_button17() -> Self {
1168            Self { value: 467 }
1169        }
1170
1171        pub fn joystick6_button18() -> Self {
1172            Self { value: 468 }
1173        }
1174
1175        pub fn joystick6_button19() -> Self {
1176            Self { value: 469 }
1177        }
1178
1179        pub fn joystick7_button0() -> Self {
1180            Self { value: 470 }
1181        }
1182
1183        pub fn joystick7_button1() -> Self {
1184            Self { value: 471 }
1185        }
1186
1187        pub fn joystick7_button2() -> Self {
1188            Self { value: 472 }
1189        }
1190
1191        pub fn joystick7_button3() -> Self {
1192            Self { value: 473 }
1193        }
1194
1195        pub fn joystick7_button4() -> Self {
1196            Self { value: 474 }
1197        }
1198
1199        pub fn joystick7_button5() -> Self {
1200            Self { value: 475 }
1201        }
1202
1203        pub fn joystick7_button6() -> Self {
1204            Self { value: 476 }
1205        }
1206
1207        pub fn joystick7_button7() -> Self {
1208            Self { value: 477 }
1209        }
1210
1211        pub fn joystick7_button8() -> Self {
1212            Self { value: 478 }
1213        }
1214
1215        pub fn joystick7_button9() -> Self {
1216            Self { value: 479 }
1217        }
1218
1219        pub fn joystick7_button10() -> Self {
1220            Self { value: 480 }
1221        }
1222
1223        pub fn joystick7_button11() -> Self {
1224            Self { value: 481 }
1225        }
1226
1227        pub fn joystick7_button12() -> Self {
1228            Self { value: 482 }
1229        }
1230
1231        pub fn joystick7_button13() -> Self {
1232            Self { value: 483 }
1233        }
1234
1235        pub fn joystick7_button14() -> Self {
1236            Self { value: 484 }
1237        }
1238
1239        pub fn joystick7_button15() -> Self {
1240            Self { value: 485 }
1241        }
1242
1243        pub fn joystick7_button16() -> Self {
1244            Self { value: 486 }
1245        }
1246
1247        pub fn joystick7_button17() -> Self {
1248            Self { value: 487 }
1249        }
1250
1251        pub fn joystick7_button18() -> Self {
1252            Self { value: 488 }
1253        }
1254
1255        pub fn joystick7_button19() -> Self {
1256            Self { value: 489 }
1257        }
1258
1259        pub fn joystick8_button0() -> Self {
1260            Self { value: 490 }
1261        }
1262
1263        pub fn joystick8_button1() -> Self {
1264            Self { value: 491 }
1265        }
1266
1267        pub fn joystick8_button2() -> Self {
1268            Self { value: 492 }
1269        }
1270
1271        pub fn joystick8_button3() -> Self {
1272            Self { value: 493 }
1273        }
1274
1275        pub fn joystick8_button4() -> Self {
1276            Self { value: 494 }
1277        }
1278
1279        pub fn joystick8_button5() -> Self {
1280            Self { value: 495 }
1281        }
1282
1283        pub fn joystick8_button6() -> Self {
1284            Self { value: 496 }
1285        }
1286
1287        pub fn joystick8_button7() -> Self {
1288            Self { value: 497 }
1289        }
1290
1291        pub fn joystick8_button8() -> Self {
1292            Self { value: 498 }
1293        }
1294
1295        pub fn joystick8_button9() -> Self {
1296            Self { value: 499 }
1297        }
1298
1299        pub fn joystick8_button10() -> Self {
1300            Self { value: 500 }
1301        }
1302
1303        pub fn joystick8_button11() -> Self {
1304            Self { value: 501 }
1305        }
1306
1307        pub fn joystick8_button12() -> Self {
1308            Self { value: 502 }
1309        }
1310
1311        pub fn joystick8_button13() -> Self {
1312            Self { value: 503 }
1313        }
1314
1315        pub fn joystick8_button14() -> Self {
1316            Self { value: 504 }
1317        }
1318
1319        pub fn joystick8_button15() -> Self {
1320            Self { value: 505 }
1321        }
1322
1323        pub fn joystick8_button16() -> Self {
1324            Self { value: 506 }
1325        }
1326
1327        pub fn joystick8_button17() -> Self {
1328            Self { value: 507 }
1329        }
1330
1331        pub fn joystick8_button18() -> Self {
1332            Self { value: 508 }
1333        }
1334
1335        pub fn joystick8_button19() -> Self {
1336            Self { value: 509 }
1337        }
1338    }
1339}
1340
1341#[cfg(feature = "unity_engine-keycode-types")]
1342pub use __types::*;
1343
1344#[cfg(feature = "unity_engine-keycode")]
1345#[doc(hidden)]
1346pub mod prelude {
1347    pub use super::KeyCode;
1348    #[cfg(feature = "system-object")]
1349    pub use crate::system::object::IObjectMethods;
1350    #[cfg(feature = "system-enum")]
1351    pub use crate::system::r#enum::IEnumMethods;
1352    #[cfg(feature = "system-valuetype")]
1353    pub use crate::system::valuetype::IValueTypeMethods;
1354    pub use crate::system::{object::IObject, r#enum::IEnum, valuetype::IValueType};
1355}