Megalextoria
Retro computing and gaming, sci-fi books, tv and movies and other geeky stuff.

Home » Digital Archaeology » Computer Arcana » Commodore » Commodore 8-bit » Vice and keyboard mapping
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Vice and keyboard mapping [message #389565] Mon, 13 January 2020 21:41 Go to next message
Anonymous
Karma:
Originally posted by: nospam.Chicken.Head

So I've had this Ultima V itch I really need scratched. Back in the day in
1988 I played it on my trusty Commodore 64.

I can do it in Vice, but the default keyboard mapping is awful. Instead I've
been using AppleWin since at least the arrow keys do what they are supposed to
do.

How can you easily change the default keyboard mapping in Vice? "Symbolic"
just doesn't cut the mustard.

The AHK Gang! Live on Riot.im. When we feel like it.
Re: Vice and keyboard mapping [message #389568 is a reply to message #389565] Thu, 16 January 2020 11:20 Go to previous messageGo to next message
Anonymous
Karma:
Originally posted by: Pinku Basudei

On Tue, 14 Jan 2020 15:41:54 +1300
nospam.Chicken.Head@f1.n770.z688.fidonet.org (Chicken Head) wrote:

> How can you easily change the default keyboard mapping in Vice? "Symbolic"
> just doesn't cut the mustard.
>


Try positional mapping, there's a couple to choose from depending on your keyboard. Positional is not ideal either but it's much better than symbolic in my opinion.

--

/ Pinku
Re: Vice and keyboard mapping [message #389572 is a reply to message #389568] Sat, 18 January 2020 15:01 Go to previous messageGo to next message
Harry Potter is currently offline  Harry Potter
Messages: 1304
Registered: March 2012
Karma: 0
Senior Member
On Thursday, January 16, 2020 at 11:20:38 AM UTC-5, Pinku Basudei wrote:
> Try positional mapping, there's a couple to choose from depending on your keyboard. Positional is not ideal either but it's much better than symbolic in my opinion.
>
I agree, but there are times when symbolic mapping is preferable, such as that some keys are unavailable in positional mapping. :)
Re: Vice and keyboard mapping [message #389578 is a reply to message #389572] Mon, 20 January 2020 01:55 Go to previous messageGo to next message
Anonymous
Karma:
Originally posted by: Pinku Basudei

On Sat, 18 Jan 2020 12:01:27 -0800 (PST)
Harry Potter <rose.joseph12@yahoo.com> wrote:

> On Thursday, January 16, 2020 at 11:20:38 AM UTC-5, Pinku Basudei wrote:
>> Try positional mapping, there's a couple to choose from depending on your keyboard. Positional is not ideal either but it's much better than symbolic in my opinion.
>>
> I agree, but there are times when symbolic mapping is preferable, such as that some keys are unavailable in positional mapping. :)

I'd say I get that more with symbolic, C=, left arrow and so on, but I'm on a euro keyboard so that might have something to do with it. Or perhaps it's that I know where they're supposed to be on a real C64? :)

--

/ Pinku
Re: Vice and keyboard mapping [message #389579 is a reply to message #389568] Mon, 20 January 2020 08:26 Go to previous messageGo to next message
Tom Lake is currently offline  Tom Lake
Messages: 450
Registered: May 2012
Karma: 0
Senior Member
On Thursday, January 16, 2020 at 11:20:38 AM UTC-5, Pinku Basudei wrote:
> On Tue, 14 Jan 2020 15:41:54 +1300
> nospam.Chicken.Head@f1.n770.z688.fidonet.org (Chicken Head) wrote:
>
>> How can you easily change the default keyboard mapping in Vice? "Symbolic"
>> just doesn't cut the mustard.
>>
>
>
> Try positional mapping, there's a couple to choose from depending on your keyboard. Positional is not ideal either but it's much better than symbolic in my opinion.
>
> --
>
> / Pinku

Unless I have stickers that go on the keys, I like symbolic since I can never remember what keys do what functions with positional.

Tom L
Re: Vice and keyboard mapping [message #389602 is a reply to message #389565] Thu, 30 January 2020 08:00 Go to previous message
Tristan Miller is currently offline  Tristan Miller
Messages: 49
Registered: September 2003
Karma: 0
Member
Greetings.

On 14/01/2020 03.41, Chicken Head wrote:
> So I've had this Ultima V itch I really need scratched. Back in the day in
> 1988 I played it on my trusty Commodore 64.
>
> I can do it in Vice, but the default keyboard mapping is awful. Instead I've
> been using AppleWin since at least the arrow keys do what they are supposed to
> do.
>
> How can you easily change the default keyboard mapping in Vice? "Symbolic"
> just doesn't cut the mustard.


In VICE 3.3 (Gtk3), go to Settings->Settings...->Input devices->Keyboard
settings. In that dialog you will be able to specify a custom keymap
file. Default symbolic and positional keymap files are distributed as
part of VICE -- they're named gtk3_sym.vkm and gtk3_pos.vkm,
respectively. You can use these as a starting point to create your own
keymaps. The files themselves contain comments explaining the format
pretty thoroughly. Unfortunately, the format isn't particularly "easy"
though it is comprehensible with a little effort. Just look at some
example keycodes and cross-reference them with the keyboard matrix
diagrams included in the file.

If all you want to do is to remap your arrow keys to the default
movement keys in the C64/C128 version of Ultima V (if memory serves,
these are @ for up, / for down, : for left, and ; for right), then I
believe all you need to do is to find the lines in the keymap file
beginning "Up", "Down", "Left", and "Right", erase the three numbers
that follow those words, and replace them with the same three numbers
that follow the lines beginning "at", "slash", "colon", and "semicolon".

Regards,
Tristan

--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Tristan Miller
Free Software developer, ferret herder, logologist
https://logological.org/
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: emulating CBM-II 630 or 730 with intel 8088 board
Next Topic: New all sid ambient music collections
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Apr 24 21:06:39 EDT 2024

Total time taken to generate the page: 0.01298 seconds