![]() |
![]() |
#1 |
Registered User
Join Date: Mar 2021
Location: SWEDEN
Posts: 40
|
Right mouse button clicked
Does anyone have an example, how to read RMB click? (right mouse button)
|
![]() |
![]() |
#2 |
Registered User
Join Date: Jul 2015
Location: The Netherlands
Posts: 3,437
|
What I do is the following:
When you want to read the right mouse button: Code:
bit_mouseb2 EQU 10 lea.l $dff000,a6 btst #bit_mouseb2,potgor(a6) beq .right_button_pressed Code:
lea.l $dff000,a6 move.w #$cc00,potgo(a6) |
![]() |
![]() |
#3 |
Registered User
Join Date: Mar 2021
Location: SWEDEN
Posts: 40
|
great thanks.... reading bit 10 in $dff016 (potgor) seems to be working
![]() |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Focus active window to front when clicked with mouse | Loki762 | support.Other | 11 | 21 March 2021 06:04 |
Right mouse button check | dissident | Coders. Asm / Hardware | 2 | 14 June 2019 22:49 |
A2000 left mouse button use in workbench causes mouse to stop responding. | gary_nz | support.Hardware | 5 | 17 September 2017 10:03 |
Right mouse button not working? | NovaCoder | project.ClassicWB | 3 | 09 May 2011 06:26 |
Problem right mouse button | 3dfx4ever | support.Hardware | 3 | 17 February 2011 08:33 |
|
|