Skip to content

[FruityKit] Framework API FruityRazer

Eduardo Almeida edited this page Jun 10, 2020 · 2 revisions

FruityRazer

FruityKit's main, public functions are located in FruityRazer.swift.

Returns a list of devices, either all devices supported by FruityRazer or only the devices currently connected to the system. Returns an array of RazerDevice instances. Multiple devices may be returned for a single hardware device, in the event the hardware device is supported by both Synapse 2 and Synapse 3.

Just like the previous function, returns a list of devices, either all devices supported by FruityRazer or only the devices currently connected to the system. Unlike the previous function, returns an array of VersionedRazerDevice instances. Only a single instance is returned for a single hardware device, even if it is supported by both Synapse 2 and Synapse 3.