MCPcopy Create free account
hub / github.com/SpartanJ/eepp / KeyEvent

Method KeyEvent

src/eepp/scene/keyevent.cpp:7–13  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5namespace EE { namespace Scene {
6
7KeyEvent::KeyEvent( Node* node, const Uint32& eventNum, const Keycode& keyCode,
8 const Scancode& scancode, const Uint32& chr, const Uint32& mod ) :
9 Event( node, eventNum ),
10 mKeyCode( keyCode ),
11 mScancode( scancode ),
12 mChar( chr ),
13 mMod( mod ) {}
14
15KeyEvent::KeyEvent( const KeyEvent& event ) :
16 Event( event.getNode(), event.getType() ),

Callers

nothing calls this directly

Calls 3

getNodeMethod · 0.80
getCharMethod · 0.80
getTypeMethod · 0.45

Tested by

no test coverage detected