• Login
  • Register
  • Dolphin Forums
  • Home
  • FAQ
  • Download
  • Wiki
  • Code


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Emulator Discussion and Support › Development Discussion v
« Previous 1 ... 35 36 37 38 39 ... 116 Next »

Development - Setting up a new hotkey
View New Posts | View Today's Posts

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
Development - Setting up a new hotkey
04-08-2015, 04:59 AM (This post was last modified: 04-08-2015, 05:07 AM by llafnwod.)
#1
llafnwod Offline
Junior Member
**
Posts: 6
Threads: 3
Joined: Mar 2015
Hi folks,

[STORYTYME]
I noticed Dolphin had no function for z-axis camera rotation in Free Look, so I decided to make one.

I implemented the new matrix (MathUtil, VertexShaderManager), and replaced the mouse controlled y-axis rotation (Frame) with z-axis rotation to test it. Worked fine!
[/STORYTYME]

I'm having a lot of trouble finding out how to add a dedicated hotkey for it, though. I'm not familiar with wx, and trying to track down where the hotkeys are coming from is getting rabbit-holey.

I'd RTFM if Dolphin had one; I'm willing to figure it out myself, but if anyone feels like pointing me in the right direction and saving me a lot of time I'd appreciate it. Blush

Thanks!
Find
Reply
04-08-2015, 06:49 AM
#2
skid Offline
skidau / skid_au
**********
Developers (Some Administrators and Super Moderators)
Posts: 2,006
Threads: 8
Joined: Aug 2009
Yeh, I started a case-insensitive text search through the codebase for the string "freelook" and looked for everything that returned a freelook direction.

On revision 4669b50e2351830656e7d26ec2f0eec8b4740e69, these are the results:

Frame.cpp lines 1041, 1498
Globals.h line 299
HotkeyDlg.cpp line 230
ConfigManager.cpp line 83
CoreParameter.h line 54
HotKeyManager.cpp line 51
Find
Reply
« Next Oldest | Next Newest »


  • View a Printable Version
  • Subscribe to this thread
Forum Jump:


Users browsing this thread: 1 Guest(s)



Powered By MyBB | Theme by Fragma

Linear Mode
Threaded Mode