Phaser. KeyCode

A key code represents a physical key on a keyboard.

The KeyCode class contains commonly supported keyboard key codes which can be used as keycode`-parameters in several Phaser.Keyboard and Phaser.Key methods.

Note: These values should only be used indirectly, eg. as Phaser.KeyCode.KEY. Future versions may replace the actual values, such that they remain compatible with keycode-parameters. The current implementation maps to the KeyboardEvent.keyCode property.

Note: Use Phaser.KeyCode.KEY instead of Phaser.Keyboard.KEY to refer to a key code; the latter approach is supported for compatibility.

Source - input/Keyboard.js, line 609

Members

<static> A

Source - input/Keyboard.js, line 611

<static> ALT

Source - input/Keyboard.js, line 779

<static> B

Source - input/Keyboard.js, line 613

<static> BACKSPACE

Source - input/Keyboard.js, line 767

<static> BACKWARD_SLASH

Source - input/Keyboard.js, line 761

<static> C

Source - input/Keyboard.js, line 615

<static> CAPS_LOCK

Source - input/Keyboard.js, line 781

<static> CLEAR

Source - input/Keyboard.js, line 771

<static> CLOSED_BRACKET

Source - input/Keyboard.js, line 763

<static> COLON

Source - input/Keyboard.js, line 745

<static> COMMA

Source - input/Keyboard.js, line 749

<static> CONTROL

Source - input/Keyboard.js, line 777

<static> D

Source - input/Keyboard.js, line 617

<static> DELETE

Source - input/Keyboard.js, line 809

<static> DOWN

Source - input/Keyboard.js, line 801

<static> E

Source - input/Keyboard.js, line 619

<static> EIGHT

Source - input/Keyboard.js, line 679

<static> END

Source - input/Keyboard.js, line 791

<static> ENTER

Source - input/Keyboard.js, line 773

<static> EQUALS

Source - input/Keyboard.js, line 747

<static> ESC

Source - input/Keyboard.js, line 783

<static> F

Source - input/Keyboard.js, line 621

<static> F1

Source - input/Keyboard.js, line 715

<static> F2

Source - input/Keyboard.js, line 717

<static> F3

Source - input/Keyboard.js, line 719

<static> F4

Source - input/Keyboard.js, line 721

<static> F5

Source - input/Keyboard.js, line 723

<static> F6

Source - input/Keyboard.js, line 725

<static> F7

Source - input/Keyboard.js, line 727

<static> F8

Source - input/Keyboard.js, line 729

<static> F9

Source - input/Keyboard.js, line 731

<static> F10

Source - input/Keyboard.js, line 733

<static> F11

Source - input/Keyboard.js, line 735

<static> F12

Source - input/Keyboard.js, line 737

<static> F13

Source - input/Keyboard.js, line 739

<static> F14

Source - input/Keyboard.js, line 741

<static> F15

Source - input/Keyboard.js, line 743

<static> FIVE

Source - input/Keyboard.js, line 673

<static> FOUR

Source - input/Keyboard.js, line 671

<static> G

Source - input/Keyboard.js, line 623

<static> H

Source - input/Keyboard.js, line 625

<static> HELP

Source - input/Keyboard.js, line 811

<static> HOME

Source - input/Keyboard.js, line 793

<static> I

Source - input/Keyboard.js, line 627

<static> INSERT

Source - input/Keyboard.js, line 807

<static> J

Source - input/Keyboard.js, line 629

<static> K

Source - input/Keyboard.js, line 631

<static> L

Source - input/Keyboard.js, line 633

<static> LEFT

Source - input/Keyboard.js, line 795

<static> M

Source - input/Keyboard.js, line 635

<static> MINUS

Source - input/Keyboard.js, line 805

<static> N

Source - input/Keyboard.js, line 637

<static> NINE

Source - input/Keyboard.js, line 681

<static> NUM_LOCK

Source - input/Keyboard.js, line 813

<static> NUMPAD_0

Source - input/Keyboard.js, line 683

<static> NUMPAD_1

Source - input/Keyboard.js, line 685

<static> NUMPAD_2

Source - input/Keyboard.js, line 687

<static> NUMPAD_3

Source - input/Keyboard.js, line 689

<static> NUMPAD_4

Source - input/Keyboard.js, line 691

<static> NUMPAD_5

Source - input/Keyboard.js, line 693

<static> NUMPAD_6

Source - input/Keyboard.js, line 695

<static> NUMPAD_7

Source - input/Keyboard.js, line 697

<static> NUMPAD_8

Source - input/Keyboard.js, line 699

<static> NUMPAD_9

Source - input/Keyboard.js, line 701

<static> NUMPAD_ADD

Source - input/Keyboard.js, line 705

<static> NUMPAD_DECIMAL

Source - input/Keyboard.js, line 711

<static> NUMPAD_DIVIDE

Source - input/Keyboard.js, line 713

<static> NUMPAD_ENTER

Source - input/Keyboard.js, line 707

<static> NUMPAD_MULTIPLY

Source - input/Keyboard.js, line 703

<static> NUMPAD_SUBTRACT

Source - input/Keyboard.js, line 709

<static> O

Source - input/Keyboard.js, line 639

<static> ONE

Source - input/Keyboard.js, line 665

<static> OPEN_BRACKET

Source - input/Keyboard.js, line 759

<static> P

Source - input/Keyboard.js, line 641

<static> PAGE_DOWN

Source - input/Keyboard.js, line 789

<static> PAGE_UP

Source - input/Keyboard.js, line 787

<static> PERIOD

Source - input/Keyboard.js, line 753

<static> PLUS

Source - input/Keyboard.js, line 803

<static> Q

Source - input/Keyboard.js, line 643

<static> QUESTION_MARK

Source - input/Keyboard.js, line 755

<static> QUOTES

Source - input/Keyboard.js, line 765

<static> R

Source - input/Keyboard.js, line 645

<static> RIGHT

Source - input/Keyboard.js, line 799

<static> S

Source - input/Keyboard.js, line 647

<static> SEVEN

Source - input/Keyboard.js, line 677

<static> SHIFT

Source - input/Keyboard.js, line 775

<static> SIX

Source - input/Keyboard.js, line 675

<static> SPACEBAR

Source - input/Keyboard.js, line 785

<static> T

Source - input/Keyboard.js, line 649

<static> TAB

Source - input/Keyboard.js, line 769

<static> THREE

Source - input/Keyboard.js, line 669

<static> TILDE

Source - input/Keyboard.js, line 757

<static> TWO

Source - input/Keyboard.js, line 667

<static> U

Source - input/Keyboard.js, line 651

<static> UNDERSCORE

Source - input/Keyboard.js, line 751

<static> UP

Source - input/Keyboard.js, line 797

<static> V

Source - input/Keyboard.js, line 653

<static> W

Source - input/Keyboard.js, line 655

<static> X

Source - input/Keyboard.js, line 657

<static> Y

Source - input/Keyboard.js, line 659

<static> Z

Source - input/Keyboard.js, line 661

<static> ZERO

Source - input/Keyboard.js, line 663
Phaser Copyright © 2012-2016 Photon Storm Ltd.
Documentation generated by JSDoc 3.3.3 on Fri Jul 08 2016 15:42:39 GMT+0100 (GMT Daylight Time) using the DocStrap template.