Added skeleton for SFML::Input class.
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1619 4e206d99-4929-0410-ac5d-dfc041789085
This commit is contained in:
parent
0124c37fb5
commit
b26417c240
3 changed files with 119 additions and 14 deletions
|
@ -131,20 +131,6 @@ static VALUE a##Event_Set##b ( VALUE self, VALUE aVal ) \
|
|||
return aVal; \
|
||||
}
|
||||
|
||||
/*static VALUE JoyButtonEvent_GetJoystickId( VALUE self )
|
||||
{
|
||||
sf::Event * object = NULL;
|
||||
Data_Get_Struct( self, sf::Event, object );
|
||||
return UINT2FIX( object->Key.JoystickId );
|
||||
}
|
||||
|
||||
static VALUE JoyButtonEvent_SetJoystickId( VALUE self, VALUE aValue )
|
||||
{
|
||||
sf::Event * object = NULL;
|
||||
Data_Get_Struct( self, sf::Event, object );
|
||||
return INT2NUM( object->Key.JoystickId = NUM2UINT( aValue ) );
|
||||
}*/
|
||||
|
||||
EVENT_TYPE_ACCESSORS( JoyButton, JoystickId, INT2NUM, NUM2UINT );
|
||||
EVENT_TYPE_ACCESSORS( JoyButton, Button, INT2NUM, NUM2UINT );
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue