C-Scan-Constants

 view release on metacpan or  search on metacpan

t/include/input.h  view on Meta::CPAN

899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
#define FF_MAX          0x7f
 
#ifdef __KERNEL__
 
/*
 * In-kernel definitions.
 */
 
#include <linux/device.h>
#include <linux/fs.h>
#include <linux/timer.h>
#include <linux/mod_devicetable.h>
 
#define NBITS(x) (((x)/BITS_PER_LONG)+1)
#define BIT(x)  (1UL<<((x)%BITS_PER_LONG))
#define LONG(x) ((x)/BITS_PER_LONG)
 
#define INPUT_KEYCODE(dev, scancode) ((dev->keycodesize == 1) ? ((u8*)dev->keycode)[scancode] : \
        ((dev->keycodesize == 2) ? ((u16*)dev->keycode)[scancode] : (((u32*)dev->keycode)[scancode])))
 
#define SET_INPUT_KEYCODE(dev, scancode, val)                   \

t/include/input.h  view on Meta::CPAN

959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
unsigned long ffbit[NBITS(FF_MAX)];
unsigned long swbit[NBITS(SW_MAX)];
 
unsigned int keycodemax;
unsigned int keycodesize;
void *keycode;
 
struct ff_device *ff;
 
unsigned int repeat_key;
struct timer_list timer;
 
int state;
 
int sync;
 
int abs[ABS_MAX + 1];
int rep[REP_MAX + 1];
 
unsigned long key[NBITS(KEY_MAX)];
unsigned long led[NBITS(LED_MAX)];



( run in 0.244 second using v1.01-cache-2.11-cpan-3cd7ad12f66 )