Skip to content

Commit 1097a5f

Browse files
committed
fix hut04
1 parent 18f4fcd commit 1097a5f

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/convert/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
#![allow(deprecated)]
22

33
mod generated_winput_to_hut {
4+
#[cfg(all(feature = "mirror_winput_vk", feature = "hut_03"))]
45
mod mirror_to_hut_03 {
56
use crate::mirror::winput::Vk;
67
use crate::deps::hut_03::{AsUsage, Button, Consumer, GenericDesktop, KeyboardKeypad, Usage};
78
include!("generated.Winput_to_HUT.rs");
89
}
910

11+
#[cfg(all(feature = "mirror_winput_vk", feature = "hut_04"))]
1012
mod mirror_to_hut_04 {
1113
use crate::mirror::winput::Vk;
1214
use crate::deps::hut_04::{AsUsage, Button, Consumer, GenericDesktop, KeyboardKeypad, Usage};

src/deps/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1+
#[cfg(feature = "hut_03")]
12
pub use ::hut_03;
3+
#[cfg(feature = "hut_04")]
24
pub use ::hut_04;
35
pub use hut_04 as hut;
46

0 commit comments

Comments
 (0)