Author Topic: VICE keyboard mapping - need help  (Read 503 times)

0 Members and 1 Guest are viewing this topic.

Offline MIRKOSOFT

  • C128 user
  • ******
  • Posts: 785
  • Age: 33
  • Location: Zvolen
  • Activity:
    3.6%
  • Country: sk
  • Reputation: 188
  • Gender: Male
  • C128 programmer
  • With us since: 13/02/2009
    YearsYearsYearsYears
    • View Profile
    • MIRKOSOFT
VICE keyboard mapping - need help
« on: March 30, 2012, 11:21 AM »
Hi!

I have mapped this VICE SYM keyboard:

how to map this: (red labeled keys)

Thanks for every help, reply or comments.

Miro
« Last Edit: April 19, 2012, 11:10 PM by Hydrophilic »
MIRKOSOFT of megabytes

Commodore 64 was great, Commodore 128 is bigger, better, faster and more!!!

64ever 128her
sixty-for-ever one-twenty-either

C128 = C64² + more

http://www.mirkosoft.sk

Offline Hydrophilic

  • 128D user
  • *******
  • Posts: 1214
  • Age: 41
  • Location: Earth... still!
  • Activity:
    0%
  • Reputation: 232
  • Gender: Male
  • With us since: 25/01/2007
    YearsYearsYearsYearsYearsYears
    • View Profile
    • H2Obsesson
Re: VICE keyboard mapping - need help
« Reply #1 on: April 07, 2012, 04:29 AM »
Nice diagrams!
 
For the change to 0 key, look in your .vkm file for a line that reads
 
11 4 3 8
 
then change it to
 
11 4 3 40
 
and immediately below add this line
 
11 6 6 0
 
For the = key, I can only guess because I do not have a keyboard with a seperate = key...  I would imagine you would add lines like
 
n 6 5 40
n 6 6 1
 
where n is the keyscan code for your = key.  This will map the key to = when not shifted and to pi when it is shifted.  I don't know how you map C= shift value to keyscan codes to get <- ... in fact it does not seem possible which I find strange (the same goes for Control and Alt key shifting).
I'm kupo for kupo nuts!

Offline MIRKOSOFT

  • C128 user
  • ******
  • Posts: 785
  • Age: 33
  • Location: Zvolen
  • Activity:
    3.6%
  • Country: sk
  • Reputation: 188
  • Gender: Male
  • C128 programmer
  • With us since: 13/02/2009
    YearsYearsYearsYears
    • View Profile
    • MIRKOSOFT
Re: VICE keyboard mapping - need help
« Reply #2 on: April 09, 2012, 11:32 PM »
Hi Robert!

Many many thanks... it works fine.

Only problem with Commodore key mapping for = is true...

VICE keyboard layouts have not CBM key option...

Also, thank you very much

Miro
MIRKOSOFT of megabytes

Commodore 64 was great, Commodore 128 is bigger, better, faster and more!!!

64ever 128her
sixty-for-ever one-twenty-either

C128 = C64² + more

http://www.mirkosoft.sk

 



Back to top