mac_hid.c (894d2491153a9f8270dbed21175d06fde4eba6c7) mac_hid.c (6d4561110a3e9fa742aeec6717248a491dfb1878)
1/*
2 * drivers/macintosh/mac_hid.c
3 *
4 * HID support stuff for Macintosh computers.
5 *
6 * Copyright (C) 2000 Franz Sirl.
7 *
8 * This file will soon be removed in favor of an uinput userspace tool.

--- 17 unchanged lines hidden (view full) ---

26#if defined(CONFIG_SYSCTL)
27/* file(s) in /proc/sys/dev/mac_hid */
28static ctl_table mac_hid_files[] = {
29 {
30 .procname = "mouse_button_emulation",
31 .data = &mouse_emulate_buttons,
32 .maxlen = sizeof(int),
33 .mode = 0644,
1/*
2 * drivers/macintosh/mac_hid.c
3 *
4 * HID support stuff for Macintosh computers.
5 *
6 * Copyright (C) 2000 Franz Sirl.
7 *
8 * This file will soon be removed in favor of an uinput userspace tool.

--- 17 unchanged lines hidden (view full) ---

26#if defined(CONFIG_SYSCTL)
27/* file(s) in /proc/sys/dev/mac_hid */
28static ctl_table mac_hid_files[] = {
29 {
30 .procname = "mouse_button_emulation",
31 .data = &mouse_emulate_buttons,
32 .maxlen = sizeof(int),
33 .mode = 0644,
34 .proc_handler = &proc_dointvec,
34 .proc_handler = proc_dointvec,
35 },
36 {
37 .procname = "mouse_button2_keycode",
38 .data = &mouse_button2_keycode,
39 .maxlen = sizeof(int),
40 .mode = 0644,
35 },
36 {
37 .procname = "mouse_button2_keycode",
38 .data = &mouse_button2_keycode,
39 .maxlen = sizeof(int),
40 .mode = 0644,
41 .proc_handler = &proc_dointvec,
41 .proc_handler = proc_dointvec,
42 },
43 {
44 .procname = "mouse_button3_keycode",
45 .data = &mouse_button3_keycode,
46 .maxlen = sizeof(int),
47 .mode = 0644,
42 },
43 {
44 .procname = "mouse_button3_keycode",
45 .data = &mouse_button3_keycode,
46 .maxlen = sizeof(int),
47 .mode = 0644,
48 .proc_handler = &proc_dointvec,
48 .proc_handler = proc_dointvec,
49 },
50 { }
51};
52
53/* dir in /proc/sys/dev */
54static ctl_table mac_hid_dir[] = {
55 {
56 .procname = "mac_hid",

--- 92 unchanged lines hidden ---
49 },
50 { }
51};
52
53/* dir in /proc/sys/dev */
54static ctl_table mac_hid_dir[] = {
55 {
56 .procname = "mac_hid",

--- 92 unchanged lines hidden ---