diff options
Diffstat (limited to 'include/linux/input.h')
| -rw-r--r-- | include/linux/input.h | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/include/linux/input.h b/include/linux/input.h index e428382ca28..056ae8a5bd9 100644 --- a/include/linux/input.h +++ b/include/linux/input.h | |||
| @@ -1154,8 +1154,6 @@ struct ff_effect { | |||
| 1154 | * sparse keymaps. If not supplied default mechanism will be used. | 1154 | * sparse keymaps. If not supplied default mechanism will be used. |
| 1155 | * The method is being called while holding event_lock and thus must | 1155 | * The method is being called while holding event_lock and thus must |
| 1156 | * not sleep | 1156 | * not sleep |
| 1157 | * @getkeycode_new: transition method | ||
| 1158 | * @setkeycode_new: transition method | ||
| 1159 | * @ff: force feedback structure associated with the device if device | 1157 | * @ff: force feedback structure associated with the device if device |
| 1160 | * supports force feedback effects | 1158 | * supports force feedback effects |
| 1161 | * @repeat_key: stores key code of the last key pressed; used to implement | 1159 | * @repeat_key: stores key code of the last key pressed; used to implement |
| @@ -1234,14 +1232,10 @@ struct input_dev { | |||
| 1234 | void *keycode; | 1232 | void *keycode; |
| 1235 | 1233 | ||
| 1236 | int (*setkeycode)(struct input_dev *dev, | 1234 | int (*setkeycode)(struct input_dev *dev, |
| 1237 | unsigned int scancode, unsigned int keycode); | 1235 | const struct input_keymap_entry *ke, |
| 1236 | unsigned int *old_keycode); | ||
| 1238 | int (*getkeycode)(struct input_dev *dev, | 1237 | int (*getkeycode)(struct input_dev *dev, |
| 1239 | unsigned int scancode, unsigned int *keycode); | 1238 | struct input_keymap_entry *ke); |
| 1240 | int (*setkeycode_new)(struct input_dev *dev, | ||
| 1241 | const struct input_keymap_entry *ke, | ||
| 1242 | unsigned int *old_keycode); | ||
| 1243 | int (*getkeycode_new)(struct input_dev *dev, | ||
| 1244 | struct input_keymap_entry *ke); | ||
| 1245 | 1239 | ||
| 1246 | struct ff_device *ff; | 1240 | struct ff_device *ff; |
| 1247 | 1241 | ||
