hgame.h (d97d5c0ce89da10c1de150e0555774dec2ed7aed) | hgame.h (51b2216114546bb13b13002b29fb1263e600a0fc) |
---|---|
1/*- 2 * SPDX-License-Identifier: BSD-2-Clause-FreeBSD 3 * 4 * Copyright (c) 2020 Vladimir Kondratyev <wulf@FreeBSD.org> 5 * Copyright (c) 2020 Greg V <greg@unrelenting.technology> 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions --- 17 unchanged lines hidden (view full) --- 26 * SUCH DAMAGE. 27 */ 28 29#ifndef _HID_HGAME_H_ 30#define _HID_HGAME_H_ 31 32#include <dev/hid/hidmap.h> 33 | 1/*- 2 * SPDX-License-Identifier: BSD-2-Clause-FreeBSD 3 * 4 * Copyright (c) 2020 Vladimir Kondratyev <wulf@FreeBSD.org> 5 * Copyright (c) 2020 Greg V <greg@unrelenting.technology> 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions --- 17 unchanged lines hidden (view full) --- 26 * SUCH DAMAGE. 27 */ 28 29#ifndef _HID_HGAME_H_ 30#define _HID_HGAME_H_ 31 32#include <dev/hid/hidmap.h> 33 |
34hidmap_cb_t hgame_hat_switch_cb; |
|
34hidmap_cb_t hgame_dpad_cb; 35hidmap_cb_t hgame_final_cb; 36 37struct hgame_softc { 38 struct hidmap hm; 39 bool dpad_up; 40 bool dpad_down; 41 bool dpad_right; 42 bool dpad_left; 43}; 44 45#endif /* !_HGAME_H_ */ | 35hidmap_cb_t hgame_dpad_cb; 36hidmap_cb_t hgame_final_cb; 37 38struct hgame_softc { 39 struct hidmap hm; 40 bool dpad_up; 41 bool dpad_down; 42 bool dpad_right; 43 bool dpad_left; 44}; 45 46#endif /* !_HGAME_H_ */ |