Enums.cs :  » Game » RealmForge » Axiom » Input » C# / CSharp Open Source

Home
C# / CSharp Open Source
1.2.6.4 mono .net core
2.2.6.4 mono core
3.Aspect Oriented Frameworks
4.Bloggers
5.Build Systems
6.Business Application
7.Charting Reporting Tools
8.Chat Servers
9.Code Coverage Tools
10.Content Management Systems CMS
11.CRM ERP
12.Database
13.Development
14.Email
15.Forum
16.Game
17.GIS
18.GUI
19.IDEs
20.Installers Generators
21.Inversion of Control Dependency Injection
22.Issue Tracking
23.Logging Tools
24.Message
25.Mobile
26.Network Clients
27.Network Servers
28.Office
29.PDF
30.Persistence Frameworks
31.Portals
32.Profilers
33.Project Management
34.RSS RDF
35.Rule Engines
36.Script
37.Search Engines
38.Sound Audio
39.Source Control
40.SQL Clients
41.Template Engines
42.Testing
43.UML
44.Web Frameworks
45.Web Service
46.Web Testing
47.Wiki Engines
48.Windows Presentation Foundation
49.Workflows
50.XML Parsers
C# / C Sharp
C# / C Sharp by API
C# / CSharp Tutorial
C# / CSharp Open Source » Game » RealmForge 
RealmForge » Axiom » Input » Enums.cs
using System;

namespace Axiom.Input{
    /// <summary>
    ///    Enum containing all the possible keyboard codes.
    /// </summary>
    public enum KeyCodes {
        /// <summary>
        ///    The keyboard code for LButton.
        /// </summary>
        LButton ,
        /// <summary>
        ///    The keyboard code for RButton.
        /// </summary>
        RButton ,
        /// <summary>
        ///    The keyboard code for Cancel.
        /// </summary>
        Cancel ,
        /// <summary>
        ///    The keyboard code for MButton.
        /// </summary>
        MButton ,
        /// <summary>
        ///    The keyboard code for XButton1.
        /// </summary>
        XButton1 ,
        /// <summary>
        ///    The keyboard code for XButton2.
        /// </summary>
        XButton2 ,
        /// <summary>
        ///    The keyboard code for Backspace.
        /// </summary>
        Backspace,
        /// <summary>
        ///    The keyboard code for Tab.
        /// </summary>
        Tab ,
        /// <summary>
        ///    The keyboard code for LineFeed.
        /// </summary>
        LineFeed ,
        /// <summary>
        ///    The keyboard code for Clear.
        /// </summary>
        Clear ,
        /// <summary>
        ///    The keyboard code for Return.
        /// </summary>
        Return ,
        /// <summary>
        ///    The keyboard code for Enter.
        /// </summary>
        Enter ,
        /// <summary>
        ///    The keyboard code for ShiftKey.
        /// </summary>
        ShiftKey ,
        /// <summary>
        ///    The keyboard code for ControlKey.
        /// </summary>
        ControlKey ,
        /// <summary>
        ///    The keyboard code for Menu.
        /// </summary>
        Menu ,
        /// <summary>
        ///    The keyboard code for Pause.
        /// </summary>
        Pause ,
        /// <summary>
        ///    The keyboard code for Capital.
        /// </summary>
        Capital ,
        /// <summary>
        ///    The keyboard code for CapsLock.
        /// </summary>
        CapsLock ,
        /// <summary>
        ///    The keyboard code for Escape.
        /// </summary>
        Escape ,
        /// <summary>
        ///    The keyboard code for Space.
        /// </summary>
        Space ,
        /// <summary>
        ///    The keyboard code for Prior.
        /// </summary>
        Prior ,
        /// <summary>
        ///    The keyboard code for PageUp.
        /// </summary>
        PageUp ,
        /// <summary>
        ///    The keyboard code for Next.
        /// </summary>
        Next ,
        /// <summary>
        ///    The keyboard code for PageDown.
        /// </summary>
        PageDown ,
        /// <summary>
        ///    The keyboard code for End.
        /// </summary>
        End ,
        /// <summary>
        ///    The keyboard code for Home.
        /// </summary>
        Home ,
        /// <summary>
        ///    The keyboard code for Left.
        /// </summary>
        Left ,
        /// <summary>
        ///    The keyboard code for Up.
        /// </summary>
        Up ,
        /// <summary>
        ///    The keyboard code for Right.
        /// </summary>
        Right ,
        /// <summary>
        ///    The keyboard code for Down.
        /// </summary>
        Down ,
        /// <summary>
        ///    The keyboard code for Select.
        /// </summary>
        Select ,
        /// <summary>
        ///    The keyboard code for Print.
        /// </summary>
        Print ,
        /// <summary>
        ///    The keyboard code for Execute.
        /// </summary>
        Execute ,
        /// <summary>
        ///    The keyboard code for Snapshot.
        /// </summary>
        Snapshot ,
        /// <summary>
        ///    The keyboard code for PrintScreen.
        /// </summary>
        PrintScreen ,
        /// <summary>
        ///    The keyboard code for Insert.
        /// </summary>
        Insert ,
        /// <summary>
        ///    The keyboard code for Delete.
        /// </summary>
        Delete ,
        /// <summary>
        ///    The keyboard code for Help.
        /// </summary>
        Help ,
        /// <summary>
        ///    The keyboard code for D0.
        /// </summary>
        D0 ,
        /// <summary>
        ///    The keyboard code for D1.
        /// </summary>
        D1 ,
        /// <summary>
        ///    The keyboard code for D2.
        /// </summary>
        D2 ,
        /// <summary>
        ///    The keyboard code for D3.
        /// </summary>
        D3 ,
        /// <summary>
        ///    The keyboard code for D4.
        /// </summary>
        D4 ,
        /// <summary>
        ///    The keyboard code for D5.
        /// </summary>
        D5 ,
        /// <summary>
        ///    The keyboard code for D6.
        /// </summary>
        D6 ,
        /// <summary>
        ///    The keyboard code for D7.
        /// </summary>
        D7 ,
        /// <summary>
        ///    The keyboard code for D8.
        /// </summary>
        D8 ,
        /// <summary>
        ///    The keyboard code for D9.
        /// </summary>
        D9 ,
        /// <summary>
        ///    The keyboard code for A.
        /// </summary>
        A ,
        /// <summary>
        ///    The keyboard code for B.
        /// </summary>
        B ,
        /// <summary>
        ///    The keyboard code for C.
        /// </summary>
        C ,
        /// <summary>
        ///    The keyboard code for D.
        /// </summary>
        D ,
        /// <summary>
        ///    The keyboard code for E.
        /// </summary>
        E ,
        /// <summary>
        ///    The keyboard code for F.
        /// </summary>
        F ,
        /// <summary>
        ///    The keyboard code for G.
        /// </summary>
        G ,
        /// <summary>
        ///    The keyboard code for H.
        /// </summary>
        H ,
        /// <summary>
        ///    The keyboard code for I.
        /// </summary>
        I ,
        /// <summary>
        ///    The keyboard code for J.
        /// </summary>
        J ,
        /// <summary>
        ///    The keyboard code for K.
        /// </summary>
        K ,
        /// <summary>
        ///    The keyboard code for L.
        /// </summary>
        L ,
        /// <summary>
        ///    The keyboard code for M.
        /// </summary>
        M ,
        /// <summary>
        ///    The keyboard code for N.
        /// </summary>
        N ,
        /// <summary>
        ///    The keyboard code for O.
        /// </summary>
        O ,
        /// <summary>
        ///    The keyboard code for P.
        /// </summary>
        P ,
        /// <summary>
        ///    The keyboard code for Q.
        /// </summary>
        Q ,
        /// <summary>
        ///    The keyboard code for R.
        /// </summary>
        R ,
        /// <summary>
        ///    The keyboard code for S.
        /// </summary>
        S ,
        /// <summary>
        ///    The keyboard code for T.
        /// </summary>
        T ,
        /// <summary>
        ///    The keyboard code for U.
        /// </summary>
        U ,
        /// <summary>
        ///    The keyboard code for V.
        /// </summary>
        V ,
        /// <summary>
        ///    The keyboard code for W.
        /// </summary>
        W ,
        /// <summary>
        ///    The keyboard code for X.
        /// </summary>
        X ,
        /// <summary>
        ///    The keyboard code for Y.
        /// </summary>
        Y ,
        /// <summary>
        ///    The keyboard code for Z.
        /// </summary>
        Z ,
        /// <summary>
        ///    The keyboard code for LWin.
        /// </summary>
        LWin ,
        /// <summary>
        ///    The keyboard code for RWin.
        /// </summary>
        RWin ,
        /// <summary>
        ///    The keyboard code for Apps.
        /// </summary>
        Apps ,
        /// <summary>
        ///    The keyboard code for NumPad0.
        /// </summary>
        NumPad0 ,
        /// <summary>
        ///    The keyboard code for NumPad1.
        /// </summary>
        NumPad1 ,
        /// <summary>
        ///    The keyboard code for NumPad2.
        /// </summary>
        NumPad2 ,
        /// <summary>
        ///    The keyboard code for NumPad3.
        /// </summary>
        NumPad3 ,
        /// <summary>
        ///    The keyboard code for NumPad4.
        /// </summary>
        NumPad4 ,
        /// <summary>
        ///    The keyboard code for NumPad5.
        /// </summary>
        NumPad5 ,
        /// <summary>
        ///    The keyboard code for NumPad6.
        /// </summary>
        NumPad6 ,
        /// <summary>
        ///    The keyboard code for NumPad7.
        /// </summary>
        NumPad7 ,
        /// <summary>
        ///    The keyboard code for NumPad8.
        /// </summary>
        NumPad8 ,
        /// <summary>
        ///    The keyboard code for NumPad9.
        /// </summary>
        NumPad9 ,
        /// <summary>
        ///    The keyboard code for Multiply.
        /// </summary>
        Multiply ,
        /// <summary>
        ///    The keyboard code for Add.
        /// </summary>
        Add ,
        /// <summary>
        ///    The keyboard code for Separator.
        /// </summary>
        Separator ,
        /// <summary>
        ///    The keyboard code for Subtract.
        /// </summary>
        Subtract ,
        /// <summary>
        ///    The keyboard code for Decimal.
        /// </summary>
        Decimal ,
        /// <summary>
        ///    The keyboard code for Divide.
        /// </summary>
        Divide ,
        /// <summary>
        ///    The keyboard code for F1.
        /// </summary>
        F1 ,
        /// <summary>
        ///    The keyboard code for F2.
        /// </summary>
        F2 ,
        /// <summary>
        ///    The keyboard code for F3.
        /// </summary>
        F3 ,
        /// <summary>
        ///    The keyboard code for F4.
        /// </summary>
        F4 ,
        /// <summary>
        ///    The keyboard code for F5.
        /// </summary>
        F5 ,
        /// <summary>
        ///    The keyboard code for F6.
        /// </summary>
        F6 ,
        /// <summary>
        ///    The keyboard code for F7.
        /// </summary>
        F7 ,
        /// <summary>
        ///    The keyboard code for F8.
        /// </summary>
        F8 ,
        /// <summary>
        ///    The keyboard code for F9.
        /// </summary>
        F9 ,
        /// <summary>
        ///    The keyboard code for F10.
        /// </summary>
        F10 ,
        /// <summary>
        ///    The keyboard code for F11.
        /// </summary>
        F11 ,
        /// <summary>
        ///    The keyboard code for F12.
        /// </summary>
        F12 ,
        /// <summary>
        ///    The keyboard code for F13.
        /// </summary>
        F13 ,
        /// <summary>
        ///    The keyboard code for F14.
        /// </summary>
        F14 ,
        /// <summary>
        ///    The keyboard code for F15.
        /// </summary>
        F15 ,
        /// <summary>
        ///    The keyboard code for F16.
        /// </summary>
        F16 ,
        /// <summary>
        ///    The keyboard code for F17.
        /// </summary>
        F17 ,
        /// <summary>
        ///    The keyboard code for F18.
        /// </summary>
        F18 ,
        /// <summary>
        ///    The keyboard code for F19.
        /// </summary>
        F19 ,
        /// <summary>
        ///    The keyboard code for F20.
        /// </summary>
        F20 ,
        /// <summary>
        ///    The keyboard code for F21.
        /// </summary>
        F21 ,
        /// <summary>
        ///    The keyboard code for F22.
        /// </summary>
        F22 ,
        /// <summary>
        ///    The keyboard code for F23.
        /// </summary>
        F23 ,
        /// <summary>
        ///    The keyboard code for F24.
        /// </summary>
        F24 ,
        /// <summary>
        ///    The keyboard code for NumLock.
        /// </summary>
        NumLock ,
        /// <summary>
        ///    The keyboard code for Scroll.
        /// </summary>
        Scroll ,
        /// <summary>
        ///    The keyboard code for LeftShift.
        /// </summary>
        LeftShift ,
        /// <summary>
        ///    The keyboard code for RightShift.
        /// </summary>
        RightShift ,
        /// <summary>
        ///    The keyboard code for LeftControl.
        /// </summary>
        LeftControl ,
        /// <summary>
        ///    The keyboard code for RightControl.
        /// </summary>
        RightControl ,
        /// <summary>
        ///    The keyboard code for LMenu.
        /// </summary>
        LMenu ,
        /// <summary>
        ///    The keyboard code for RMenu.
        /// </summary>
        RMenu ,
        /// <summary>
        ///    The keyboard code for ProcessKey.
        /// </summary>
        ProcessKey ,
        /// <summary>
        ///    The keyboard code for Attn.
        /// </summary>
        Attn ,
        /// <summary>
        ///    The keyboard code for EraseEof.
        /// </summary>
        EraseEof ,
        /// <summary>
        ///    The keyboard code for Play.
        /// </summary>
        Play ,
        /// <summary>
        ///    The keyboard code for Zoom.
        /// </summary>
        Zoom ,
        /// <summary>
        ///    The keyboard code for NoName.
        /// </summary>
        NoName ,
        /// <summary>
        ///    The keyboard code for KanaMode.
        /// </summary>
        KanaMode ,
        /// <summary>
        ///    The keyboard code for HanguelMode.
        /// </summary>
        HanguelMode ,
        /// <summary>
        ///    The keyboard code for HangulMode.
        /// </summary>
        HangulMode ,
        /// <summary>
        ///    The keyboard code for JunjaMode.
        /// </summary>
        JunjaMode ,
        /// <summary>
        ///    The keyboard code for FinalMode.
        /// </summary>
        FinalMode ,
        /// <summary>
        ///    The keyboard code for HanjaMode.
        /// </summary>
        HanjaMode ,
        /// <summary>
        ///    The keyboard code for KanjiMode.
        /// </summary>
        KanjiMode ,
        /// <summary>
        ///    The keyboard code for IMEConvert.
        /// </summary>
        IMEConvert ,
        /// <summary>
        ///    The keyboard code for IMENonconvert.
        /// </summary>
        IMENonconvert ,
        /// <summary>
        ///    The keyboard code for IMEAceept.
        /// </summary>
        IMEAceept ,
        /// <summary>
        ///    The keyboard code for IMEModeChange.
        /// </summary>
        IMEModeChange ,
        /// <summary>
        ///    The keyboard code for BrowserBack.
        /// </summary>
        BrowserBack ,
        /// <summary>
        ///    The keyboard code for BrowserForward.
        /// </summary>
        BrowserForward ,
        /// <summary>
        ///    The keyboard code for BrowserRefresh.
        /// </summary>
        BrowserRefresh ,
        /// <summary>
        ///    The keyboard code for BrowserStop.
        /// </summary>
        BrowserStop ,
        /// <summary>
        ///    The keyboard code for BrowserSearch.
        /// </summary>
        BrowserSearch ,
        /// <summary>
        ///    The keyboard code for BrowserFavorites.
        /// </summary>
        BrowserFavorites ,
        /// <summary>
        ///    The keyboard code for BrowserHome.
        /// </summary>
        BrowserHome ,
        /// <summary>
        ///    The keyboard code for VolumeMute.
        /// </summary>
        VolumeMute ,
        /// <summary>
        ///    The keyboard code for VolumeDown.
        /// </summary>
        VolumeDown ,
        /// <summary>
        ///    The keyboard code for VolumeUp.
        /// </summary>
        VolumeUp ,
        /// <summary>
        ///    The keyboard code for MediaNextTrack.
        /// </summary>
        MediaNextTrack ,
        /// <summary>
        ///    The keyboard code for MediaPreviousTrack.
        /// </summary>
        MediaPreviousTrack ,
        /// <summary>
        ///    The keyboard code for MediaStop.
        /// </summary>
        MediaStop ,
        /// <summary>
        ///    The keyboard code for MediaPlayPause.
        /// </summary>
        MediaPlayPause ,
        /// <summary>
        ///    The keyboard code for LaunchMail.
        /// </summary>
        LaunchMail ,
        /// <summary>
        ///    The keyboard code for SelectMedia.
        /// </summary>
        SelectMedia ,
        /// <summary>
        ///    The keyboard code for LaunchApplication1.
        /// </summary>
        LaunchApplication1 ,
        /// <summary>
        ///    The keyboard code for LaunchApplication2.
        /// </summary>
        LaunchApplication2 ,
        /// <summary>
        ///    The keyboard code for Semicolon.
        /// </summary>
        Semicolon ,
        /// <summary>
        ///    The keyboard code for Plus.
        /// </summary>
        Plus ,
        /// <summary>
        ///    The keyboard code for Comma.
        /// </summary>
        Comma ,
        /// <summary>
        ///    The keyboard code for Period.
        /// </summary>
        Period ,
        /// <summary>
        ///    The keyboard code for QuestionMark.
        /// </summary>
        QuestionMark ,
        /// <summary>
        ///    The keyboard code for Tilde.
        /// </summary>
        Tilde ,
        /// <summary>
        ///    The keyboard code for OpenBracket.
        /// </summary>
        OpenBracket ,
        /// <summary>
        ///    The keyboard code for Pipe.
        /// </summary>
        Pipe ,
        /// <summary>
        ///    The keyboard code for CloseBracket.
        /// </summary>
        CloseBracket,
        /// <summary>
        ///    The keyboard code for Quotes.
        /// </summary>
        Quotes,
        /// <summary>
        ///    The keyboard code for Backslash.
        /// </summary>
        Backslash ,
        /// <summary>
        ///    The keyboard code for Shift.
        /// </summary>
        Shift ,
        /// <summary>
        ///    The keyboard code for Control.
        /// </summary>
        Control ,
        /// <summary>
        ///    The keyboard code for LeftAlt.
        /// </summary>
        LeftAlt,
        /// <summary>
        ///    The keyboard code for RightAlt.
        /// </summary>
        RightAlt
    }

    /// <summary>
    ///    Possible buttons that can be found on a mouse.
    /// </summary>
    [Flags]
    public enum MouseButtons {
        /// <summary>
        ///    Typically the left button.
        /// </summary>
        Button0 = 1,
        /// <summary>
        ///    Typically the right button.
        /// </summary>
        Button1 = 2,
        /// <summary>
        ///    Typically the middle button (pressing the scroll wheel).
        /// </summary>
        Button2 = 4
    }

  /// <summary>
  ///    Special keys that can alter input behavior when down.
  /// </summary>
  [Flags]
  public enum ModifierKeys {
    None      = 0,
    Shift      = 1,
    Control      = 2,
    Alt        = 4,
    MouseButton0  = 8,
    MouseButton1  = 16,
    MouseButton2  = 32
  }
}
www.java2v.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.