Scriptel ScripTouch ProScript C Library This documentation contains information about the ScripTouch ProScript C Library.

scriptel-proscript.h
Go to the documentation of this file.
1 /*******************************************************************************
2 * scriptel-proscript.h - Copyright 2014 - Scriptel Corporation
3 * ----
4 * This header contains the definitions for all of the public structures and
5 * functions for this library.
6 ******************************************************************************/
7 #ifndef _SCRIPTEL_PROSCRIPT_H_
8 #define _SCRIPTEL_PROSCRIPT_H_
63 #include "scriptel-list.h"
64
65 //Include the hid report structures.
66 #include "scriptel-hid-reports.h"
67
73 typedef enum scriptel_hotplug_type {
77 SCRIPTEL_HOTPLUG_ATTACHED = 0,
81 SCRIPTEL_HOTPLUG_DETACHED = 1
82 } scriptel_hotplug_type;
83
88 typedef enum scriptel_error_code {
92 SCRIPTEL_CODE_ERROR = 0,
96 SCRIPTEL_CODE_SUCCESS = 1
97 } scriptel_error_code;
98
103 typedef enum scriptel_font_alignment {
107 SCRIPTEL_ALIGN_LEFT = 0,
111 SCRIPTEL_ALIGN_RIGHT = 1,
115 SCRIPTEL_ALIGN_CENTER = 2
116 } scriptel_font_alignment;
117
118 //Forward declaration of scriptel_device.
119 typedef struct scriptel_device scriptel_device;
120 typedef struct scriptel_device_driver scriptel_device_driver;
124 typedef scriptel_error_code(*scriptel_driver_init_func)(void);
128 typedef scriptel_error_code(*scriptel_driver_destroy_func)(scriptel_device_driver* driver);
132 typedef scriptel_error_code(*scriptel_open_device_func)(scriptel_device*);
136 typedef scriptel_error_code(*scriptel_close_device_func)(scriptel_device* device);
140 typedef scriptel_error_code(*scriptel_list_devices_func)(scriptel_device_driver* driver, scriptel_device** start);
144 typedef scriptel_error_code(*scriptel_read_device_func)(scriptel_device* device);
148 typedef scriptel_error_code(*scriptel_set_output_report_func)(scriptel_device* device, unsigned char* buffer, unsigned int length);
152 typedef scriptel_error_code(*scriptel_set_feature_report_func)(scriptel_device* device, unsigned char* buffer, unsigned int length);
156 typedef scriptel_error_code(*scriptel_get_feature_report_func)(scriptel_device* device, unsigned char* buffer, unsigned int length);
160 typedef unsigned char(*scriptel_driver_thread_func)(void);
164 typedef void(*scriptel_driver_thread_wait_func)(void);
168 typedef char* (*scriptel_get_driver_name_func)(void);
172 typedef void(*scriptel_driver_shutdown_func)(void);
173
174 typedef scriptel_list*(*get_hotplug_callbacks_func)(void);
175
176 typedef scriptel_error_code(*scriptel_driver_device_free_func)(scriptel_device* device);
177
178 typedef void(*scriptel_report_error_func)(char* fmt, ...);
179
180 typedef void(*scriptel_debug_func)(const char* function, const char* file, int line_num, int level, char* message, ...);
181
182 typedef void(*scriptel_deliver_input_report_func)(scriptel_device* device, unsigned char* report, unsigned int len);
183
188 typedef struct scriptel_device_driver {
192 scriptel_driver_init_func driver_init;
196 scriptel_driver_destroy_func driver_destroy;
200 scriptel_open_device_func open_device;
204 scriptel_close_device_func close_device;
208 scriptel_list_devices_func list_devices;
212 scriptel_read_device_func device_read;
216 scriptel_set_output_report_func set_output_report;
220 scriptel_set_feature_report_func set_feature_report;
224 scriptel_get_feature_report_func get_feature_report;
228 scriptel_get_driver_name_func get_name;
232 scriptel_driver_thread_func thread_running;
236 scriptel_driver_thread_wait_func wait_thread;
240 unsigned char initialized;
244 scriptel_driver_shutdown_func shutdown;
248 get_hotplug_callbacks_func get_hotplug_callbacks;
252 scriptel_driver_device_free_func free_device;
256 scriptel_report_error_func report_error;
260 scriptel_debug_func debug;
264 scriptel_deliver_input_report_func input_report;
265 } scriptel_device_driver;
266
267 //Include the platform specific components.
268 #ifdef __linux__
269 //We're compiling on Linux, require the Linux header.
270 #include "scriptel-proscript-linux.h"
271 #elif _WIN32
272 //We're compiling on Windows, require the Windows header.
273 #include "scriptel-proscript-windows.h"
274 #elif __MACH__
275 //We're compiling on Mac, require the Mac header.
276 #include "scriptel-proscript-mac.h"
277 #endif
278
284 typedef struct scriptel_device {
290 char* path;
295 unsigned short product_id;
300 unsigned short vendor_id;
305 char* model;
310 char* manufacturer;
315 unsigned char* uuid;
319 unsigned char open;
324 unsigned char button_down;
329 unsigned char last_button;
333 scriptel_hid_feature_display_info display_info;
337 scriptel_hid_feature_version version_info;
341 scriptel_device_region_info* regions;
346 scriptel_list* input_callbacks;
351 void* user_defined;
355 struct scriptel_device* next;
359 scriptel_device_driver* driver;
365 void* driver_defined;
369 void* font;
376 scriptel_device_os_params parameters;
377
378 } scriptel_device;
379
384 typedef void(
385 #ifdef SCRIPTEL_EXPORT_VB_DLL
386 __stdcall
387 #endif
388 *scriptel_input_callback)(scriptel_device* device, scriptel_input_report* report, unsigned char report_id, unsigned char* report_buffer, unsigned int report_len
389 );
390
395 typedef void(
396 #ifdef SCRIPTEL_EXPORT_VB_DLL
397 __stdcall
398 #endif
399 *scriptel_hotplug_callback)(scriptel_hotplug_type type, char* device_path);
400
410 SCRIPTEL_SYMBOL_LINKAGE(scriptel_error_code) scriptel_list_devices(scriptel_device** start);
417 SCRIPTEL_SYMBOL_LINKAGE(void) scriptel_free_device_list(scriptel_device* device_list);
423 SCRIPTEL_SYMBOL_LINKAGE(unsigned int) scriptel_count_device_list(scriptel_device* list);
429 SCRIPTEL_SYMBOL_LINKAGE(void) scriptel_init(void);
436 SCRIPTEL_SYMBOL_LINKAGE(void) scriptel_destroy(void);
442 SCRIPTEL_SYMBOL_LINKAGE(scriptel_error_code) scriptel_open_device(scriptel_device* device);
450 SCRIPTEL_SYMBOL_LINKAGE(scriptel_error_code) scriptel_close_device(scriptel_device* device);
457 SCRIPTEL_SYMBOL_LINKAGE(char*) scriptel_get_last_error(void);
465 SCRIPTEL_SYMBOL_LINKAGE(scriptel_error_code) scriptel_device_read(scriptel_device* device);
475 SCRIPTEL_SYMBOL_LINKAGE(void) scriptel_device_read_until_done(scriptel_device* device);
483 SCRIPTEL_SYMBOL_LINKAGE(void) scriptel_device_read_done(scriptel_device* device);
490 SCRIPTEL_SYMBOL_LINKAGE(void) scriptel_register_input_callback(scriptel_device* device, scriptel_input_callback callback);
497 SCRIPTEL_SYMBOL_LINKAGE(void) scriptel_unregister_input_callback(scriptel_device* device, scriptel_input_callback callback);
503 SCRIPTEL_SYMBOL_LINKAGE(void) scriptel_register_hotplug_callback(scriptel_hotplug_callback callback);
508 SCRIPTEL_SYMBOL_LINKAGE(void) scriptel_unregister_hotplug_callback(scriptel_hotplug_callback callback);
509
515 SCRIPTEL_SYMBOL_LINKAGE(scriptel_hid_feature_display_info) scriptel_get_display_info(scriptel_device* device);
521 SCRIPTEL_SYMBOL_LINKAGE(void) scriptel_get_output_configuration_ref(scriptel_device* device, scriptel_hid_feature_output_parameters* report);
527 SCRIPTEL_SYMBOL_LINKAGE(scriptel_hid_feature_output_parameters) scriptel_get_output_configuration(scriptel_device* device);
538 SCRIPTEL_SYMBOL_LINKAGE(scriptel_error_code) scriptel_set_output_configuration(scriptel_device* device, scriptel_hid_feature_output_parameters settings);
543 SCRIPTEL_SYMBOL_LINKAGE(void) scriptel_print_output_configuration(scriptel_hid_feature_output_parameters* settings);
549 SCRIPTEL_SYMBOL_LINKAGE(void) scriptel_get_peripheral_configuration_ref(scriptel_device* device, scriptel_hid_feature_peripheral_configuration* report);
555 SCRIPTEL_SYMBOL_LINKAGE(scriptel_hid_feature_peripheral_configuration) scriptel_get_peripheral_configuration(scriptel_device* device);
566 SCRIPTEL_SYMBOL_LINKAGE(scriptel_error_code) scriptel_set_peripheral_configuration(scriptel_device* device, scriptel_hid_feature_peripheral_configuration settings);
571 SCRIPTEL_SYMBOL_LINKAGE(void) scriptel_print_peripheral_configuration(scriptel_hid_feature_peripheral_configuration* settings);
577 SCRIPTEL_SYMBOL_LINKAGE(void) scriptel_get_calibration_data_ref(scriptel_device* device, scriptel_hid_feature_calibration_data* calibration_data);
583 SCRIPTEL_SYMBOL_LINKAGE(scriptel_hid_feature_calibration_data) scriptel_get_calibration_data(scriptel_device* device);
594 SCRIPTEL_SYMBOL_LINKAGE(scriptel_error_code) scriptel_set_calibration_data(scriptel_device* device, scriptel_hid_feature_calibration_data calibration_data);
599 SCRIPTEL_SYMBOL_LINKAGE(void) scriptel_print_calibration_data(scriptel_hid_feature_calibration_data* calibration_data);
605 SCRIPTEL_SYMBOL_LINKAGE(void) scriptel_get_device_status_ref(scriptel_device* device, scriptel_hid_feature_device_status* status);
611 SCRIPTEL_SYMBOL_LINKAGE(scriptel_hid_feature_device_status) scriptel_get_device_status(scriptel_device* device);
616 SCRIPTEL_SYMBOL_LINKAGE(scriptel_error_code) scriptel_clear_last_error(scriptel_device* device);
621 SCRIPTEL_SYMBOL_LINKAGE(void) scriptel_print_device_status(scriptel_hid_feature_device_status* status);
627 SCRIPTEL_SYMBOL_LINKAGE(void) scriptel_get_display_info_ref(scriptel_device* device, scriptel_hid_feature_display_info* report);
632 SCRIPTEL_SYMBOL_LINKAGE(void) scriptel_print_display_info(scriptel_hid_feature_display_info* info);
638 SCRIPTEL_SYMBOL_LINKAGE(scriptel_hid_capabilities) scriptel_get_capabilities(scriptel_device* device);
644 SCRIPTEL_SYMBOL_LINKAGE(void) scriptel_get_capabilities_ref(scriptel_device* device, scriptel_hid_capabilities* report);
649 SCRIPTEL_SYMBOL_LINKAGE(void) scriptel_print_capabilities(scriptel_hid_capabilities* caps);
655 SCRIPTEL_SYMBOL_LINKAGE(scriptel_hid_feature_display_settings) scriptel_get_display_settings(scriptel_device* device);
661 SCRIPTEL_SYMBOL_LINKAGE(void) scriptel_get_display_settings_ref(scriptel_device* device, scriptel_hid_feature_display_settings* report);
666 SCRIPTEL_SYMBOL_LINKAGE(void) scriptel_print_display_settings(scriptel_hid_feature_display_settings* settings);
673 SCRIPTEL_SYMBOL_LINKAGE(scriptel_hid_feature_device_configure) scriptel_get_device_configure(scriptel_device* device);
680 SCRIPTEL_SYMBOL_LINKAGE(void) scriptel_get_device_configure_ref(scriptel_device* device, scriptel_hid_feature_device_configure* report);
686 SCRIPTEL_SYMBOL_LINKAGE(void) scriptel_print_device_configure(scriptel_hid_feature_device_configure* config);
693 SCRIPTEL_SYMBOL_LINKAGE(scriptel_hid_feature_contact_count_maximum) scriptel_get_contact_count_maximum(scriptel_device* device);
701 SCRIPTEL_SYMBOL_LINKAGE(scriptel_error_code) scriptel_add_region_to_screen(scriptel_hid_feature_screen *screen, int region, int next);
706 SCRIPTEL_SYMBOL_LINKAGE(scriptel_error_code) scriptel_set_easyscript_mode(scriptel_device* device, char commit_changes);
711 SCRIPTEL_SYMBOL_LINKAGE(scriptel_error_code) scriptel_set_proscript_mode(scriptel_device* device, char commit_changes);
719 SCRIPTEL_SYMBOL_LINKAGE(void) scriptel_get_contact_count_maximum_ref(scriptel_device* device, scriptel_hid_feature_contact_count_maximum* report);
725 SCRIPTEL_SYMBOL_LINKAGE(void) scriptel_print_contact_count_maximum(scriptel_hid_feature_contact_count_maximum* contact);
733 SCRIPTEL_SYMBOL_LINKAGE(scriptel_hid_feature_frequency_amplitude) scriptel_get_frequency_amplitude(scriptel_device* device);
741 SCRIPTEL_SYMBOL_LINKAGE(void) scriptel_get_frequency_amplitude_ref(scriptel_device* device, scriptel_hid_feature_frequency_amplitude* fa);
747 SCRIPTEL_SYMBOL_LINKAGE(void) scriptel_print_frequency_amplitude(scriptel_hid_feature_frequency_amplitude* freq);
753 SCRIPTEL_SYMBOL_LINKAGE(scriptel_hid_feature_power_state) scriptel_get_power_state(scriptel_device* device);
758 SCRIPTEL_SYMBOL_LINKAGE(void) scriptel_print_power_state(scriptel_hid_feature_power_state* state);
764 SCRIPTEL_SYMBOL_LINKAGE(scriptel_hid_feature_version) scriptel_get_version(scriptel_device* device);
770 SCRIPTEL_SYMBOL_LINKAGE(void) scriptel_get_version_ref(scriptel_device* device, scriptel_hid_feature_version* report);
775 SCRIPTEL_SYMBOL_LINKAGE(void) scriptel_print_version(scriptel_hid_feature_version* version);
784 SCRIPTEL_SYMBOL_LINKAGE(scriptel_hid_feature_coordinate_range) scriptel_get_coordinate_range(scriptel_device* device);
793 SCRIPTEL_SYMBOL_LINKAGE(void) scriptel_get_coordinate_range_ref(scriptel_device* device, scriptel_hid_feature_coordinate_range* report);
798 SCRIPTEL_SYMBOL_LINKAGE(void) scriptel_print_coordinate_range(scriptel_hid_feature_coordinate_range* range);
806 SCRIPTEL_SYMBOL_LINKAGE(scriptel_hid_feature_error_correction_table) scriptel_get_error_correction_table(scriptel_device* device);
814 SCRIPTEL_SYMBOL_LINKAGE(void) scriptel_get_error_correction_table_ref(scriptel_device* device, scriptel_hid_feature_error_correction_table* table);
820 SCRIPTEL_SYMBOL_LINKAGE(void) scriptel_print_error_correction_table(scriptel_hid_feature_error_correction_table* table);
826 SCRIPTEL_SYMBOL_LINKAGE(scriptel_hid_feature_serial_number) scriptel_get_serial_number(scriptel_device* device);
832 SCRIPTEL_SYMBOL_LINKAGE(void) scriptel_get_serial_number_ref(scriptel_device* device, scriptel_hid_feature_serial_number* sn);
837 SCRIPTEL_SYMBOL_LINKAGE(void) scriptel_print_serial_number(scriptel_hid_feature_serial_number* serial);
844 SCRIPTEL_SYMBOL_LINKAGE(scriptel_hid_feature_operating_modes) scriptel_get_operating_modes(scriptel_device* device);
851 SCRIPTEL_SYMBOL_LINKAGE(void) scriptel_get_operating_modes_ref(scriptel_device* device, scriptel_hid_feature_operating_modes* modes);
857 SCRIPTEL_SYMBOL_LINKAGE(void) scriptel_print_operating_modes(scriptel_hid_feature_operating_modes* modes);
864 SCRIPTEL_SYMBOL_LINKAGE(scriptel_hid_feature_general_parameters) scriptel_get_general_parameters(scriptel_device* device);
871 SCRIPTEL_SYMBOL_LINKAGE(void) scriptel_get_general_parameters_ref(scriptel_device* device, scriptel_hid_feature_general_parameters* gparams);
877 SCRIPTEL_SYMBOL_LINKAGE(void) scriptel_print_general_parameters(scriptel_hid_feature_general_parameters* params);
884 SCRIPTEL_SYMBOL_LINKAGE(scriptel_hid_feature_register_get) scriptel_get_asic_register(scriptel_device* device);
891 SCRIPTEL_SYMBOL_LINKAGE(void) scriptel_get_asic_register_ref(scriptel_device* device, scriptel_hid_feature_register_get* reg);
897 SCRIPTEL_SYMBOL_LINKAGE(void) scriptel_print_asic_register(scriptel_hid_feature_register_get* reg);
905 SCRIPTEL_SYMBOL_LINKAGE(scriptel_hid_feature_pen_parameters) scriptel_get_pen_parameters(scriptel_device* device);
913 SCRIPTEL_SYMBOL_LINKAGE(void) scriptel_get_pen_parameters_ref(scriptel_device* device, scriptel_hid_feature_pen_parameters* report);
919 SCRIPTEL_SYMBOL_LINKAGE(void) scriptel_print_pen_parameters(scriptel_hid_feature_pen_parameters* pen);
926 SCRIPTEL_SYMBOL_LINKAGE(scriptel_hid_feature_touch_parameters) scriptel_get_touch_parameters(scriptel_device* device);
933 SCRIPTEL_SYMBOL_LINKAGE(void) scriptel_get_touch_parameters_ref(scriptel_device* device, scriptel_hid_feature_touch_parameters* report);
939 SCRIPTEL_SYMBOL_LINKAGE(void) scriptel_print_touch_parameters(scriptel_hid_feature_touch_parameters* touch);
954 SCRIPTEL_SYMBOL_LINKAGE(scriptel_device_region_info*) scriptel_get_regions(scriptel_device* device);
970 SCRIPTEL_SYMBOL_LINKAGE(scriptel_device_region_info*) scriptel_get_default_regions(scriptel_device* device);
975 SCRIPTEL_SYMBOL_LINKAGE(void) scriptel_free_regions(scriptel_device_region_info* regions);
981 SCRIPTEL_SYMBOL_LINKAGE(void) scriptel_print_regions(scriptel_device_region_info* regions, unsigned int count);
991 SCRIPTEL_SYMBOL_LINKAGE(scriptel_hid_feature_region*) scriptel_get_device_regions(scriptel_device* device);
996 SCRIPTEL_SYMBOL_LINKAGE(void) scriptel_free_device_regions(scriptel_hid_feature_region* regions);
1002 SCRIPTEL_SYMBOL_LINKAGE(void) scriptel_print_device_regions(scriptel_hid_feature_region* regions, unsigned int count);
1008 SCRIPTEL_SYMBOL_LINKAGE(scriptel_hid_feature_calibrate) scriptel_get_calibrate_state(scriptel_device* device);
1014 SCRIPTEL_SYMBOL_LINKAGE(void) scriptel_get_calibrate_state_ref(scriptel_device* device, scriptel_hid_feature_calibrate* report);
1019 SCRIPTEL_SYMBOL_LINKAGE(void) scriptel_print_calibrate_state(scriptel_hid_feature_calibrate* state);
1026 SCRIPTEL_SYMBOL_LINKAGE(unsigned char*) scriptel_get_device_uuid(scriptel_device* device);
1031 SCRIPTEL_SYMBOL_LINKAGE(void) scriptel_free_device_uuid(unsigned char* uuid);
1036 SCRIPTEL_SYMBOL_LINKAGE(void) scriptel_print_device_uuid(unsigned char* uuid);
1043 SCRIPTEL_SYMBOL_LINKAGE(scriptel_error_code) scriptel_set_run_mode(scriptel_device* device, scriptel_device_run_mode run_mode);
1055 SCRIPTEL_SYMBOL_LINKAGE(scriptel_error_code) scriptel_set_device_configure(scriptel_device* device, scriptel_hid_feature_device_configure configure);
1063 SCRIPTEL_SYMBOL_LINKAGE(scriptel_error_code) scriptel_set_frequency_amplitude(scriptel_device* device, scriptel_hid_feature_frequency_amplitude freq);
1070 SCRIPTEL_SYMBOL_LINKAGE(scriptel_error_code) scriptel_set_power_state(scriptel_device* device, scriptel_hid_feature_power_state state);
1080 SCRIPTEL_SYMBOL_LINKAGE(scriptel_error_code) scriptel_set_firmware(scriptel_device* device, scriptel_hid_feature_firmware_download firmware);
1090 SCRIPTEL_SYMBOL_LINKAGE(scriptel_error_code) scriptel_set_firmware_download_status(scriptel_device* device, scriptel_hid_feature_download_command_status status);
1104 SCRIPTEL_SYMBOL_LINKAGE(scriptel_error_code) scriptel_set_error_correction(scriptel_device* device, scriptel_hid_feature_error_correction_table errcor);
1118 SCRIPTEL_SYMBOL_LINKAGE(scriptel_error_code) scriptel_set_serial_number(scriptel_device* device, char* serial_number, unsigned int len);
1125 SCRIPTEL_SYMBOL_LINKAGE(scriptel_error_code) scriptel_set_startup_mode(scriptel_device* device, scriptel_device_acquisition_mode mode);
1139 SCRIPTEL_SYMBOL_LINKAGE(scriptel_error_code) scriptel_set_general_parameters(scriptel_device* device, scriptel_hid_feature_general_parameters params);
1152 SCRIPTEL_SYMBOL_LINKAGE(scriptel_error_code) scriptel_set_asic_reset(scriptel_device* device, scriptel_hid_feature_asic_reset reset);
1165 SCRIPTEL_SYMBOL_LINKAGE(scriptel_error_code) scriptel_set_asic_register(scriptel_device* device, scriptel_hid_feature_register_set reg);
1178 SCRIPTEL_SYMBOL_LINKAGE(scriptel_error_code) scriptel_set_pen_parameters(scriptel_device* device, scriptel_hid_feature_pen_parameters params);
1191 SCRIPTEL_SYMBOL_LINKAGE(scriptel_error_code) scriptel_set_touch_parameters(scriptel_device* device, scriptel_hid_feature_touch_parameters params);
1199 SCRIPTEL_SYMBOL_LINKAGE(scriptel_error_code) scriptel_set_display_content(scriptel_device* device, scriptel_hid_feature_display_content content);
1206 SCRIPTEL_SYMBOL_LINKAGE(scriptel_error_code) scriptel_set_display_settings(scriptel_device* device, scriptel_hid_feature_display_settings settings);
1213 SCRIPTEL_SYMBOL_LINKAGE(scriptel_error_code) scriptel_set_display_chunk(scriptel_device* device, scriptel_hid_feature_display_chunk chunk);
1227 SCRIPTEL_SYMBOL_LINKAGE(scriptel_error_code) scriptel_set_region(scriptel_device* device, scriptel_device_region_info* region);
1233 SCRIPTEL_SYMBOL_LINKAGE(scriptel_error_code) scriptel_clear_screen(scriptel_device* device);
1247 SCRIPTEL_SYMBOL_LINKAGE(scriptel_error_code) scriptel_update_region(scriptel_device* device, scriptel_hid_feature_region_update* region);
1263 SCRIPTEL_SYMBOL_LINKAGE(scriptel_error_code) scriptel_set_region_commit(scriptel_device* device, scriptel_region_save_changes commit);
1275 SCRIPTEL_SYMBOL_LINKAGE(scriptel_error_code) scriptel_delete_region(scriptel_device* device, unsigned char region);
1288 SCRIPTEL_SYMBOL_LINKAGE(scriptel_error_code) scriptel_delete_resource(scriptel_device* device, unsigned char resource_index);
1295 SCRIPTEL_SYMBOL_LINKAGE(scriptel_error_code) scriptel_delete_device_region(scriptel_device* device, unsigned char region);
1301 SCRIPTEL_SYMBOL_LINKAGE(scriptel_error_code) scriptel_device_calibrate(scriptel_device* device);
1307 SCRIPTEL_SYMBOL_LINKAGE(scriptel_error_code) scriptel_device_cancel_calibrate(scriptel_device* device);
1319 SCRIPTEL_SYMBOL_LINKAGE(scriptel_error_code) scriptel_device_draw_text(scriptel_device* device, char* text, unsigned int x, unsigned int y, scriptel_font_alignment alignment, unsigned char invert);
1334 SCRIPTEL_SYMBOL_LINKAGE(scriptel_error_code) scriptel_device_draw_text_encoded(scriptel_device* device, char* data, unsigned int dataLen, unsigned int x, unsigned int y, scriptel_font_alignment alignment, unsigned char invert, const char* encoding);
1341 SCRIPTEL_SYMBOL_LINKAGE(unsigned int) scriptel_measure_text_width(scriptel_device* device, char* text);
1349 SCRIPTEL_SYMBOL_LINKAGE(unsigned int) scriptel_measure_text_height(scriptel_device* device, char* text);
1359 SCRIPTEL_SYMBOL_LINKAGE(unsigned int) scriptel_measure_text_width_encoding(scriptel_device* device, char* data, unsigned int dataLen, char* encoding);
1368 SCRIPTEL_SYMBOL_LINKAGE(unsigned int) scriptel_measure_text_height_encoding(scriptel_device* device, char* data, unsigned int dataLen, char* encoding);
1376 SCRIPTEL_SYMBOL_LINKAGE(scriptel_error_code) scriptel_restore_default_regions(scriptel_device* device);
1381 SCRIPTEL_SYMBOL_LINKAGE(char*) scriptel_get_proscript_version(void);
1386 SCRIPTEL_SYMBOL_LINKAGE(unsigned int) scriptel_get_proscript_version_major(void);
1391 SCRIPTEL_SYMBOL_LINKAGE(unsigned int) scriptel_get_proscript_version_minor(void);
1396 SCRIPTEL_SYMBOL_LINKAGE(unsigned int) scriptel_get_proscript_version_release(void);
1401 SCRIPTEL_SYMBOL_LINKAGE(char*) scriptel_get_proscript_build_date(void);
1410 SCRIPTEL_SYMBOL_LINKAGE(int) scriptel_get_region_idx(scriptel_device* device);
1420 SCRIPTEL_SYMBOL_LINKAGE(scriptel_error_code) scriptel_set_region_idx(scriptel_device* device, unsigned char region_index);
1429 SCRIPTEL_SYMBOL_LINKAGE(scriptel_hid_feature_region) scriptel_get_region(scriptel_device* device);
1438 SCRIPTEL_SYMBOL_LINKAGE(void) scriptel_get_region_ref(scriptel_device* device, scriptel_hid_feature_region* region);
1448 SCRIPTEL_SYMBOL_LINKAGE(scriptel_error_code) scriptel_set_region_contents(scriptel_device* device, scriptel_hid_feature_region* region);
1457 SCRIPTEL_SYMBOL_LINKAGE(scriptel_hid_feature_resource_availability) scriptel_get_resource_availability(scriptel_device* device);
1467 SCRIPTEL_SYMBOL_LINKAGE(void) scriptel_get_resource_availability_ref(scriptel_device* device, scriptel_hid_feature_resource_availability* info);
1476 SCRIPTEL_SYMBOL_LINKAGE(int) scriptel_get_resource_idx(scriptel_device* device);
1486 SCRIPTEL_SYMBOL_LINKAGE(scriptel_error_code) scriptel_set_resource_idx(scriptel_device* device, unsigned char resource_index);
1495 SCRIPTEL_SYMBOL_LINKAGE(scriptel_hid_feature_resource_info) scriptel_get_resource_info(scriptel_device* device);
1504 SCRIPTEL_SYMBOL_LINKAGE(void) scriptel_get_resource_info_ref(scriptel_device* device, scriptel_hid_feature_resource_info* info);
1514 SCRIPTEL_SYMBOL_LINKAGE(scriptel_hid_feature_resource) scriptel_get_resource(scriptel_device* device);
1524 SCRIPTEL_SYMBOL_LINKAGE(void) scriptel_get_resource_ref(scriptel_device* device, scriptel_hid_feature_resource* resource);
1538 SCRIPTEL_SYMBOL_LINKAGE(scriptel_error_code) scriptel_set_resource(scriptel_device* device, scriptel_hid_feature_resource* resource);
1552 SCRIPTEL_SYMBOL_LINKAGE(scriptel_error_code) scriptel_set_screen_region_commit(scriptel_device* device, scriptel_screen_region_save_changes commit);
1561 SCRIPTEL_SYMBOL_LINKAGE(scriptel_hid_feature_screen) scriptel_get_screen(scriptel_device* device);
1570 SCRIPTEL_SYMBOL_LINKAGE(void) scriptel_get_screen_ref(scriptel_device* device, scriptel_hid_feature_screen* screen);
1580 SCRIPTEL_SYMBOL_LINKAGE(scriptel_error_code) scriptel_set_screen(scriptel_device* device, scriptel_hid_feature_screen* screen);
1589 SCRIPTEL_SYMBOL_LINKAGE(int) scriptel_get_screen_idx(scriptel_device* device);
1599 SCRIPTEL_SYMBOL_LINKAGE(scriptel_error_code) scriptel_set_screen_idx(scriptel_device* device, unsigned char screen_index);
1609 SCRIPTEL_SYMBOL_LINKAGE(scriptel_error_code) scriptel_delete_screen(scriptel_device* device, unsigned char screen_index);
1619 SCRIPTEL_SYMBOL_LINKAGE(scriptel_error_code) scriptel_set_edit_screen(scriptel_device* device, scriptel_hid_feature_edit_screen* screen_edit);
1628 SCRIPTEL_SYMBOL_LINKAGE(scriptel_hid_feature_screen_region_info) scriptel_get_screen_region_info(scriptel_device* device);
1637 SCRIPTEL_SYMBOL_LINKAGE(void) scriptel_get_screen_region_info_ref(scriptel_device* device, scriptel_hid_feature_screen_region_info* info);
1646 SCRIPTEL_SYMBOL_LINKAGE(int) scriptel_get_active_screen(scriptel_device* device);
1656 SCRIPTEL_SYMBOL_LINKAGE(scriptel_error_code) scriptel_set_active_screen(scriptel_device* device, unsigned char screen_index);
1662 SCRIPTEL_SYMBOL_LINKAGE(void) scriptel_set_legacy_firmware(int version, char legacy);
1663
1669 SCRIPTEL_SYMBOL_LINKAGE(scriptel_error_code) scriptel_simulate_pen_input(scriptel_device *dev, scriptel_pen_coordinate *coord);
1679 SCRIPTEL_SYMBOL_LINKAGE(scriptel_error_code) scriptel_get_pixels(scriptel_device* device, scriptel_hid_feature_pixel_values *pixel_values);
1680
1685 SCRIPTEL_SYMBOL_LINKAGE(int) scriptel_genII_query_hardware_configuration(scriptel_device *dev);
1691 SCRIPTEL_SYMBOL_LINKAGE(scriptel_error_code) scriptel_genII_set_device_pid(scriptel_device* dev, unsigned short pid);
1696 SCRIPTEL_SYMBOL_LINKAGE(scriptel_error_code) scriptel_genII_tune(scriptel_device* dev);
1701 SCRIPTEL_SYMBOL_LINKAGE(scriptel_error_code) scriptel_genII_abort_tune(scriptel_device* dev);
1706 SCRIPTEL_SYMBOL_LINKAGE(scriptel_hid_feature_tuning_status) scriptel_genII_get_tuning_status(scriptel_device* dev);
1707
1712 SCRIPTEL_SYMBOL_LINKAGE(scriptel_hid_feature_guid) scriptel_genII_get_hardware_GUID(scriptel_device *dev);
1713
1719 SCRIPTEL_SYMBOL_LINKAGE(scriptel_error_code) scriptel_genII_set_hardware_GUID(scriptel_device *dev, scriptel_hid_feature_guid guid);
1720
1721 extern scriptel_device_driver scriptel_real_driver;
1722 #endif
scriptel-hid-reports.h
This file contains the headers required for lower level communication with ScripTouch devices.
scriptel_region_save_changes
scriptel_region_save_changes
This enumeration contains the valid options for region edit complete.
Definition: scriptel-hid-reports.h:2697
scriptel_screen_region_save_changes
scriptel_screen_region_save_changes
Definition: scriptel-hid-reports.h:2708
scriptel_device_run_mode
scriptel_device_run_mode
This enumeration contains all of the valid run modes for ScripTouch firmware.
Definition: scriptel-hid-reports.h:572
scriptel_device_acquisition_mode
scriptel_device_acquisition_mode
This enumeration contains all supported acquisition modes.
Definition: scriptel-hid-reports.h:616
scriptel_delete_device_region
scriptel_error_code scriptel_delete_device_region(scriptel_device *device, unsigned char region)
This function "deletes" a region, effectively removing it from the screen.
scriptel_init
void scriptel_init(void)
This function should be called prior to using any other library functions.
scriptel_hotplug_type
scriptel_hotplug_type
This enumeration contains a list of codes indicating whether or not a device has been added to or rem...
Definition: scriptel-proscript.h:73
SCRIPTEL_HOTPLUG_ATTACHED
@ SCRIPTEL_HOTPLUG_ATTACHED
The device was added to the system.
Definition: scriptel-proscript.h:77
SCRIPTEL_HOTPLUG_DETACHED
@ SCRIPTEL_HOTPLUG_DETACHED
The device was removed from the system.
Definition: scriptel-proscript.h:81
scriptel_get_display_settings_ref
void scriptel_get_display_settings_ref(scriptel_device *device, scriptel_hid_feature_display_settings *report)
This function gets dynamic display settings from the device.
scriptel_count_device_list
unsigned int scriptel_count_device_list(scriptel_device *list)
This function counts the number of devices in a given device list.
scriptel_hotplug_callback
void(* scriptel_hotplug_callback)(scriptel_hotplug_type type, char *device_path)
This function pointer type implements a function that can be called to pass information about connect...
Definition: scriptel-proscript.h:399
scriptel_font_alignment
scriptel_font_alignment
This enumeration contains constants relating to the alignment of text.
Definition: scriptel-proscript.h:103
SCRIPTEL_ALIGN_LEFT
@ SCRIPTEL_ALIGN_LEFT
Aligns text to the left.
Definition: scriptel-proscript.h:107
SCRIPTEL_ALIGN_CENTER
@ SCRIPTEL_ALIGN_CENTER
Aligns text to the center.
Definition: scriptel-proscript.h:115
SCRIPTEL_ALIGN_RIGHT
@ SCRIPTEL_ALIGN_RIGHT
Aligns text to the right.
Definition: scriptel-proscript.h:111
scriptel_set_easyscript_mode
scriptel_error_code scriptel_set_easyscript_mode(scriptel_device *device, char commit_changes)
This function sets the device to easyscript mode if possible.
scriptel_set_display_settings
scriptel_error_code scriptel_set_display_settings(scriptel_device *device, scriptel_hid_feature_display_settings settings)
This function pushes new values for the dynamic display settings to a device.
scriptel_get_general_parameters
scriptel_hid_feature_general_parameters scriptel_get_general_parameters(scriptel_device *device)
This function gets general operating parameters from a device.
scriptel_set_frequency_amplitude
scriptel_error_code scriptel_set_frequency_amplitude(scriptel_device *device, scriptel_hid_feature_frequency_amplitude freq)
This function sets the frequency and amplitude settings for a device.
scriptel_get_power_state
scriptel_hid_feature_power_state scriptel_get_power_state(scriptel_device *device)
This function gets the current power state of the device.
scriptel_driver_thread_func
unsigned char(* scriptel_driver_thread_func)(void)
This typedef should return whether or not there's a thread running for this driver.
Definition: scriptel-proscript.h:160
scriptel_get_contact_count_maximum_ref
void scriptel_get_contact_count_maximum_ref(scriptel_device *device, scriptel_hid_feature_contact_count_maximum *report)
This function gets the maximum number of multi-touch contacts supported from a ScripTouch multi-touch...
scriptel_read_device_func
scriptel_error_code(* scriptel_read_device_func)(scriptel_device *device)
This typedef should read from an abstract ScripTouch device.
Definition: scriptel-proscript.h:144
scriptel_print_version
void scriptel_print_version(scriptel_hid_feature_version *version)
This function prints a version information structure to standard out.
scriptel_delete_screen
scriptel_error_code scriptel_delete_screen(scriptel_device *device, unsigned char screen_index)
This function deletes a screen that is set on the device.
scriptel_open_device_func
scriptel_error_code(* scriptel_open_device_func)(scriptel_device *)
This typdef should open an abstract ScripTouch device.
Definition: scriptel-proscript.h:132
scriptel_genII_query_hardware_configuration
int scriptel_genII_query_hardware_configuration(scriptel_device *dev)
This function returns the reported hardward configuration of a STGENII board.
scriptel_print_display_info
void scriptel_print_display_info(scriptel_hid_feature_display_info *info)
This function prints the information from a display information structure to standard out.
scriptel_set_resource
scriptel_error_code scriptel_set_resource(scriptel_device *device, scriptel_hid_feature_resource *resource)
This function sets the information of a resource on the device.
scriptel_device_read_until_done
void scriptel_device_read_until_done(scriptel_device *device)
This function will start a new thread that will call scriptel_device_read() in a loop.
scriptel_set_touch_parameters
scriptel_error_code scriptel_set_touch_parameters(scriptel_device *device, scriptel_hid_feature_touch_parameters params)
This function sets the operating parameters for touch input.
scriptel_get_display_settings
scriptel_hid_feature_display_settings scriptel_get_display_settings(scriptel_device *device)
This function gets dynamic display settings from the device.
scriptel_get_device_uuid
unsigned char * scriptel_get_device_uuid(scriptel_device *device)
This function returns the UUID of a device as a byte array.
scriptel_print_peripheral_configuration
void scriptel_print_peripheral_configuration(scriptel_hid_feature_peripheral_configuration *settings)
This function prints the information from a peripheral configuration structure to standard out.
scriptel_print_output_configuration
void scriptel_print_output_configuration(scriptel_hid_feature_output_parameters *settings)
This function prints the information from an output parameters structure to standard out.
scriptel_get_calibration_data_ref
void scriptel_get_calibration_data_ref(scriptel_device *device, scriptel_hid_feature_calibration_data *calibration_data)
This function gets data about calibration.
scriptel_get_resource_idx
int scriptel_get_resource_idx(scriptel_device *device)
This function returns the index of a resource on the signature pad based off the resource index.
scriptel_register_hotplug_callback
void scriptel_register_hotplug_callback(scriptel_hotplug_callback callback)
This function registers a hot-plug callback for the system.
scriptel_get_coordinate_range
scriptel_hid_feature_coordinate_range scriptel_get_coordinate_range(scriptel_device *device)
This function gets the logical coordinate range that will be returned from the device when points are...
scriptel_set_general_parameters
scriptel_error_code scriptel_set_general_parameters(scriptel_device *device, scriptel_hid_feature_general_parameters params)
This function can be used to update general operating parameters.
scriptel_get_device_status
scriptel_hid_feature_device_status scriptel_get_device_status(scriptel_device *device)
This function gets the current status of the device.
scriptel_free_regions
void scriptel_free_regions(scriptel_device_region_info *regions)
This function frees a region array returned from scriptel_get_regions() or scriptel_get_default_regio...
scriptel_get_active_screen
int scriptel_get_active_screen(scriptel_device *device)
This function returns the index of the active screen on the signature pad.
scriptel_get_version
scriptel_hid_feature_version scriptel_get_version(scriptel_device *device)
This function gets the current version of the device.
scriptel_get_screen_region_info
scriptel_hid_feature_screen_region_info scriptel_get_screen_region_info(scriptel_device *device)
This function recieves the overall information about the number of screens and regions and other info...
scriptel_get_asic_register_ref
void scriptel_get_asic_register_ref(scriptel_device *device, scriptel_hid_feature_register_get *reg)
This function can be used to get the ASIC register from a device.
scriptel_list_devices
scriptel_error_code scriptel_list_devices(scriptel_device **start)
This function takes a pointer and will attempt to enumerate any attached ScripTouch devices.
scriptel_get_serial_number
scriptel_hid_feature_serial_number scriptel_get_serial_number(scriptel_device *device)
This function gets the serial number of the device (if set).
scriptel_device_draw_text_encoded
scriptel_error_code scriptel_device_draw_text_encoded(scriptel_device *device, char *data, unsigned int dataLen, unsigned int x, unsigned int y, scriptel_font_alignment alignment, unsigned char invert, const char *encoding)
This function draws text on the display of the device (if equipped) using a built in font.
scriptel_get_peripheral_configuration
scriptel_hid_feature_peripheral_configuration scriptel_get_peripheral_configuration(scriptel_device *device)
This function gets the output configuration information from the device.
scriptel_set_region_contents
scriptel_error_code scriptel_set_region_contents(scriptel_device *device, scriptel_hid_feature_region *region)
This function sets the information about a region on the device.
scriptel_get_capabilities_ref
void scriptel_get_capabilities_ref(scriptel_device *device, scriptel_hid_capabilities *report)
This function gets device capabilities (if supported).
scriptel_get_calibrate_state
scriptel_hid_feature_calibrate scriptel_get_calibrate_state(scriptel_device *device)
This function returns the current calibration state of a device.
scriptel_get_pixels
scriptel_error_code scriptel_get_pixels(scriptel_device *device, scriptel_hid_feature_pixel_values *pixel_values)
This function reads the pixels on the screen for testing purposes.
scriptel_print_asic_register
void scriptel_print_asic_register(scriptel_hid_feature_register_get *reg)
This function prints an ASIC register structure to standard out.
scriptel_close_device
scriptel_error_code scriptel_close_device(scriptel_device *device)
This function attempts to close a local device that was previously opened.
scriptel_get_capabilities
scriptel_hid_capabilities scriptel_get_capabilities(scriptel_device *device)
This function gets device capabilities (if supported).
scriptel_get_device_configure
scriptel_hid_feature_device_configure scriptel_get_device_configure(scriptel_device *device)
This function gets the active device configuration from a ScripTouch mouse device.
scriptel_set_screen
scriptel_error_code scriptel_set_screen(scriptel_device *device, scriptel_hid_feature_screen *screen)
This function sets the information about a screen that can be displayed on the device based off the s...
scriptel_get_calibrate_state_ref
void scriptel_get_calibrate_state_ref(scriptel_device *device, scriptel_hid_feature_calibrate *report)
This function returns the current calibration state of a device.
scriptel_get_operating_modes_ref
void scriptel_get_operating_modes_ref(scriptel_device *device, scriptel_hid_feature_operating_modes *modes)
This function gets supported operating modes from the device.
scriptel_get_device_configure_ref
void scriptel_get_device_configure_ref(scriptel_device *device, scriptel_hid_feature_device_configure *report)
This function gets the active device configuration from a ScripTouch mouse device.
scriptel_get_general_parameters_ref
void scriptel_get_general_parameters_ref(scriptel_device *device, scriptel_hid_feature_general_parameters *gparams)
This function gets general operating parameters from a device.
scriptel_print_general_parameters
void scriptel_print_general_parameters(scriptel_hid_feature_general_parameters *params)
This function prints a general operating parameters structure to standard out.
scriptel_get_screen_region_info_ref
void scriptel_get_screen_region_info_ref(scriptel_device *device, scriptel_hid_feature_screen_region_info *info)
This function recieves the overall information about the number of screens and regions and other info...
scriptel_open_device
scriptel_error_code scriptel_open_device(scriptel_device *device)
This function attempts to open a local device returned by scriptel_list_devices().
scriptel_driver_init_func
scriptel_error_code(* scriptel_driver_init_func)(void)
This typedef should initialize an abstract ScripTouch driver.
Definition: scriptel-proscript.h:124
scriptel_set_screen_idx
scriptel_error_code scriptel_set_screen_idx(scriptel_device *device, unsigned char screen_index)
This function sets the screen index for use with scriptel_get_screen.
scriptel_set_power_state
scriptel_error_code scriptel_set_power_state(scriptel_device *device, scriptel_hid_feature_power_state state)
This function sets the power state of the device.
scriptel_get_operating_modes
scriptel_hid_feature_operating_modes scriptel_get_operating_modes(scriptel_device *device)
This function gets supported operating modes from the device.
scriptel_get_last_error
char * scriptel_get_last_error(void)
This function gets the last error message generated by the library.
scriptel_set_region_idx
scriptel_error_code scriptel_set_region_idx(scriptel_device *device, unsigned char region_index)
This function sets the region index for use with scriptel_get_region.
scriptel_get_touch_parameters
scriptel_hid_feature_touch_parameters scriptel_get_touch_parameters(scriptel_device *device)
This function gets operating parameters for touch input from the device.
scriptel_genII_set_device_pid
scriptel_error_code scriptel_genII_set_device_pid(scriptel_device *dev, unsigned short pid)
This function sets the PID of the connected STGENII board.
scriptel_get_pen_parameters
scriptel_hid_feature_pen_parameters scriptel_get_pen_parameters(scriptel_device *device)
This function gets operating parameters for pen input from the device.
scriptel_get_serial_number_ref
void scriptel_get_serial_number_ref(scriptel_device *device, scriptel_hid_feature_serial_number *sn)
This function gets the serial number of the device (if set).
scriptel_device_draw_text
scriptel_error_code scriptel_device_draw_text(scriptel_device *device, char *text, unsigned int x, unsigned int y, scriptel_font_alignment alignment, unsigned char invert)
This function draws text on the display of the device (if equipped) using a built in font.
scriptel_genII_get_hardware_GUID
scriptel_hid_feature_guid scriptel_genII_get_hardware_GUID(scriptel_device *dev)
Gets the guid that was burned into the device during production.
scriptel_get_error_correction_table_ref
void scriptel_get_error_correction_table_ref(scriptel_device *device, scriptel_hid_feature_error_correction_table *table)
This function gets the error correction table from the device.
scriptel_print_contact_count_maximum
void scriptel_print_contact_count_maximum(scriptel_hid_feature_contact_count_maximum *contact)
This function prints the contact count maximum information to standard out.
scriptel_set_error_correction
scriptel_error_code scriptel_set_error_correction(scriptel_device *device, scriptel_hid_feature_error_correction_table errcor)
This function can be used to set the sensor error correction table on the device.
scriptel_device_driver
struct scriptel_device_driver scriptel_device_driver
This structure contains function pointers to the functions required to interact with a device.
Definition: scriptel-proscript.h:120
scriptel_add_region_to_screen
scriptel_error_code scriptel_add_region_to_screen(scriptel_hid_feature_screen *screen, int region, int next)
This function adds a region to the specified screen.
scriptel_set_edit_screen
scriptel_error_code scriptel_set_edit_screen(scriptel_device *device, scriptel_hid_feature_edit_screen *screen_edit)
This function edits a screen that is set on the device.
scriptel_get_resource
scriptel_hid_feature_resource scriptel_get_resource(scriptel_device *device)
This function gets the information of a resource on the device based off the resource index.
scriptel_set_calibration_data
scriptel_error_code scriptel_set_calibration_data(scriptel_device *device, scriptel_hid_feature_calibration_data calibration_data)
This function sends the calibration data to the device.
scriptel_measure_text_height_encoding
unsigned int scriptel_measure_text_height_encoding(scriptel_device *device, char *data, unsigned int dataLen, char *encoding)
This function measures the height of a particular string using the built in font.
scriptel_measure_text_height
unsigned int scriptel_measure_text_height(scriptel_device *device, char *text)
This function measures the height of a particular string using the built in font.
scriptel_get_region
scriptel_hid_feature_region scriptel_get_region(scriptel_device *device)
This function retrives the information about a region on the device based off the region index.
scriptel_delete_region
scriptel_error_code scriptel_delete_region(scriptel_device *device, unsigned char region)
This function "deletes" a region, effectively removing it from the screen.
scriptel_set_legacy_firmware
void scriptel_set_legacy_firmware(int version, char legacy)
This function is used for unit testing older firmware which does not check the device status locking ...
scriptel_set_pen_parameters
scriptel_error_code scriptel_set_pen_parameters(scriptel_device *device, scriptel_hid_feature_pen_parameters params)
This function sets the operating parameters for pen input.
scriptel_print_device_regions
void scriptel_print_device_regions(scriptel_hid_feature_region *regions, unsigned int count)
This function prints a set (1 or more) regions to standard out.
scriptel_get_error_correction_table
scriptel_hid_feature_error_correction_table scriptel_get_error_correction_table(scriptel_device *device)
This function gets the error correction table from the device.
scriptel_print_display_settings
void scriptel_print_display_settings(scriptel_hid_feature_display_settings *settings)
This function prints the information from a display settings structure to standard out.
scriptel_device_read_done
void scriptel_device_read_done(scriptel_device *device)
This function will signal the reading thread created by calling scriptel_device_read_until_done() tha...
scriptel_get_peripheral_configuration_ref
void scriptel_get_peripheral_configuration_ref(scriptel_device *device, scriptel_hid_feature_peripheral_configuration *report)
This function gets the peripheral configuration information from the device.
scriptel_get_proscript_version_release
unsigned int scriptel_get_proscript_version_release(void)
This function will return the release version of the ProScript library.
scriptel_unregister_input_callback
void scriptel_unregister_input_callback(scriptel_device *device, scriptel_input_callback callback)
This function unregisters an input callback so that it will no longer be called when scriptel_device_...
scriptel_get_resource_info_ref
void scriptel_get_resource_info_ref(scriptel_device *device, scriptel_hid_feature_resource_info *info)
This function gets the information of a resource on the device based off the resource index.
scriptel_measure_text_width_encoding
unsigned int scriptel_measure_text_width_encoding(scriptel_device *device, char *data, unsigned int dataLen, char *encoding)
This function measures the width of a particular string using the built in font.
scriptel_set_resource_idx
scriptel_error_code scriptel_set_resource_idx(scriptel_device *device, unsigned char resource_index)
This function sets the screen index for use with scriptel_get_resource and scriptel_get_resource_info...
scriptel_set_display_content
scriptel_error_code scriptel_set_display_content(scriptel_device *device, scriptel_hid_feature_display_content content)
This function sets display content.
scriptel_print_touch_parameters
void scriptel_print_touch_parameters(scriptel_hid_feature_touch_parameters *touch)
This function prints a touch parameters structure to standard out.
scriptel_set_serial_number
scriptel_error_code scriptel_set_serial_number(scriptel_device *device, char *serial_number, unsigned int len)
This function can be used to set the serial number on a device.
scriptel_print_operating_modes
void scriptel_print_operating_modes(scriptel_hid_feature_operating_modes *modes)
This function prints a supported operating modes structure to standard out.
scriptel_set_region
scriptel_error_code scriptel_set_region(scriptel_device *device, scriptel_device_region_info *region)
This function overwrites a region in the device replacing it in memory.
scriptel_get_frequency_amplitude
scriptel_hid_feature_frequency_amplitude scriptel_get_frequency_amplitude(scriptel_device *device)
This function gets the current frequency and amplitude settings being used for the digitizer.
scriptel_print_error_correction_table
void scriptel_print_error_correction_table(scriptel_hid_feature_error_correction_table *table)
This function prints the error correction table to standard out.
scriptel_set_display_chunk
scriptel_error_code scriptel_set_display_chunk(scriptel_device *device, scriptel_hid_feature_display_chunk chunk)
This function pushes a raster "chunk" to the display of the target device.
scriptel_input_callback
void(* scriptel_input_callback)(scriptel_device *device, scriptel_input_report *report, unsigned char report_id, unsigned char *report_buffer, unsigned int report_len)
This function pointer type implements a function that can be called to pass information received from...
Definition: scriptel-proscript.h:388
scriptel_close_device_func
scriptel_error_code(* scriptel_close_device_func)(scriptel_device *device)
This typedef should close an abstract ScripTouch device.
Definition: scriptel-proscript.h:136
scriptel_get_asic_register
scriptel_hid_feature_register_get scriptel_get_asic_register(scriptel_device *device)
This function can be used to get the ASIC register from a device.
scriptel_set_firmware
scriptel_error_code scriptel_set_firmware(scriptel_device *device, scriptel_hid_feature_firmware_download firmware)
This function sets a firmware page on the device.
scriptel_get_calibration_data
scriptel_hid_feature_calibration_data scriptel_get_calibration_data(scriptel_device *device)
This function gets data about calibration.
scriptel_set_feature_report_func
scriptel_error_code(* scriptel_set_feature_report_func)(scriptel_device *device, unsigned char *buffer, unsigned int length)
This typedef should send a feature report to an abstract ScripTouch device.
Definition: scriptel-proscript.h:152
scriptel_print_capabilities
void scriptel_print_capabilities(scriptel_hid_capabilities *caps)
This function prints the static device capabilities.
scriptel_print_pen_parameters
void scriptel_print_pen_parameters(scriptel_hid_feature_pen_parameters *pen)
This function prints a pen parameters structure to standard out.
scriptel_print_device_configure
void scriptel_print_device_configure(scriptel_hid_feature_device_configure *config)
This function prints the device configuration to standard out.
scriptel_get_output_configuration
scriptel_hid_feature_output_parameters scriptel_get_output_configuration(scriptel_device *device)
This function gets the output configuration information from the device.
scriptel_get_frequency_amplitude_ref
void scriptel_get_frequency_amplitude_ref(scriptel_device *device, scriptel_hid_feature_frequency_amplitude *fa)
This function gets the current frequency and amplitude settings being used for the digitizer.
scriptel_driver_destroy_func
scriptel_error_code(* scriptel_driver_destroy_func)(scriptel_device_driver *driver)
This typedef should destroy an abstract ScripTouch driver.
Definition: scriptel-proscript.h:128
scriptel_device_cancel_calibrate
scriptel_error_code scriptel_device_cancel_calibrate(scriptel_device *device)
This function forces the device out of calibration mode.
scriptel_free_device_list
void scriptel_free_device_list(scriptel_device *device_list)
This function crawls a scriptel_device list and attempts to free any library managed memory associate...
scriptel_get_device_status_ref
void scriptel_get_device_status_ref(scriptel_device *device, scriptel_hid_feature_device_status *status)
This function gets the current status of the device.
scriptel_delete_resource
scriptel_error_code scriptel_delete_resource(scriptel_device *device, unsigned char resource_index)
This function "deletes" a resource which will flag it for garbage collection.
scriptel_free_device_uuid
void scriptel_free_device_uuid(unsigned char *uuid)
This function frees the UUID of a device.
scriptel_get_default_regions
scriptel_device_region_info * scriptel_get_default_regions(scriptel_device *device)
This function gets the default list of regions from the device as an array.
scriptel_get_resource_availability
scriptel_hid_feature_resource_availability scriptel_get_resource_availability(scriptel_device *device)
This function retrieves the available space on the device for resources.
scriptel_simulate_pen_input
scriptel_error_code scriptel_simulate_pen_input(scriptel_device *dev, scriptel_pen_coordinate *coord)
This function is used for unit testing.
scriptel_error_code
scriptel_error_code
This enumeration contains all of the return codes that functions in this library can return.
Definition: scriptel-proscript.h:88
SCRIPTEL_CODE_ERROR
@ SCRIPTEL_CODE_ERROR
This code indicates that the function did not succeed.
Definition: scriptel-proscript.h:92
SCRIPTEL_CODE_SUCCESS
@ SCRIPTEL_CODE_SUCCESS
This code indicates that the function did succeed.
Definition: scriptel-proscript.h:96
scriptel_set_startup_mode
scriptel_error_code scriptel_set_startup_mode(scriptel_device *device, scriptel_device_acquisition_mode mode)
This function can be used to set the default start up mode of a device.
scriptel_set_screen_region_commit
scriptel_error_code scriptel_set_screen_region_commit(scriptel_device *device, scriptel_screen_region_save_changes commit)
This function can be used to either commit the current set of screens and regions to the device(makin...
scriptel_print_calibration_data
void scriptel_print_calibration_data(scriptel_hid_feature_calibration_data *calibration_data)
This function prints out the contents of the calibration data in human readable format.
scriptel_get_feature_report_func
scriptel_error_code(* scriptel_get_feature_report_func)(scriptel_device *device, unsigned char *buffer, unsigned int length)
This typedef should get a feature report from an abstract ScripTouch device.
Definition: scriptel-proscript.h:156
scriptel_get_pen_parameters_ref
void scriptel_get_pen_parameters_ref(scriptel_device *device, scriptel_hid_feature_pen_parameters *report)
This function gets operating parameters for pen input from the device.
scriptel_genII_abort_tune
scriptel_error_code scriptel_genII_abort_tune(scriptel_device *dev)
Aborts pen tuning for genII asicless devices.
scriptel_get_region_ref
void scriptel_get_region_ref(scriptel_device *device, scriptel_hid_feature_region *region)
This function retrives the information about a region on the device based off the region index.
scriptel_get_version_ref
void scriptel_get_version_ref(scriptel_device *device, scriptel_hid_feature_version *report)
This function gets the current version of the device.
scriptel_print_device_status
void scriptel_print_device_status(scriptel_hid_feature_device_status *status)
This function prints out the status structure in human readable format.
scriptel_driver_thread_wait_func
void(* scriptel_driver_thread_wait_func)(void)
This typedef should return wait for the device's thread to exit.
Definition: scriptel-proscript.h:164
scriptel_destroy
void scriptel_destroy(void)
This function should be called when you're done with the library and no longer want to interact with ...
scriptel_print_calibrate_state
void scriptel_print_calibrate_state(scriptel_hid_feature_calibrate *state)
This function prints a calibration state structure to standard out.
scriptel_get_region_idx
int scriptel_get_region_idx(scriptel_device *device)
This function returns the index of a region on the signature pad.
scriptel_device
struct scriptel_device scriptel_device
This structure represents a physically attached Scriptel ScripTouch device.
Definition: scriptel-proscript.h:119
scriptel_set_peripheral_configuration
scriptel_error_code scriptel_set_peripheral_configuration(scriptel_device *device, scriptel_hid_feature_peripheral_configuration settings)
This function sends the output configuration to the device.
scriptel_restore_default_regions
scriptel_error_code scriptel_restore_default_regions(scriptel_device *device)
This function will attempt to restore the default region configuration to the device.
scriptel_get_contact_count_maximum
scriptel_hid_feature_contact_count_maximum scriptel_get_contact_count_maximum(scriptel_device *device)
This function gets the maximum number of multi-touch contacts supported from a ScripTouch multi-touch...
scriptel_set_active_screen
scriptel_error_code scriptel_set_active_screen(scriptel_device *device, unsigned char screen_index)
This function sets the index of the active screen on the signature pad.
scriptel_get_proscript_version_minor
unsigned int scriptel_get_proscript_version_minor(void)
This function will return the minor version of the ProScript library.
scriptel_get_touch_parameters_ref
void scriptel_get_touch_parameters_ref(scriptel_device *device, scriptel_hid_feature_touch_parameters *report)
This function gets operating parameters for touch input from the device.
scriptel_set_firmware_download_status
scriptel_error_code scriptel_set_firmware_download_status(scriptel_device *device, scriptel_hid_feature_download_command_status status)
This function is used to indicate to a device that the firmware download is complete.
scriptel_get_output_configuration_ref
void scriptel_get_output_configuration_ref(scriptel_device *device, scriptel_hid_feature_output_parameters *report)
This function gets the output configuration information from the device.
scriptel_device_read
scriptel_error_code scriptel_device_read(scriptel_device *device)
This function attempts to read from the passed in device.
scriptel_print_power_state
void scriptel_print_power_state(scriptel_hid_feature_power_state *state)
This function prints a power state structure to standard out.
scriptel_get_device_regions
scriptel_hid_feature_region * scriptel_get_device_regions(scriptel_device *device)
This function gets the current list of regions from the device as an array.
scriptel_measure_text_width
unsigned int scriptel_measure_text_width(scriptel_device *device, char *text)
This function measures the width of a particular string using the built in font.
scriptel_print_coordinate_range
void scriptel_print_coordinate_range(scriptel_hid_feature_coordinate_range *range)
This function prints the logical coordinate range from the device to standard out.
scriptel_set_asic_register
scriptel_error_code scriptel_set_asic_register(scriptel_device *device, scriptel_hid_feature_register_set reg)
This function sets a register in the digitizer ASIC.
scriptel_print_device_uuid
void scriptel_print_device_uuid(unsigned char *uuid)
This function prints a UUID byte array to standard out.
scriptel_print_frequency_amplitude
void scriptel_print_frequency_amplitude(scriptel_hid_feature_frequency_amplitude *freq)
This function prints the a frequency and amplitude settings structure to standard out.
scriptel_update_region
scriptel_error_code scriptel_update_region(scriptel_device *device, scriptel_hid_feature_region_update *region)
This function can be used to update the settings for a single region.
scriptel_set_output_report_func
scriptel_error_code(* scriptel_set_output_report_func)(scriptel_device *device, unsigned char *buffer, unsigned int length)
This typedef should send an output report to an abstract ScripTouch device.
Definition: scriptel-proscript.h:148
scriptel_set_region_commit
scriptel_error_code scriptel_set_region_commit(scriptel_device *device, scriptel_region_save_changes commit)
This function can be used to either commit the current set of regions to the device (making them the ...
scriptel_set_output_configuration
scriptel_error_code scriptel_set_output_configuration(scriptel_device *device, scriptel_hid_feature_output_parameters settings)
This function sends the output configuration to the device.
scriptel_unregister_hotplug_callback
void scriptel_unregister_hotplug_callback(scriptel_hotplug_callback callback)
This function unregisters a hot-plug callback from the system.
scriptel_register_input_callback
void scriptel_register_input_callback(scriptel_device *device, scriptel_input_callback callback)
This function registers an input callback for a device.
scriptel_get_display_info_ref
void scriptel_get_display_info_ref(scriptel_device *device, scriptel_hid_feature_display_info *report)
This function gets static display information from the device.
scriptel_set_device_configure
scriptel_error_code scriptel_set_device_configure(scriptel_device *device, scriptel_hid_feature_device_configure configure)
This function sets the device configuration on ScripTouch mouse devices.
scriptel_get_resource_availability_ref
void scriptel_get_resource_availability_ref(scriptel_device *device, scriptel_hid_feature_resource_availability *info)
This function retrieves the available space on the device for resources.
scriptel_get_screen_ref
void scriptel_get_screen_ref(scriptel_device *device, scriptel_hid_feature_screen *screen)
This function retrives the information about a screen that can be displayed on the device based off t...
scriptel_print_regions
void scriptel_print_regions(scriptel_device_region_info *regions, unsigned int count)
This function prints a set (1 or more) regions to standard out.
scriptel_get_display_info
scriptel_hid_feature_display_info scriptel_get_display_info(scriptel_device *device)
This function gets static display information from the device.
scriptel_get_regions
scriptel_device_region_info * scriptel_get_regions(scriptel_device *device)
This function gets the current list of regions from the device as an array.
scriptel_get_resource_info
scriptel_hid_feature_resource_info scriptel_get_resource_info(scriptel_device *device)
This function gets the information of a resource on the device based off the resource index.
scriptel_set_run_mode
scriptel_error_code scriptel_set_run_mode(scriptel_device *device, scriptel_device_run_mode run_mode)
This function sets the run mode of the device.
scriptel_driver_shutdown_func
void(* scriptel_driver_shutdown_func)(void)
This typedef gets called when ProScript is getting destroyed.
Definition: scriptel-proscript.h:172
scriptel_get_screen_idx
int scriptel_get_screen_idx(scriptel_device *device)
This function returns the index of a screen on the signature pad.
scriptel_get_proscript_build_date
char * scriptel_get_proscript_build_date(void)
This function will return date that the ProScript library was built in format: yyyy-MM-dd HH:mm:ssZ.
scriptel_get_proscript_version
char * scriptel_get_proscript_version(void)
This function will return a string containing the version number.
scriptel_device_calibrate
scriptel_error_code scriptel_device_calibrate(scriptel_device *device)
This function forces the device into calibration mode.
scriptel_clear_screen
scriptel_error_code scriptel_clear_screen(scriptel_device *device)
This function clears the screen of the device.
scriptel_set_proscript_mode
scriptel_error_code scriptel_set_proscript_mode(scriptel_device *device, char commit_changes)
This function sets the device to proscript mode if possible.
scriptel_get_screen
scriptel_hid_feature_screen scriptel_get_screen(scriptel_device *device)
This function retrives the information about a screen that can be displayed on the device.
scriptel_clear_last_error
scriptel_error_code scriptel_clear_last_error(scriptel_device *device)
This function clears the error data from the device.
scriptel_get_coordinate_range_ref
void scriptel_get_coordinate_range_ref(scriptel_device *device, scriptel_hid_feature_coordinate_range *report)
This function gets the logical coordinate range that will be returned from the device when points are...
scriptel_genII_set_hardware_GUID
scriptel_error_code scriptel_genII_set_hardware_GUID(scriptel_device *dev, scriptel_hid_feature_guid guid)
Sets the guid in the genII device.
scriptel_genII_get_tuning_status
scriptel_hid_feature_tuning_status scriptel_genII_get_tuning_status(scriptel_device *dev)
Gets the pen tuning status or genII asicless devices.
scriptel_genII_tune
scriptel_error_code scriptel_genII_tune(scriptel_device *dev)
Initiates pen tuning for genII asicless devices.
scriptel_get_resource_ref
void scriptel_get_resource_ref(scriptel_device *device, scriptel_hid_feature_resource *resource)
This function gets the information of a resource on the device based off the resource index.
scriptel_free_device_regions
void scriptel_free_device_regions(scriptel_hid_feature_region *regions)
This function frees a region array returned from scriptel_get_device_regions().
scriptel_list_devices_func
scriptel_error_code(* scriptel_list_devices_func)(scriptel_device_driver *driver, scriptel_device **start)
This typdef should list a set of abstract ScripTouch devices.
Definition: scriptel-proscript.h:140
scriptel_print_serial_number
void scriptel_print_serial_number(scriptel_hid_feature_serial_number *serial)
This function prints a serial number structure to standard out.
scriptel_get_proscript_version_major
unsigned int scriptel_get_proscript_version_major(void)
This function will return the major version of the ProScript library.
scriptel_get_driver_name_func
char *(* scriptel_get_driver_name_func)(void)
This typedef should get a driver name from an abstract driver.
Definition: scriptel-proscript.h:168
scriptel_set_asic_reset
scriptel_error_code scriptel_set_asic_reset(scriptel_device *device, scriptel_hid_feature_asic_reset reset)
This function resets the internal digitizer ASIC.
scriptel_device_driver
This structure contains function pointers to the functions required to interact with a device.
Definition: scriptel-proscript.h:188
scriptel_device_driver::driver_init
scriptel_driver_init_func driver_init
Function pointer to driver initializer.
Definition: scriptel-proscript.h:192
scriptel_device_driver::open_device
scriptel_open_device_func open_device
Function pointer to open this device.
Definition: scriptel-proscript.h:200
scriptel_device_driver::set_output_report
scriptel_set_output_report_func set_output_report
Function pointer to set output report.
Definition: scriptel-proscript.h:216
scriptel_device_driver::wait_thread
scriptel_driver_thread_wait_func wait_thread
Wait for the thread to finish.
Definition: scriptel-proscript.h:236
scriptel_device_driver::shutdown
scriptel_driver_shutdown_func shutdown
This function gets called when proscript is getting destroyed.
Definition: scriptel-proscript.h:244
scriptel_device_driver::debug
scriptel_debug_func debug
Function for the driver to call to do debugging.
Definition: scriptel-proscript.h:260
scriptel_device_driver::device_read
scriptel_read_device_func device_read
Function pointer to read from a device.
Definition: scriptel-proscript.h:212
scriptel_device_driver::set_feature_report
scriptel_set_feature_report_func set_feature_report
Function pointer to set feature report.
Definition: scriptel-proscript.h:220
scriptel_device_driver::get_hotplug_callbacks
get_hotplug_callbacks_func get_hotplug_callbacks
function pointer to get the list of hotplug callbacks.
Definition: scriptel-proscript.h:248
scriptel_device_driver::driver_destroy
scriptel_driver_destroy_func driver_destroy
Function pointer to driver destructor.
Definition: scriptel-proscript.h:196
scriptel_device_driver::free_device
scriptel_driver_device_free_func free_device
Function to call to free a device.
Definition: scriptel-proscript.h:252
scriptel_device_driver::report_error
scriptel_report_error_func report_error
Function for the driver to call to report a problem.
Definition: scriptel-proscript.h:256
scriptel_device_driver::get_name
scriptel_get_driver_name_func get_name
Function pointer to get name function.
Definition: scriptel-proscript.h:228
scriptel_device_driver::initialized
unsigned char initialized
Whether or not this driver has been initialized or not.
Definition: scriptel-proscript.h:240
scriptel_device_driver::list_devices
scriptel_list_devices_func list_devices
Function pointer to list devices for this driver.
Definition: scriptel-proscript.h:208
scriptel_device_driver::close_device
scriptel_close_device_func close_device
Function pointer to close this device.
Definition: scriptel-proscript.h:204
scriptel_device_driver::get_feature_report
scriptel_get_feature_report_func get_feature_report
Function pointer to get feature report.
Definition: scriptel-proscript.h:224
scriptel_device_driver::input_report
scriptel_deliver_input_report_func input_report
Function for the driver to call to report an input report.
Definition: scriptel-proscript.h:264
scriptel_device_driver::thread_running
scriptel_driver_thread_func thread_running
Whether or not this driver has a thread running.
Definition: scriptel-proscript.h:232
scriptel_device
This structure represents a physically attached Scriptel ScripTouch device.
Definition: scriptel-proscript.h:284
scriptel_device::regions
scriptel_device_region_info * regions
Pointer to cached region information from the device at open time.
Definition: scriptel-proscript.h:341
scriptel_device::font
void * font
A pointer to the font used when displaying text on the device.
Definition: scriptel-proscript.h:369
scriptel_device::next
struct scriptel_device * next
A pointer to the next device if there is one.
Definition: scriptel-proscript.h:355
scriptel_device::last_button
unsigned char last_button
Stores the last button that was depressed.
Definition: scriptel-proscript.h:329
scriptel_device::button_down
unsigned char button_down
Indicates whether or not a button is currently depressed.
Definition: scriptel-proscript.h:324
scriptel_device::path
char * path
The path to the device.
Definition: scriptel-proscript.h:290
scriptel_device::user_defined
void * user_defined
A null pointer that can be used by libraries to attach information to the device as it's passed aroun...
Definition: scriptel-proscript.h:351
scriptel_device::open
unsigned char open
Indicates whether or not the device is in the open state.
Definition: scriptel-proscript.h:319
scriptel_device::display_info
scriptel_hid_feature_display_info display_info
Cached display information from the device at open time.
Definition: scriptel-proscript.h:333
scriptel_device::input_callbacks
scriptel_list * input_callbacks
A list of input callbacks, these will be called when input is received from the device.
Definition: scriptel-proscript.h:346
scriptel_device::version_info
scriptel_hid_feature_version version_info
Cached version information from the device at open time.
Definition: scriptel-proscript.h:337
scriptel_device::product_id
unsigned short product_id
The product id of this device as returned by the operating system's HID driver.
Definition: scriptel-proscript.h:295
scriptel_device::vendor_id
unsigned short vendor_id
The vendor id of this device as returned by the operating system's HID driver.
Definition: scriptel-proscript.h:300
scriptel_device::uuid
unsigned char * uuid
The 16-byte universally unique identifier of this device.
Definition: scriptel-proscript.h:315
scriptel_device::parameters
scriptel_device_os_params parameters
Operating system specific parameters required to interact with the device.
Definition: scriptel-proscript.h:376
scriptel_device::driver
scriptel_device_driver * driver
The driver that can be used to talk to this device.
Definition: scriptel-proscript.h:359
scriptel_device::model
char * model
The textual name of the device as returned by the operating system's HID driver.
Definition: scriptel-proscript.h:305
scriptel_device::driver_defined
void * driver_defined
A pointer to anything that a specific driver/plugin may need to manage a device.
Definition: scriptel-proscript.h:365
scriptel_device::manufacturer
char * manufacturer
The textual name of the manufacturer as returned by the operating system's HID driver.
Definition: scriptel-proscript.h:310
scriptel_hid_capabilities
This structure describes the capabilities report of a ScripTouch device.
Definition: scriptel-hid-reports.h:1329
scriptel_hid_feature_asic_reset
This structure allows the reset of a device ASIC.
Definition: scriptel-hid-reports.h:1810
scriptel_hid_feature_calibrate
This structure contains information about whether or not the device is currently calibrating.
Definition: scriptel-hid-reports.h:2757
scriptel_hid_feature_calibration_data
This report contains information about the current calibration state of a ScripTouch device.
Definition: scriptel-hid-reports.h:2230
scriptel_hid_feature_contact_count_maximum
This report is capable of retrieving the maximum number of track-able contacts in a multi-touch digit...
Definition: scriptel-hid-reports.h:1483
scriptel_hid_feature_coordinate_range
This report is capable of getting the coordinate range from the device.
Definition: scriptel-hid-reports.h:1582
scriptel_hid_feature_device_configure
This report is capable of getting the device configuration.
Definition: scriptel-hid-reports.h:1464
scriptel_hid_feature_device_status
This report contains information about a ScripTouch device's current running state.
Definition: scriptel-hid-reports.h:2163
scriptel_hid_feature_display_chunk
This structure contains information about a raster that should be displayed on the screen of a device...
Definition: scriptel-hid-reports.h:2425
scriptel_hid_feature_display_content
This structure contains information related to display content.
Definition: scriptel-hid-reports.h:2373
scriptel_hid_feature_display_info
This structure contains static information about a device's display and capabilities.
Definition: scriptel-hid-reports.h:2331
scriptel_hid_feature_display_settings
This structure contains information about dynamic display settings.
Definition: scriptel-hid-reports.h:2387
scriptel_hid_feature_download_command_status
This report indicates to the device that a firmware update session has been completed.
Definition: scriptel-hid-reports.h:1708
scriptel_hid_feature_edit_screen
Structure that can be used to modify a screen.
Definition: scriptel-hid-reports.h:3435
scriptel_hid_feature_error_correction_table
This report is capable of getting and setting the internal error correction table on the device.
Definition: scriptel-hid-reports.h:1639
scriptel_hid_feature_firmware_download
This report is capable of uploading a new page of firmware to the device.
Definition: scriptel-hid-reports.h:1608
scriptel_hid_feature_frequency_amplitude
This report contains ASIC frequency and amplitude settings.
Definition: scriptel-hid-reports.h:1497
scriptel_hid_feature_general_parameters
This report gets and sets general digitizer parameters for the device.
Definition: scriptel-hid-reports.h:1752
scriptel_hid_feature_guid
16 byte char array holding the guid value for the device.
Definition: scriptel-hid-reports.h:1653
scriptel_hid_feature_operating_modes
This report gets the supported operating modes of the device.
Definition: scriptel-hid-reports.h:1722
scriptel_hid_feature_output_parameters
This structure contains information about output configuration.
Definition: scriptel-hid-reports.h:2052
scriptel_hid_feature_pen_parameters
This structure contains information about pen parameters.
Definition: scriptel-hid-reports.h:1860
scriptel_hid_feature_peripheral_configuration
This structure contains information about peripheral configuration.
Definition: scriptel-hid-reports.h:2085
scriptel_hid_feature_pixel_values
This structure contains pixel information for getting or setting a portion of the screen.
Definition: scriptel-hid-reports.h:1954
scriptel_hid_feature_power_state
This report is capable of getting and setting the ASIC power state.
Definition: scriptel-hid-reports.h:1546
scriptel_hid_feature_region_update
This structure describes an update to a region.
Definition: scriptel-hid-reports.h:2649
scriptel_hid_feature_register_get
This structure contains information from an ASIC register.
Definition: scriptel-hid-reports.h:1828
scriptel_hid_feature_register_set
This structure allows setting of ASIC registers.
Definition: scriptel-hid-reports.h:1842
scriptel_hid_feature_resource_availability
Defines a structure that represents the amount of open resources on the device.
Definition: scriptel-hid-reports.h:2936
scriptel_hid_feature_resource_info
Definition: scriptel-hid-reports.h:2790
scriptel_hid_feature_resource
Defines a structure for a resource on the device.
Definition: scriptel-hid-reports.h:2855
scriptel_hid_feature_screen_region_info
Describes a structure that gets the screen and region limitations of the current device.
Definition: scriptel-hid-reports.h:3501
scriptel_hid_feature_screen
Structure that can be used to get or set a screen on the device.
Definition: scriptel-hid-reports.h:3329
scriptel_hid_feature_serial_number
This report is capable of getting and setting the internal serial number on the device.
Definition: scriptel-hid-reports.h:1668
scriptel_hid_feature_touch_parameters
This structure contains information about touch parameters.
Definition: scriptel-hid-reports.h:1986
scriptel_hid_feature_tuning_status
Definition: scriptel-hid-reports.h:1516
scriptel_hid_feature_version
This report is capable of getting the device version information.
Definition: scriptel-hid-reports.h:1560
scriptel_pen_coordinate
Definition: scriptel-hid-reports.h:3604
scriptel_device_region_info
This union contains all types of regions.
Definition: scriptel-hid-reports.h:2613
scriptel_hid_feature_region
This union contains all region information.
Definition: scriptel-hid-reports.h:3299
scriptel_input_report
This union contains all valid input report types.
Definition: scriptel-hid-reports.h:3728