Giter VIP home page Giter VIP logo

joyce-l10n-keyboard-patch's Introduction

joyce-l10n-keyboard-patch

The joyce-l10n-keyboard.patch is a patch to apply to the Amstrad PCW emulator from John Elliott, Joyce.

How to apply the patch

This patch has been tested against Joyce v2.2.12. You need Joyce sources.

# Download Joyce Unix sources
wget http://www.seasip.info/Unix/Joyce/joyce-2.2.12.tar.gz

# Extract the Joyce archive
tar xzvf joyce-2.2.12.tar.gz

# Enter the directory
cd joyce-2.2.12

Copy joyce-l10n-keyboard.patch in the joyce-2.2.12 directory.

You then need to use the Linux patch command.

# Patch JoycePcwKeyboard.cxx
patch bin/JoycePcwKeyboard.cxx joyce-l10n-keyboard.patch

You can now proceed with the standard way of compiling under Linux.

sh configure.sh
make
sudo make install

Why this patch?

Joyce considers the keyboard to be the default PC keyboard which causes problem with localized keyboards, such as french keyboard, when you use the localized version of PCW CP/M Plus or LocoScript in the emulator.

Joyce is not affected by the Gnome keyboard mapping. This means you usually would have to use setxkbmap to have a correct keyboard mapping:

# Use the default PC keyboard layout
setxkbmap us

# Use the localized french keyboard layout
setxkbmap fr -variant oss

But setxkbmap works globally. You have to switch back and forth between the layouts using command line.

The patch forces Joyce to use keyboard scancodes instead of SDL key symbols by providing a key map from scancodes to SDL key symbols.

joyce-l10n-keyboard-patch's People

Contributors

zigazou avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

joyce-l10n-keyboard-patch's Issues

Thank you!

I just found your patch: T H A N K Y O U !
I tested with 2.2.13 and it still works :D

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.