File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -202,6 +202,7 @@ impl<T> Win32Keyboard<T> {
202202 let is_win11 = winver >= ( 10 , 0 , 22621 ) . into ( ) ;
203203 // let at_least_23_h2 = winver >= (10, 0, 22621).into();
204204 let at_least_24_h2 = winver >= ( 10 , 0 , 22632 ) . into ( ) ;
205+ let at_least_25_h2 = winver >= ( 10 , 0 , 26200 ) . into ( ) ;
205206 info ! (
206207 "Loading keyboard for {} build {}" ,
207208 if is_win11 { "Win11" } else { "Win10" } ,
@@ -249,7 +250,11 @@ impl<T> Win32Keyboard<T> {
249250 ) ; // todo: repalce with pelite sig
250251 }
251252
252- ( sig, muddy ! ( "win32k.sys" ) , 0x824F0 , 0x3808 ) // 24H2 win32k.sys + 0x824F0
253+ if at_least_25_h2 {
254+ ( sig, muddy ! ( "win32k.sys" ) , 0x86678 , 0x3808 ) // 25H2 win32k.sys + 0x86678
255+ } else {
256+ ( sig, muddy ! ( "win32k.sys" ) , 0x824F0 , 0x3808 ) // 24H2 win32k.sys + 0x824F0
257+ }
253258 } else {
254259 /*
255260 +0x1260 int64_t SGDGetSessionState()
You can’t perform that action at this time.
0 commit comments