Difference between revisions of "Chroma.new"

From GiderosMobile
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
(One intermediate revision by the same user not shown)
Line 5: Line 5:
 
=== Description ===
 
=== Description ===
 
Initialises the plugin.
 
Initialises the plugin.
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
(object) = chroma.new(devices,title,description,name,contact,category)
 
(object) = chroma.new(devices,title,description,name,contact,category)
</source>
+
</syntaxhighlight>
  
 
=== Parameters ===
 
=== Parameters ===

Latest revision as of 15:27, 13 July 2023

Available since: Gideros 2020.7
Class: chroma

Description

Initialises the plugin.

(object) = chroma.new(devices,title,description,name,contact,category)

Parameters

devices: (table) nil for all otherwise some of these: {"keyboard","mouse","headset","mousepad","keypad","chromalink"} optional
title: (string) name of application optional
description: (string) description of the application optional
name: (string) publisher name optional
contact: (string) contact information optional
category: (string) 'application' or 'game' (default) optional

Return values

Returns (object) the object to use