---
name: "struct_input_handle"
section: "9"
platform: "linux"
package: "linux-manual-3.16"
version: "3.16.56-1+deb8u1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/struct_input_handle"
---

# struct\_input\_handle(9)

links input device with an input handler

## NAME

struct\_input\_handle - links input device with an input handler

## SYNOPSIS

```
struct input_handle {
  void * private;
  int open;
  const char * name;
  struct input_dev * dev;
  struct input_handler * handler;
  struct list_head d_node;
  struct list_head h_node;
};
```

## MEMBERS

private

handler-specific data

open

counter showing whether the handle is 'open', i.e. should deliver events from its device

name

name given to the handle by handler that created it

dev

input device the handle is attached to

handler

handler that works with the device through this handle

d\_node

used to put the handle on device's list of attached handles

h\_node

used to put the handle on handler's list of handles from which it gets events

## COPYRIGHT
