Joystick:isGamepadDown

Joystick:isGamepadDown Available since LÖVE 0.9.0 This function is not supported in earlier versions. Checks if a virtual gamepad button on the Joystick is pressed. If the Joystick is not recognized as a Gamepad or isn't connected, then this function will always return false. Function Synopsis anyDown = Joystick:isGamepadDown( button1, button2, button3, ... ) Arguments GamepadButton buttonN The gamepad button to check. Returns boolean anyDown True if any supplied button is down, false

Joystick:isVibrationSupported

Joystick:isVibrationSupported Available since LÖVE 0.9.0 This function is not supported in earlier versions. Gets whether the Joystick supports vibration. Function Synopsis supported = Joystick:isVibrationSupported( ) Arguments None. Returns boolean supported True if rumble / force feedback vibration is supported on this Joystick, false if not. Notes The very first call to this function may take more time than expected because SDL's Haptic / Force Feedback subsystem needs to be initial

Joystick:setVibration

Joystick:setVibration Available since LÖVE 0.9.0 This function is not supported in earlier versions. Sets the vibration motor speeds on a Joystick with rumble support. Most common gamepads have this functionality, although not all drivers give proper support. Use Joystick:isVibrationSupported to check. Function Synopsis success = Joystick:setVibration( left, right ) Arguments number left Strength of the left vibration motor on the Joystick. Must be in the range of [0, 1]. number right St

love.audio.getDistanceModel

love.audio.getDistanceModel Available since LÖVE 0.8.0 This function is not supported in earlier versions. Returns the distance attenuation model. Function Synopsis model = love.audio.getDistanceModel( ) Arguments None. Returns DistanceModel model The current distance model. The default is 'inverseclamped'. See Also love.audio

love.audio.getDopplerScale

love.audio.getDopplerScale Available since LÖVE 0.9.2 This function is not supported in earlier versions. Gets the current global scale factor for velocity-based doppler effects. Function Synopsis scale = love.audio.getDopplerScale( ) Arguments None. Returns number scale The current doppler scale factor. See Also love.audio love.audio.setDopplerScale

love.audio.getNumSources

love.audio.getNumSources Removed in LÖVE 0.9.0 It has been renamed to love.audio.getSourceCount. Gets the current number of simultaneously playing sources. Function Synopsis numSources = love.audio.getNumSources( ) Arguments None. Returns number numSources The current number of simultaneously playing sources. See Also love.audio

love.audio.getOrientation

love.audio.getOrientation Returns the orientation of the listener. Function Synopsis fx, fy, fz, ux, uy, uz = love.audio.getOrientation( ) Arguments None. Returns number fx, fy, fz Forward vector of the listener orientation. number ux, uy, uz Up vector of the listener orientation. See Also love.audio

love.audio.getPosition

love.audio.getPosition Returns the position of the listener. Please note that positional audio only works for mono (i.e. non-stereo) sources. Function Synopsis x, y, z = love.audio.getPosition( ) Arguments None. Returns number x The X position of the listener. number y The Y position of the listener. number z The Z position of the listener. See Also love.audio

love.audio.getSourceCount

love.audio.getSourceCount Available since LÖVE 0.9.0 It has been renamed from love.audio.getNumSources. Gets the current number of simultaneously playing sources. Function Synopsis numSources = love.audio.getSourceCount( ) Arguments None. Returns number numSources The current number of simultaneously playing sources. See Also love.audio

love.audio.getVelocity

love.audio.getVelocity Returns the velocity of the listener. Function Synopsis x, y, z = love.audio.getVelocity( ) Arguments None. Returns number x The X velocity of the listener. number y The Y velocity of the listener. number z The Z velocity of the listener. See Also love.audio