input_parseopts()

Updated: April 19, 2023

Parse the argument options

Synopsis:

#include <input/parseopts.h>
void input_parseopts(const char *options,
                     set_option_t set_option,
                     void *arg)

Arguments:

options
Option passed from mtouch section of graphics.conf.
set_option
Callback function that is called on each option in options to parse the information and set the user information.
arg
User information.

Library:

libinputevents

Description:

This function calls the set_option callback function on the device for each option in options. The format of options is: option=value1,option2=value2

Returns:

Nothing.