cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

keyboard-pxa930_rotary.h (642B)


      1/* SPDX-License-Identifier: GPL-2.0 */
      2#ifndef __ASM_ARCH_PXA930_ROTARY_H
      3#define __ASM_ARCH_PXA930_ROTARY_H
      4
      5/* NOTE:
      6 *
      7 * rotary can be either interpreted as a ralative input event (e.g.
      8 * REL_WHEEL or REL_HWHEEL) or a specific key event (e.g. UP/DOWN
      9 * or LEFT/RIGHT), depending on if up_key & down_key are assigned
     10 * or rel_code is assigned a non-zero value. When all are non-zero,
     11 * up_key and down_key will be preferred.
     12 */
     13struct pxa930_rotary_platform_data {
     14	int	up_key;
     15	int	down_key;
     16	int	rel_code;
     17};
     18
     19void __init pxa930_set_rotarykey_info(struct pxa930_rotary_platform_data *info);
     20
     21#endif /* __ASM_ARCH_PXA930_ROTARY_H */