Difference between revisions of "Chroma.new"
From GiderosMobile
(Created page with "__NOTOC__ <languages /> '''<translate>Available since</translate>:''' Gideros 2020.6<br/> '''<translate>Class</translate>:''' chroma<br/> === <tr...") |
m (Text replacement - "</source>" to "</syntaxhighlight>") |
||
(3 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
− | + | '''Available since:''' Gideros 2020.7<br/> | |
− | ''' | + | '''Class:''' [[chroma]]<br/> |
− | ''' | + | |
− | === | + | === Description === |
− | + | Initialises the plugin. | |
− | < | + | <syntaxhighlight lang="lua"> |
(object) = chroma.new(devices,title,description,name,contact,category) | (object) = chroma.new(devices,title,description,name,contact,category) | ||
− | </ | + | </syntaxhighlight> |
− | === | + | |
− | '''devices''': (table) | + | === Parameters === |
− | '''title''': (string) | + | '''devices''': (table) nil for all otherwise some of these: {"keyboard","mouse","headset","mousepad","keypad","chromalink"} '''optional'''<br/> |
− | '''description''': (string) | + | '''title''': (string) name of application '''optional'''<br/> |
− | '''name''': (string) | + | '''description''': (string) description of the application '''optional'''<br/> |
− | '''contact''': (string) | + | '''name''': (string) publisher name '''optional'''<br/> |
− | '''category''': (string) | + | '''contact''': (string) contact information '''optional'''<br/> |
− | === | + | '''category''': (string) 'application' or 'game' (default) '''optional'''<br/> |
− | ''' | + | |
+ | === Return values === | ||
+ | '''Returns''' (object) the object to use<br/> | ||
{{Chroma}} | {{Chroma}} |
Latest revision as of 14: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