Coder Social home page Coder Social logo

hidman's Introduction

HIDman

USB HID to PS/2 converter

This is a project to develop a device to adapt USB HID devices (keyboards, mice, joysticks) to work on PCs that support PS/2 devices.

Currently only PS/2 computers are supported but plans are underway to support computers that require serial mice and XT keyboards.

As a bonus, it allows you to connect a USB game controller and have it emulate a PS/2 keyboard and mouse - this allows you to use a gamepad to play games that never had joystick support.

Technical description

The HIDman is based around the CH559 from WCH, a remarkably flexible chip with two USB HOST ports. This makes it ideal for our purposes.

The code is forked from atc1441's excellent repository - https://github.com/atc1441/CH559sdccUSBHost

PCB and enclosure was designed in KiCad - source files are in the hardware directory.

Development is very active but it is usable in its current state.

hidman's People

Contributors

hkr avatar rasteri avatar serisman avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

hidman's Issues

Collaboration request for Gamepad/Joystick to UART

Hi, I found your repository. I was working on a similar project, however to convert USB gamepads and joysticks to a specific UART protocol (SERaero) in order o use it to control RC models. I paid a developer to adapt the UART output to the SERaero, however it is not perfect and the guy has no more time. I‘m not a coder, so looking for others working on the CH559. Would you be interested to join the projects?

How to build from source?

Hello, thanks for sharing, but I can´t get the source compiled under Linux or Windows.

make
sdcc -c -V -mmcs51 --model-large --stack-auto --xram-size 0x1600 --xram-loc 0x0200 --code-size 0xEFFF -I/ -DFREQ_SYS=48000000 -DBOARD_AXP -DOPT_DEFAULT -o build/main.rel main.c

  • F:\SDCC\bin\sdcpp.exe -nostdinc -Wall -std=c11 -I"/" -D"FREQ_SYS=48000000" -D"BOARD_AXP" -D"OPT_DEFAULT" -obj-ext=.rel -D__SDCC_STACK_AUTO -D__SDCC_CHAR_UNSIGNED -D__SDCC_MODEL_LARGE -D__SDCC_INT_LONG_REENT -D__SDCC_FLOAT_REENT -D__SDCC=3_6_0 -D__SDCC_VERSION_MAJOR=3 -D__SDCC_VERSION_MINOR=6 -D__SDCC_VERSION_PATCH=0 -DSDCC=360 -D__SDCC_REVISION=9615 -D__SDCC_mcs51 -D__STDC_NO_COMPLEX__=1 -D__STDC_NO_THREADS__=1 -D__STDC_NO_ATOMICS__=1 -D__STDC_NO_VLA__=1 -D__STDC_ISO_10646__=201409L -D__STDC_UTF_16__=1 -D__STDC_UTF_32__=1 -isystem "F:\SDCC\bin..\include\mcs51" -isystem "F:\SDCC\bin..\include" "main.c"
    main.c:163: syntax error: token -> 'uint32_t' ; column 12
    main.c:169: syntax error: token -> 'uint8_t' ; column 11
    main.c:183: syntax error: token -> 'uint8_t' ; column 15
    (tons of other errors)

Versions:
SDCC -v
SDCC : mcs51/z80/z180/r2k/r3ka/gbz80/tlcs90/ds390/TININative/ds400/hc08/s08/stm8 3.5.0 #9253 (Apr 3 2018) (Linux)
SDCC : mcs51/z80/z180/r2k/r3ka/gbz80/tlcs90/ds390/pic16/pic14/TININative/ds400/hc08/s08/stm8 3.6.0 #9615 (MINGW32)

Thanks

Possible to output combined keyboard and mouse? (re: weeCee PS/2 input)

Thanks for the excellent project!

Would you consider adding a feature (to both the 'legacy' PS2 and newer AXP versions) to output both keyboard and mouse on a single PS/2 cable? For example, your weeCee only has a single PS/2 input and requires both signals on the same cable.

Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.