Gets whether the device has the given input.
If the input is present, it means that the device can send events for it regardless of whether the device is mapped or not.
| this |
a device |
| type |
the input type |
| code |
the input code |
|
whether the device has the given input |