Linux Kernel
3.7.1
|
#include <linux/kernel.h>
#include <linux/input.h>
#include <linux/input/sparse-keymap.h>
#include <linux/acpi.h>
#include <linux/backlight.h>
#include <linux/slab.h>
#include <linux/module.h>
Go to the source code of this file.
Macros | |
#define | pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
#define | DRV_NAME "msi-wmi" |
#define | MSIWMI_BIOS_GUID "551A1F84-FBDD-4125-91DB-3EA8F44F1D45" |
#define | MSIWMI_EVENT_GUID "B6F3EEF2-3D2F-49DC-9DE3-85BCE18C62F2" |
#define | SCANCODE_BASE 0xD0 |
#define | MSI_WMI_BRIGHTNESSUP SCANCODE_BASE |
#define | MSI_WMI_BRIGHTNESSDOWN (SCANCODE_BASE + 1) |
#define | MSI_WMI_VOLUMEUP (SCANCODE_BASE + 2) |
#define | MSI_WMI_VOLUMEDOWN (SCANCODE_BASE + 3) |
#define | MSI_WMI_MUTE (SCANCODE_BASE + 4) |
Functions | |
MODULE_AUTHOR ("Thomas Renninger <[email protected]>") | |
MODULE_DESCRIPTION ("MSI laptop WMI hotkeys driver") | |
MODULE_LICENSE ("GPL") | |
MODULE_ALIAS ("wmi:551A1F84-FBDD-4125-91DB-3EA8F44F1D45") | |
MODULE_ALIAS ("wmi:B6F3EEF2-3D2F-49DC-9DE3-85BCE18C62F2") | |
module_init (msi_wmi_init) | |
module_exit (msi_wmi_exit) | |
#define MSI_WMI_BRIGHTNESSDOWN (SCANCODE_BASE + 1) |
#define MSI_WMI_BRIGHTNESSUP SCANCODE_BASE |
#define MSI_WMI_MUTE (SCANCODE_BASE + 4) |
#define MSI_WMI_VOLUMEDOWN (SCANCODE_BASE + 3) |
#define MSI_WMI_VOLUMEUP (SCANCODE_BASE + 2) |
#define MSIWMI_BIOS_GUID "551A1F84-FBDD-4125-91DB-3EA8F44F1D45" |
#define MSIWMI_EVENT_GUID "B6F3EEF2-3D2F-49DC-9DE3-85BCE18C62F2" |
MODULE_ALIAS | ( | "wmi:551A1F84-FBDD-4125-91DB-3EA8F44F1D45" | ) |
MODULE_ALIAS | ( | "wmi:B6F3EEF2-3D2F-49DC-9DE3-85BCE18C62F2" | ) |
MODULE_AUTHOR | ( | "Thomas Renninger <[email protected]>" | ) |
MODULE_DESCRIPTION | ( | "MSI laptop WMI hotkeys driver" | ) |
module_exit | ( | msi_wmi_exit | ) |
module_init | ( | msi_wmi_init | ) |
MODULE_LICENSE | ( | "GPL" | ) |