]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/game/input/xinput/xinput.factor
io.files.info.windows: Fix file-systems word in two ways. First, don't
[factor.git] / basis / game / input / xinput / xinput.factor
index 034c9490856eac081447b71fe47117900a41f106..70b5e14fa2ddb4d98cf99602822d305ad728d3ef 100644 (file)
@@ -1,7 +1,7 @@
 USING: game.input math math.order kernel macros fry sequences quotations
 arrays windows.directx.xinput combinators accessors windows.types
 game.input.dinput sequences.private namespaces classes.struct
-windows.errors windows.com.syntax io.encodings.utf16n alien.strings ;
+windows.errors windows.com.syntax alien.strings ;
 IN: game.input.xinput
 
 SINGLETON: xinput-game-input-backend
@@ -98,7 +98,7 @@ M: xinput-game-input-backend get-controllers
 M: xinput-game-input-backend product-string
     dup number?
     [ drop "Controller (Xbox 360 Wireless Receiver for Windows)" ]
-    [ handle>> device-info tszProductName>> utf16n alien>string ]
+    [ handle>> device-info tszProductName>> alien>native-string ]
     if ;
 
 M: xinput-game-input-backend product-id