Commit Graph

111 Commits

Author SHA1 Message Date
Tau
364267ba66 Use amex_hook_init() 2019-05-04 12:04:53 -04:00
Tau
c5758ac374 amex/amex.c: Add amex_hook_init() helper 2019-05-04 12:04:38 -04:00
Tau
9603a528c6 idzio: Break out Initial D Zero IO DLL 2019-05-03 21:23:21 -04:00
Tau
b172c22322 board/sg-reader.c: Streamline further
Remove remaining pointless boilerplate, turn it into a free-
standing hook, since its aimeio.dll dependency forces it to be a
singleton anyway.
2019-05-03 21:23:21 -04:00
Tau
8158d01ed9 board/io3.c: Tweak ADC polling interface 2019-05-03 21:23:21 -04:00
Tau
5e823a9e22 Rename slider-hook files to slider 2019-05-03 15:59:51 -04:00
Tau
2405526f35 divaio: Break out Project Diva IO DLL 2019-05-03 15:50:37 -04:00
Tau
46ab6c3d96 chuniio: Break out Chunithm IO DLL 2019-05-03 14:46:58 -04:00
Tau
23257f272e board/slider-cmd: Simplify RGB message def 2019-05-02 22:11:54 -04:00
Tau
ee39a94bde board/io3.c: Add capabilities comment 2019-05-02 19:41:04 -04:00
Tau
0271abb21e board/io3.c: Fix JVS coin counter emulation 2019-05-02 19:38:39 -04:00
Tau
025102fc58 Remove PCH source files
Deprecated in newer versions of Meson.
2019-05-01 21:17:30 -04:00
Tau
a3aa3ed92a subprojects: Bump capnhook dependency
Upstream has been updated slightly to deal with newer Meson.
2019-05-01 21:16:51 -04:00
Tau
c42b70b2c2 util/clock.c: Block SetLocalTime 2019-05-01 21:12:13 -04:00
Tau
f6a2e64df2 amex/gpio.c: Make DIPSW configurable 2019-05-01 21:12:13 -04:00
Tau
706262ce37 idzhook: Steer with both sticks 2019-05-01 21:12:13 -04:00
Tau
821e7f0704 idzhook: Simulate six-speed shifter 2019-04-08 14:25:45 -04:00
Tau
2b50369ad2 platform/hwmon.c: Suppress logging
We don't really care exactly when the CPU temp gets checked.
2019-03-27 18:46:22 -04:00
Tau
2df92f7492 util/async.c: Small locking fix 2019-03-16 12:47:55 -04:00
Tau
657367c040 platform/pcbid.c: Add ALLS hostname hook 2019-03-16 12:17:41 -04:00
Tau
24b82b64e6 divahook: Add initial Project Diva hook 2019-03-16 12:17:41 -04:00
Tau
690f96f276 amex/ds.c: Rename ds.txt to pcbid.txt
ALLS hardware does not have a DS EEPROM or indeed even an AMEX. It
uses the Windows hostname instead. We'd like to use the same file
name for both use cases, so let's change the file name to be
something more generic.
2019-03-16 12:17:41 -04:00
Tau
9924bf6018 amex/ds.c: Remove redundant OVERLAPPED handling
capnhook handles this common case by itself.
2019-03-16 12:17:41 -04:00
Tau
27663b4b19 board/sg-reader.c: Push down aimeio.dll calls
This is kind of a layer break but the alternative is way too much
boilerplate to deal with.
2019-03-16 11:42:36 -04:00
Tau
458bf5b3de subprojects: Bump capnhook dep
Use a pre-release commit of capnhook that lets us hook HID.DLL
without getting blown up by apisets.
2019-03-15 22:17:00 -04:00
Tau
8f8d7c6a22 idzhook: Add initial XInput-backed IDZero hook 2019-03-08 10:07:48 -05:00
Tau
b550efd4a9 zinput: Add stub DirectInput implementation
Initial D Zero has some incomplete built-in PC input support, we
need to disable it so that it does not interfere with our JVS
emulation.
2019-03-08 10:07:48 -05:00
Tau
9ae07c6e49 Add xinput.h to PCH 2019-03-08 10:07:48 -05:00
Tau
463d55cddc board/io3.c: Use IO-4 GPIO output count
Supposedly the IO-4's JVS interface presents the exact same
capabilities as the IO-3 except that it purports to have a massive
number of GPIO outputs (20 ports, each port having 8 bits). So
we'll just make our emulated IO-3 look like an IO-4 then.
2019-03-08 10:07:48 -05:00
Tau
5eef0455a2 board/io3.c: Fix analog input endianness 2019-03-08 10:07:48 -05:00
Tau
72f28e40b0 amex/ds.c: Read optional region code 2019-03-04 18:39:37 -05:00
Tau
bc297b2480 Split libnu into libplatform, libamex
Going to add some ALLS stuff to libplatform and the ALLS hardware
does not contain an AMEX board.
2019-03-04 17:22:38 -05:00
Tau
727ce5171f Add XInput dependency 2019-03-04 16:47:32 -05:00
Tau
0806282bbf board/guid.c: Add HID class GUID 2019-03-04 16:47:32 -05:00
Tau
ba8b8e32fc util/async.c: Add async IO worker thread
Need this for IO4 USB emulation, might break it out and upstream it
to Capnhook at some point as well.
2019-03-04 16:47:32 -05:00
Tau
2be3647089 Enable Windows Vista+ Win32 APIs
I'd like to have condition variables.
2019-03-04 16:47:32 -05:00
Tau
39d1b89b1b util/dprintf.c: Make dprintf() thread safe 2019-03-04 16:47:32 -05:00
Tau
65d24c1ada util/setupapi.c: Avoid clashes with real devices
We're going to need this for HID emulation, since unlike all the
other device classes regular PCs do actually have a bunch of HIDs
attached to them that we're going to want to access from within
the hooked process.
2019-02-27 21:56:10 -05:00
Tau
243914f23a cardhook/_com12.c: Rebase onto sg-reader 2019-02-26 13:52:45 -05:00
Tau
bc2928804c board/sg-reader.c: Factor out NFC ass'y emu
Combine the NFC module emulator with the LED module emulator and
a virtual UART to build a higher-level reusable building block.
2019-02-26 13:49:29 -05:00
Tau
662bfa55ec aimeio: Factor out emulated reader assembly app logic 2019-02-26 13:49:29 -05:00
Tau
2cbb18604b board/sg-led.c: Remove error path from update cmd
No way to return it to the host application anyway since this
command is unacknowledged.
2019-02-26 13:49:29 -05:00
Tau
8606d17699 board/sg-nfc.c: Pass UID consistently
If we receive it from the upper ops layer then we should send it
back as well.
2019-02-26 13:49:29 -05:00
Tau
bbe085b73d board/slider-cmd.h: Add separate Diva LED cmd
The Chunithm slider has sixteen cells and fifteen (I think?)
vertical lines splitting the cells. Diva does not have these lines,
so presumably the LED data format is different. Need to analyze
this further.
2019-02-26 13:49:29 -05:00
Tau
05ccf363d9 board/meson.build: Fix sorting 2019-02-26 13:49:29 -05:00
Tau
8036ff71ec board: Factor out Chunithm slider 2019-01-26 12:05:37 -05:00
Tau
6416ef6e95 nu/nusec.c: Don't log security pings 2019-01-17 13:59:02 -05:00
Tau
ee011a74d4 Make dprintfs 64-bit clean 2018-12-17 17:34:50 -05:00
Tau
755be05603 board/sg-nfc.c: Use non-hardcoded UID
Turns out this does in fact vary between cards, even though its
actual value is unimportant.
2018-12-17 17:34:50 -05:00
Tau
9159be00a2 Add HW,FW notes on NFC assembly 2018-11-28 11:49:55 -05:00