Mercurial > sdl-ios-xcode
comparison src/haptic/darwin/SDL_syshaptic.c @ 2555:f5bcc926bac4 gsoc2008_force_feedback
Not being able to compile locally gets on my nerves.
author | Edgar Simo <bobbens@gmail.com> |
---|---|
date | Wed, 30 Jul 2008 14:50:00 +0000 |
parents | 2681a04c2d3d |
children | fe346eddd3fb |
comparison
equal
deleted
inserted
replaced
2554:2681a04c2d3d | 2555:f5bcc926bac4 |
---|---|
521 { | 521 { |
522 DWORD dwTriggerButton; | 522 DWORD dwTriggerButton; |
523 | 523 |
524 dwTriggerButton = FFEB_NOTRIGGER; | 524 dwTriggerButton = FFEB_NOTRIGGER; |
525 | 525 |
526 if (hap_constant->button != 0) | 526 if (button != 0) { |
527 dwTriggerButton = FFJOFS_BUTTON(hap_constant->button); | 527 dwTriggerButton = FFJOFS_BUTTON(button); |
528 } | |
528 | 529 |
529 return dwTriggerButton; | 530 return dwTriggerButton; |
530 } | 531 } |
531 | 532 |
532 | 533 |