Candide.Terminal.KeyboardInput
Type JSONpublic class in Candide.Terminal
Type metadata
- Assembly
Romestead - Namespace
Candide.Terminal - Base type
System.Object - Hash
42C06BEC5BABDCD76D70857BC886BC15AB2DF45C0D29EDCCBCC90CE1EFF866D8
Relationships
Base type
System.Object
Fields
| Name | Visibility | Signature |
|---|---|---|
CharPressed# | private | private KeyboardInput.CharEnteredHandler CharPressed |
KeyDown# | private | private KeyboardInput.KeyEventHandler KeyDown |
KeyPressed# | private | private KeyboardInput.KeyEventHandler KeyPressed |
KeysEnum# | public | public Microsoft.Xna.Framework.Input.Keys[] KeysEnum |
KeyUp# | private | private KeyboardInput.KeyEventHandler KeyUp |
SpecialCharacters# | public | public System.Char[] SpecialCharacters |
_downSince# | private | private System.DateTime _downSince |
_filterSpecialCharacters# | private | private System.Boolean _filterSpecialCharacters |
_game# | private | private Microsoft.Xna.Framework.Game _game |
_lastRep# | private | private System.DateTime _lastRep |
_prevKeyState# | private | private Microsoft.Xna.Framework.Input.KeyboardState _prevKeyState |
_repChar# | private | private System.Nullable<Microsoft.Xna.Framework.Input.Keys> _repChar |
_repsPerSec# | private | private System.Int32 _repsPerSec |
_timeUntilRepInMillis# | private | private System.Single _timeUntilRepInMillis |
Properties
| Name | Visibility | Signature |
|---|---|---|
AltDown# | public | public System.Boolean AltDown |
CtrlDown# | public | public System.Boolean CtrlDown |
ShiftDown# | public | public System.Boolean ShiftDown |
Events
| Name | Visibility | Signature |
|---|---|---|
CharPressed# | public | public KeyboardInput.CharEnteredHandler CharPressed |
KeyDown# | public | public KeyboardInput.KeyEventHandler KeyDown |
KeyPressed# | public | public KeyboardInput.KeyEventHandler KeyPressed |
KeyUp# | public | public KeyboardInput.KeyEventHandler KeyUp |
Methods
Dispose
#
public System.Void Dispose()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
711CC5A14102108D5AA559F9E7A18523D1FB0F0FF9F108594BE5F52AB7F79264 - Body hash
04C681A9E449C1A9AADA04A862094DECF2BB673A7B8C3537CB39A4AC7AB49727 - IL size25
Called by
Initialize
#
public System.Void Initialize(Microsoft.Xna.Framework.Game g, System.Single timeUntilRepInMilliseconds, System.Int32 repsPerSecond, System.Boolean filterSpecialCharactersFromCharPressed)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
39874EBA91047BABB46A8EEA2D4387AF7B72F4C3DF9095689AA283666864F332 - Body hash
780E07311552FBCE27D609AF137E572760FEF660FC588E951D75FC4D0F52C262 - IL size67
Referenced calls
Microsoft.Xna.Framework.Game::get_Window()Candide.Terminal.KeyboardInput::TextEntered(System.Object, Microsoft.Xna.Framework.TextInputEventArgs)System.EventHandler<Microsoft.Xna.Framework.TextInputEventArgs>::.ctor(System.Object, System.IntPtr)Microsoft.Xna.Framework.GameWindow::add_TextInput(System.EventHandler<Microsoft.Xna.Framework.TextInputEventArgs>)
JustPressed
#
private System.Boolean JustPressed(Microsoft.Xna.Framework.Input.KeyboardState keyState, Microsoft.Xna.Framework.Input.Keys key)
Method metadata
- Visibilityprivate
- Return type
System.Boolean - StaticTrue
- VirtualFalse
- Hash
9F92880BDAC8998AB48839D0790795C71C79126378E275A56647356AADB10E08 - Body hash
A45C97F51233257449B8582FC8577919BA863D39915D0F7C063FA0C664F82622 - IL size24
Referenced calls
Microsoft.Xna.Framework.Input.KeyboardState::IsKeyDown(Microsoft.Xna.Framework.Input.Keys)Microsoft.Xna.Framework.Input.KeyboardState::IsKeyUp(Microsoft.Xna.Framework.Input.Keys)
Called by
JustReleased
#
private System.Boolean JustReleased(Microsoft.Xna.Framework.Input.KeyboardState keyState, Microsoft.Xna.Framework.Input.Keys key)
Method metadata
- Visibilityprivate
- Return type
System.Boolean - StaticTrue
- VirtualFalse
- Hash
1D9BBC42D393ED8E21046D182E61D5608F7699497654C8A3776C661B12514D02 - Body hash
A9F0B0E946419E32F9FAA79737879A514586AECCFD40853166070366198A2AB0 - IL size24
Referenced calls
Microsoft.Xna.Framework.Input.KeyboardState::IsKeyDown(Microsoft.Xna.Framework.Input.Keys)Microsoft.Xna.Framework.Input.KeyboardState::IsKeyUp(Microsoft.Xna.Framework.Input.Keys)
Called by
TextEntered
#
private System.Void TextEntered(System.Object sender, Microsoft.Xna.Framework.TextInputEventArgs e)
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
A337141F02629E0D773159D0EE0BCCA0AE11F5691D9469DEC12CE174BE5C00C5 - Body hash
3E15E8E030A405B1CDC0D61EAB4521775016E42EAEF7478529A4CBFABB575FE3 - IL size60
Referenced calls
System.Linq.Enumerable::Contains(System.Collections.Generic.IEnumerable<!!0>, !!0)KeyboardInput.CharacterEventArgs::.ctor(System.Char)Microsoft.Xna.Framework.Input.Keyboard::GetState()KeyboardInput.CharEnteredHandler::Invoke(KeyboardInput.CharacterEventArgs, Microsoft.Xna.Framework.Input.KeyboardState)
Update
#
public System.Void Update()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
82B8EDAD5C3E2F5055CD11FCDF5DF57C96C79C04892449B373FF2BF6EAB7E34D - Body hash
BC51DD76D3D04AAA44978535EF8F7FB56616D6622C401195F570CA4A3EE5B1A7 - IL size368
Referenced calls
Microsoft.Xna.Framework.Input.Keyboard::GetState()Candide.Terminal.KeyboardInput::JustPressed(Microsoft.Xna.Framework.Input.KeyboardState, Microsoft.Xna.Framework.Input.Keys)KeyboardInput.KeyEventArgs::.ctor(Microsoft.Xna.Framework.Input.Keys)KeyboardInput.KeyEventHandler::Invoke(KeyboardInput.KeyEventArgs, Microsoft.Xna.Framework.Input.KeyboardState)System.DateTime::get_Now()System.Nullable<Microsoft.Xna.Framework.Input.Keys>::.ctor(!0)Candide.Terminal.KeyboardInput::JustReleased(Microsoft.Xna.Framework.Input.KeyboardState, Microsoft.Xna.Framework.Input.Keys)System.Nullable<Microsoft.Xna.Framework.Input.Keys>::GetValueOrDefault()System.Nullable<Microsoft.Xna.Framework.Input.Keys>::get_HasValue()Microsoft.Xna.Framework.Input.KeyboardState::IsKeyDown(Microsoft.Xna.Framework.Input.Keys)System.DateTime::Subtract(System.DateTime)System.TimeSpan::FromMilliseconds(System.Double)System.TimeSpan::CompareTo(System.TimeSpan)