suse man page for struct_ff_periodic_effect

Query: struct_ff_periodic_effect

OS: suse

Section: 9

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

STRUCT
FF_PERIODIC_E(9) Input Subsystem STRUCT FF_PERIODIC_E(9)
NAME
struct_ff_periodic_effect - defines parameters of a periodic force-feedback effect
SYNOPSIS
struct ff_periodic_effect { __u16 waveform; __u16 period; __s16 magnitude; __s16 offset; __u16 phase; struct ff_envelope envelope; __u32 custom_len; __s16 __user * custom_data; };
MEMBERS
waveform kind of the effect (wave) period period of the wave (ms) magnitude peak value offset mean value of the wave (roughly) phase 'horizontal' shift envelope envelope data custom_len number of samples (FF_CUSTOM only) custom_data buffer of samples (FF_CUSTOM only)
DESCRIPTION
Known waveforms - FF_SQUARE, FF_TRIANGLE, FF_SINE, FF_SAW_UP, FF_SAW_DOWN, FF_CUSTOM. The exact syntax FF_CUSTOM is undefined for the time being as no driver supports it yet.
NOTE
the data pointed by custom_data is copied by the driver. You can therefore dispose of the memory after the upload/update.
COPYRIGHT
Kernel Hackers Manual 2.6. July 2010 STRUCT FF_PERIODIC_E(9)
Related Man Pages
fsynth(1) - debian
signalgen(1) - debian
struct_ccw_driver(9) - suse
struct_input_polled_dev(9) - suse
mlib_signalsinewaveinit_f32(3mlib) - sunos
Similar Topics in the Unix Linux Community
How to restrict user to a specific directory in solaris 10
Change directory error
Grant unprivileged user rights to see the output of echo|format but not modify disks
Cut command on RHEL 6.8 compatibility issues
SOCKS proxy & PAM configuration exposure