Handbook Glossary
factorcode.org
ff_periodic_effect


Vocabulary
linux.input-events.ffi

Definition
USING: classes.struct unix.types ;

IN: linux.input-events.ffi

STRUCT: ff_periodic_effect
{ waveform __u16 initial: 0 } { period __u16 initial: 0 }
{ magnitude __s16 initial: 0 } { offset __s16 initial: 0 }
{ phase __u16 initial: 0 } {
envelope ff_envelope initial: S{ ff_envelope
{ attack_length 0 }
{ attack_level 0 }
{ fade_length 0 }
{ fade_level 0 }
}
} { custom_len __u32 initial: 0 } { custom_data __s16* } ;


Methods
USING: classes.struct classes.struct.private kernel
linux.input-events.ffi ;

M: ff_periodic_effect clone
clone-underlying \ ff_periodic_effect memory>struct ; inline


USING: accessors classes.struct combinators combinators.smart
linux.input-events.ffi ;

M: ff_periodic_effect struct-slot-values
[
{
[ waveform>> ]
[ period>> ]
[ magnitude>> ]
[ offset>> ]
[ phase>> ]
[ envelope>> ]
[ custom_len>> ]
[ custom_data>> ]
} cleave
] output>array ; inline