KeyEvent Structure

SFML.Net

KeyEvent Structure
Keyboard event parameters

Namespace: SFML.Window
Assembly: sfmlnet-window-2 (in sfmlnet-window-2.dll) Version: 2.2.0.0 (2.2.0)
Syntax
public struct KeyEvent
Public Structure KeyEvent
public value class KeyEvent
[<SealedAttribute>]
type KeyEvent =  struct end

The KeyEvent type exposes the following members.

Methods
  NameDescription
Public methodEquals
Indicates whether this instance and a specified object are equal.
(Inherited from ValueType.)
Public methodGetHashCode
Returns the hash code for this instance.
(Inherited from ValueType.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns the fully qualified type name of this instance.
(Inherited from ValueType.)
Top
Fields
  NameDescription
Public fieldAlt
Is the Alt modifier pressed?
Public fieldCode
Code of the key (see KeyCode enum)
Public fieldControl
Is the Control modifier pressed?
Public fieldShift
Is the Shift modifier pressed?
Public fieldSystem
Is the System modifier pressed?
Top
See Also